transform_resample | R Documentation |
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" )
orig_freq |
(float, optional): The original frequency of the signal. (Default: |
new_freq |
(float, optional): The desired frequency. (Default: |
resampling_method |
(str, optional): The resampling method. (Default: |
forward param: waveform (Tensor): Tensor of audio of dimension (..., time).
Tensor: Output signal of dimension (..., time).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.