transform_vol {torchaudio} | R Documentation |
Add a volume to an waveform.
Description
Add a volume to an waveform.
Usage
transform_vol(gain, gain_type = "amplitude")
Arguments
gain |
(float): Interpreted according to the given gain_type:
If |
gain_type |
(str, optional): Type of gain. One of: |
Details
forward param: waveform (Tensor): Tensor of audio of dimension (..., time).
Value
Tensor: Tensor of audio of dimension (..., time).
[Package torchaudio version 0.3.1 Index]