functional_gain {torchaudio} | R Documentation |
Gain (functional)
Description
Apply amplification or attenuation to the whole waveform.
Usage
functional_gain(waveform, gain_db = 1)
Arguments
waveform |
(Tensor): Tensor of audio of dimension (..., time). |
gain_db |
(float, optional) Gain adjustment in decibels (dB) (Default: |
Value
tensor
: the whole waveform amplified by gain_db.
[Package torchaudio version 0.3.1 Index]