SignalShifter: Signal Shifter

Description Usage Arguments Details Value

View source: R/audio_aug_signal.R

Description

Randomly shifts the audio signal by 'max_pct'

Usage

1
2
3
4
5
6
7
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 July 28, 2021, 5:06 p.m.