Librosax

Spectral representations

stft(waveform, n_fft[, hop_length, ...])

Compute the Short-Time Fourier Transform (STFT) of a waveform.

istft(stft_matrix[, hop_length, win_length, ...])

Compute the Inverse Short-Time Fourier Transform (ISTFT).

Magnitude scaling

amplitude_to_db(S, *[, ref, amin, top_db])

Convert an amplitude spectrogram to decibel (dB) units.

power_to_db(x[, amin, top_db, ref])

Convert a power spectrogram to decibel (dB) units.

Frequency utilities

fft_frequencies(*[, sr, n_fft])

Alternative interface for jnp.fft.rfftfreq

Submodules

feature

Feature extraction

layers

Neural network layers