Normalize samples individually to unit norm. Each sample (i.e. each row of the data matrix) with at least one non zero component is rescaled independently of other samples so that its norm (l1, l2 or inf) equals one. This transformer is able to work both with dense numpy arrays and scipy.
Is it good to normalize audio?
Normalization can be a great tool for quickly boosting the level of a sample or recording without worrying about clipping. Remember this is just a relative boost of your signal, so no real processing is taking place. Your audio should come out sounding the same as it went in!
What does an audio normalizer do?
Audio normalization is a process that increases the level of a recording by a constant amount so that it reaches a target—or norm. Normalization applies the same level increase to the entire duration of an audio file.