Skip to main content

Module mel

Module mel 

Source
Expand description

Mel spectrogram computation matching Python whisper exactly.

Uses rustfft for STFT (matching torch.stft with center=True), pre-computed mel filterbank, and identical normalization.

Functionsยง

log_mel_spectrogram
Compute log-mel spectrogram matching Python whisper.audio.log_mel_spectrogram.