python-audio-effects icon indicating copy to clipboard operation
python-audio-effects copied to clipboard

vol() function does not work properly

Open tranctan opened this issue 4 years ago • 1 comments

Hi, i think the vol() function does not work properly.

Looking into the code, i can see that we have not used the gain parameters within the function. Please double check!

tranctan avatar Jul 17 '20 05:07 tranctan

Volume can be fixed by adding the following line:

def vol(self, gain, type="amplitude", limiter_gain=None):
        self.command.append("vol")
        self.command.append(gain) # FIX

prof-danielc avatar Jan 14 '22 10:01 prof-danielc