carlthome / python-audio-effects

Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.
MIT License
381 stars 52 forks source link

vol() function does not work properly #35

Open tranctan opened 3 years ago

tranctan commented 3 years ago

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!

prof-danielc commented 2 years ago

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