SpeechFeatures.jl

Speech features extractions in Julia
Author lucasondel
Popularity
6 Stars
Updated Last
1 Year Ago
Started In
April 2020

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

Used By Packages

No packages found.