SpeechFeatures is a Julia package for extracting acoustic features for speech technologies.
Test Status |
---|
See the changelog file to check what's new since the last release.
The package can be installed with the Julia package manager. From the Julia REPL, type ] to enter the Pkg REPL mode and run:
pkg> add SpeechFeatures
To get the MFCC features:
using SpeechFeatures
# x = ... extracted signal
# fs = ... sampling frequency
S, fftlen = stft(x; srate=fs) # Complex short-term spectrum.
fbank = filterbank(26; fftlen=fftlen)
mS = fbank * abs.(S) # Magnitude of the Mel-spectrum.
MFCCs = mfcc(mS; nceps=13) # Standard MFCCs.
MFCCs_Δ_ΔΔ = add_deltas(MFCCs; order=2) # MFCCs + 1st and 2nd order derivatives.
Have a look at the examples to get started.
Lucas Ondel, LISN 2021