def Normalize(cls, signal): """Normalizes a signal. Args: signal: AudioSegment instance. Returns: An AudioSegment instance. """ return signal.apply_gain(-signal.max_dBFS)
def normalize(cls, signal): return signal.apply_gain(-signal.max_dBFS)