A model does not hear audio. It looks at a picture of it: how much energy sits in which frequency band, moment by moment. Pick a feature block and watch the same sound become a different picture.
40 bands × time
The model reads this window asbackground
MFE
Mel-filterbank energies
A spectrogram on the mel scale, which spaces frequency bands the way hearing does. Described in the product as suiting both voice and non-voice audio.
Defaults
25 ms frames, 10 ms stride, 40 filters
Reach for it when
A sensible first block for non-speech sound: machinery, alarms, impacts, ambience.
A simulated sound: a knock, a tone with harmonics and room noise, drawn from formulas rather than a recording. Your classes come from your labels.
What the research saysWindow length is a compromise. Research tutorials note that harmonic sounds favour long windows and short, sharp transients favour short ones, which is why frame length is a setting rather than a constant. For context, log-mel inputs are the dominant choice in published sound event detection work, while MFCCs remain common for speech.
The answer decides which kind of learning block you reach for.
Classify
You can record every sound you care about.
You need
Labelled clips for each class, including a background class.
You get
A name for each window, among the classes you trained.
Blocks
1D convolution, 2D convolution, dense, transfer learning.
Limit
It can only answer with classes it has seen.
Detect anomalies
You can only record normal.
You need
Recordings of normal operation. Faults are rare, and rarely on demand.
You get
A score for how far a sound sits from normal.
Blocks
Gaussian mixture, K-means or autoencoder anomaly detection.
Limit
It says something is different, not what.
Record the sound the way it will be heard
Audio models are literal. They learn the room, the microphone and the background along with the event.
Record the quiet too
Give the model a background class made from the real room. It is how it learns what is not an event.
Use the deployed microphone
Different microphones colour the same sound differently. Record with the one that will be listening.
Vary distance and angle
A sound at one metre is not a sound at five. Cover the range the device will see.
Keep the sample rate consistent
Mixed rates blur what a frequency band means. Settle on one and use it everywhere, deployment included.
Include look-alikes
A door slam and a dropped crate share energy. Label the confusable ones so the model learns the difference.
Test somewhere new
Keep a test split from a different session or location, so the score reflects the world rather than the training room.
Where the model runs
A trained audio model is built into a package for the target you choose, with its feature-extraction settings, so raw audio on the device becomes the same features the model learned from.
Capturing audio on your device is part of your integration. Each target's page describes the package it produces.