Skip to content

lucasondel/SpeechFeatures.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpeechFeatures.jl

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.

Installation

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

Quick start

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.

Author

Lucas Ondel, LISN 2021