Normalization

Contents

Normalization#

class osekit.utils.audio_utils.Normalization(*values)#

Normalization to apply to the audio data.

RAW: No normalization is done.

DC_REJECT: Reject the DC component of the audio data.

PEAK: Divide the data by the absolute peak so that the peak value is 1.0.

ZSCORE: Normalize the data to a z-score with a mean of 0.0 and a std of 1.0.