transform_fade | R Documentation |
Add a fade in and/or fade out to an waveform.
transform_fade(fade_in_len = 0, fade_out_len = 0, fade_shape = "linear")
fade_in_len |
(int, optional): Length of fade-in (time frames). (Default: |
fade_out_len |
(int, optional): Length of fade-out (time frames). (Default: |
fade_shape |
(str, optional): Shape of fade. Must be one of: "quarter_sine",
"half_sine", "linear", "logarithmic", "exponential". (Default: |
forward param: waveform (Tensor): Tensor of audio of dimension (..., time).
Tensor: Tensor of audio of dimension (..., time).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.