You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After performing a volume gain, an amplitude normalization is performed again, which will cause the volume gain to fail.
# Normalize volume and limit gain range to between -3 and 3
normalized_audio = audio.apply_gain(min(max(gain, -3), 3))
waveform = np.array(normalized_audio.get_array_of_samples(), dtype=np.float32)
max_amplitude = np.max(np.abs(waveform))
waveform /= max_amplitude # Normalize
The text was updated successfully, but these errors were encountered:
After performing a volume gain, an amplitude normalization is performed again, which will cause the volume gain to fail.
The text was updated successfully, but these errors were encountered: