Examples

Spectrogram

using SpeechFeatures, AudioSources
datasource = URLAudioSource("https://catalog.ldc.upenn.edu/desc/addenda/LDC93S1.wav")
features = STFT() ∘ Frames()
X, props = features(load(datasource, true))

using Plots
heatmap(log.(abs.(X)))
Example block output

Change parameters for any feature

frames = Frames(frameduration=0.04, framestep=0.02)
X, props = frames(load(datasource, true))
size(X)
(640, 145)

Compose features easily

features = MFCC() ∘ FBANK() ∘ STFT() ∘ Frames()