Demo
Chapters
Core modules
Helpers
Advanced topics
Meta information
ttslearn.dsp.
logspectrogram
Compute log-spectrogram.
y (ndarray) – Waveform.
sr (int) – Sampling rate.
n_fft (int, optional) – FFT size.
hop_length (int, optional) – Hop length. Defaults to 12.5ms.
win_length (int, optional) – Window length. Defaults to 50 ms.
clip (float, optional) – Clip the magnitude. Defaults to 0.001.
Log-spectrogram.
numpy.ndarray