SignalShifter: Signal Shifter

View source: R/audio_aug_signal.R

SignalShifterR Documentation

Signal Shifter

Description

Randomly shifts the audio signal by 'max_pct'

Usage

SignalShifter(
  p = 0.5,
  max_pct = 0.2,
  max_time = NULL,
  direction = 0,
  roll = FALSE
)

Arguments

p

probability

max_pct

max percentage

max_time

maximum time

direction

direction

roll

roll or not

Details

direction must be -1(left) 0(bidirectional) or 1(right).

Value

None


fastai documentation built on June 22, 2024, 11:15 a.m.