functional_phaser.Rd
Apply a phasing effect to the audio. Similar to SoX implementation.
functional_phaser(
waveform,
sample_rate,
gain_in = 0.4,
gain_out = 0.74,
delay_ms = 3,
decay = 0.4,
mod_speed = 0.5,
sinusoidal = TRUE
)
(Tensor): audio waveform of dimension of (..., time)
(int): sampling rate of the waveform, e.g. 44100 (Hz)
(float): desired input gain at the boost (or attenuation) in dB. Allowed range of values are 0 to 1
(float): desired output gain at the boost (or attenuation) in dB. Allowed range of values are 0 to 1e9
(float): desired delay in milli seconds. Allowed range of values are 0 to 5.0
(float): desired decay relative to gain-in. Allowed range of values are 0 to 0.99
(float): modulation speed in Hz. Allowed range of values are 0.1 to 2
(bool): If TRUE
, uses sinusoidal modulation (preferable for multiple instruments).
If FALSE
, uses triangular modulation (gives single instruments a sharper phasing effect)
(Default: TRUE
)
tensor
: Waveform of dimension of (..., time)