transform_resample.Rd
Resample a signal from one frequency to another. A resampling method can be given.
transform_resample(
orig_freq = 16000,
new_freq = 16000,
resampling_method = "sinc_interpolation"
)
(float, optional): The original frequency of the signal. (Default: 16000
)
(float, optional): The desired frequency. (Default: 16000
)
(str, optional): The resampling method. (Default: 'sinc_interpolation'
)
Tensor: Output signal of dimension (..., time).
forward param: waveform (Tensor): Tensor of audio of dimension (..., time).