AI Acoustic Classification

AI Acoustic Classification turns recorded sound into a decision: which class does this sample belong to, and how confident is the model? The complete chain — annotating samples, training a model, running inference, and rolling the model out to a line station — runs inside Deepsona. No external analysis engine is required, and no measurement data has to leave your machine.

Typical uses are end-of-line pass/fail judgement (OK vs. whine vs. knock vs. rub), sorting a large archive of recordings by fault type, and screening for abnormal units when defective samples are too rare to label.

The workflow at a glance

The four stages form a loop: every batch you classify produces new material you can annotate and feed back into training, so the model improves as the product line accumulates data.

1. Annotate label WAV / HDF samples 2. Train ML.NET or Python 3. Infer ONNX model, per-class scores 4. Deploy batch runs, pipeline node new production recordings become new training material

Opening the workspace

Open the Start Menu and choose AI Classification. The workspace is a step-by-step wizard; the step indicator across the top shows where you are, and the arrow buttons on the right move between steps. You may jump directly to any step — for example, if you already have a trained model, go straight from Load Model to Classify and skip training entirely.

StepWhat it doesNeeded when
1. Load ModelSelect the .onnx file and optionally enable GPUAlways
2. Train ModelTurn a labelled folder into a modelOnly if you are building your own model
3. SettingsClass labels and score post-processingRecommended before the first run
4. ClassifyRun one file and inspect all class scoresVerification and single-sample work
5. Batch ClassifyRun a whole file list and export CSVArchive sorting, line reporting

Step 1 — Load Model

Browse to an ONNX model file. Deepsona reads the model's input and output signature and shows a short summary (for example Input: [1,1,16000] -> Output: [1,10] (10 classes)), so you can immediately confirm that the file is the model you intended and how many classes it predicts. Tick GPU (DirectML) to use the graphics card; if no compatible device is present the engine falls back to the CPU without an error.

Details of shape matching, activation options and the pre-trained Model Zoo are covered in ONNX Inference.

Step 2 — Train Model

Two training routes are offered side by side. ML.NET (zero-code) trains entirely inside Deepsona — you point it at a folder of labelled audio and press Start. Python (deep learning) hands the job to a PyTorch script; two ready-made templates (a CNN classifier and an autoencoder) can be exported with one click and customised. Both routes finish with a model file you load in Step 1.

See Annotation & Training for the folder layout, the data volume you need, and how to read the training metrics.

Step 3 — Settings

Enter the class labels as a comma-separated list, in the same order the model outputs them (for example OK, Whine, Knock, Rub). Without labels, results are reported as Class_0, Class_1, and so on — the prediction is still correct, only harder to read.

The post-processing options (Sigmoid, SoftMax, Winner Takes All, Temperature, Top-K) convert the model's raw output numbers into readable confidences. Defaults work for most models; the individual meanings are described in ONNX Inference.

Step 4 — Classify

Browse to a WAV or HEAD HDF file, or hand data over from the workspace, and press Run. The headline result shows the predicted class and its confidence, and below it every class is listed with a bar and a percentage — the winning class is shown in bold. Always look at the full list rather than the headline alone: two classes at 45 % and 43 % mean something very different from one class at 98 %.

Step 5 — Batch Classify

Add any number of WAV or HDF files, press Run Batch, and watch the progress bar. Each row of the table shows the file name, predicted label, confidence and status; failed files are marked individually instead of aborting the run. Export CSV writes the whole table (File, PredictedLabel, Confidence, Status) for use in a report or a quality database. Cancel stops a long run cleanly, keeping the rows already computed.

What data do you need?

Typical scenarios

ScenarioRecommended approach
End-of-line pass/fail with several known fault types Label samples per fault type, train a classifier, deploy with Batch Classify
Sorting a historical archive by fault type Load an existing model, run Batch Classify, export CSV and sort
Defects are rare or unknown in advance Anomaly detection — train on normal samples only
Few labelled samples, many unlabelled recordings Start with a pre-trained Model Zoo model or embeddings, then refine as labels accumulate
An AI result is an indication, not a measurement. Confidence values describe how strongly the model prefers one class over the others — they are not an error bound and not a physical quantity. For release decisions, pair the classification with the objective analyses (level, loudness, order spectra) that the rest of Deepsona provides.

Where to go next


© 2026 Deepsona. All Rights Reserved.