An offline desktop app that suggests UCS tags for sound effects and writes them into the file.
SonoCat is my thesis project, a desktop app that suggests UCS tags for sound-effect files so sound designers don’t have to sort their libraries by hand. They still choose the tag for every file. The model behind it is one I reproduced from published research.
At a glance
SonoCat is an offline desktop app that suggests UCS tags for sound-effect files and writes the confirmed tag into the WAV. Two other pieces of work feed it: my bachelor's thesis, which reproduces the model, and an audit of the training labels.
The app is still a prototype in development. Screenshots of the app show the current prototype; the lo-fi wireframe and Figma design under Design show the planned interface.
What | Details |
|---|---|
Project | Bachelor's thesis (Tugas Akhir) and academic prototype, 2026 |
App | Electron, React, TypeScript, ONNX Runtime, SQLite + sqlite-vec, Vitest |
Model | Python, PyTorch, frozen PANNs CNN14, linear probe, ONNX (opset 17) |
Data | AudioSet, FSD50K, ESC-50, FoleySet, UCS v8.2.1, Label Studio |
Code: proto-sonoarchive (app) · panns-ucs (model reproduction) · ucs-data-clean (label audit)
- Subcategory macro F1 of 0.496 ± 0.007, against 0.49 in Beck & Lerch (DAFx 2026)
- ONNX export within 0.001 of PyTorch on top-5 scores
- About 8% of auto-mapped labels estimated wrong; 996 flags checked by ear
- Prototype: 5 of 9 planned slices built, with about 90 Vitest cases
The problem
Professional sound designers interviewed by Yoo et al. (2026) named sourcing, finding the right sound in a library, as the hardest step in their workflow. In Garcia and Reiss's (2026) survey of 76 practitioners from 21 countries, searching for audio ranked among the most time-consuming repetitive tasks.
The industry's fix for inconsistent naming is the Universal Category System. UCS v8.2.1 defines 82 categories, 753 subcategories and a filename pattern built around a CatID, and library tools like Soundly and BaseHead read it. Audio from Freesound or stock sites arrives tagged in each source's own scheme, so someone has to rename and categorize those files by hand.
Some tools automate part of this. BaseHead's Ultra edition classifies files through a cloud AI service, and Curlo assigns categories in batches. Both return a single label with no alternatives, and neither documents its accuracy or learns from corrections.
The same survey found that practitioners want AI for narrow jobs like library management, with the final creative call left to them. Beck and Lerch (2026) showed that UCS classification can be automated: a frozen PANNs CNN14 with a linear probe reached a subcategory macro F1 of 0.49 on their EnvSound-UCS dataset. That score is too low to label files unattended. The dataset also covers only 59 of 82 categories and 144 of 753 subcategories, and its labels came from text matching that nobody checked by ear.
SonoCat is built for that gap. It shows five UCS suggestions with confidence scores for each file and leaves the choice to the sound designer. Everything runs locally, so no audio leaves the machine. My thesis rebuilds the Beck and Lerch result as the starting model, and the label audit measures how far the training labels can be trusted.
Reproducing the model
My subcategory head scored a macro F1 of 0.496 ± 0.007 over five seeds. The paper reports 0.49.
I trained on EnvSound-UCS, about 58k clips from AudioSet, FSD50K and ESC-50 with 59 categories and 144 subcategories, and followed Beck & Lerch's setup without relabeling anything. A frozen PANNs CNN14 turns each clip into a cached 2048-d embedding. On top of it, a dropout + linear head trains with focal loss and inverse-frequency class weights.
Head | My result (5 seeds) | Paper |
|---|---|---|
Subcategory, 144 classes | 0.496 ± 0.007 | 0.49 |
Category, 59 classes | 0.478 ± 0.005 | 0.46 |
Subcategory rolled up to category | 0.487 ± 0.003 | 0.55 |
On the subcategory head, the right answer was in the top 3 for 77.7% of clips and in the top 5 for 84.6%.
Several problems came up in the data and the tooling:
- About 19.6k clips have no subcategory, and 144 subcategory names map to 165 distinct pairs. A documented rule resolves the collisions.
- About 20% of test clips overlap CNN14's pretraining data, so I also report every result per source dataset.
panns_inferencecrashes on Windows because it callswgeton import. I ported the inference graph and checked it against the official weights.- The 475 MB embedding cache holds no labels. Trying a new label scheme only means retraining the probe, which takes minutes; extracting the embeddings took several hours.
Auditing the labels
About 8% of the auto-mapped labels are wrong, roughly 7,200 of 93,883 scored clips (likely range 4,900 to 9,600).
I mapped source tags from 96,883 clips in AudioSet, FSD50K, FoleySet and ESC-50 onto UCS v8.2.1, matching on names, synonyms, word overlap, ontology depth and descriptions. Duplicate Freesound uploads were dropped. On the full EnvSound split, the mapper's first choice matched the gold pair about 49% of the time, and the gold pair was in its top 10 for 72.8%.
A probe trained with five-fold cross-labeling flagged 23,225 clips (24.7%) where it disagreed with the mapped label. I listened to a stratified sample of 100 flags and found 26 wrong labels, 65 acceptable ones and 9 I couldn't call. Extrapolated across the strata, about 31% of flags are real errors, and that gives the 8% figure. The probe's margin separated real errors best: precision sat near 13% below a margin of 0.25 and rose to 40–50% above it.
Last, I reviewed the 996 highest-margin, tag-supported flags in Label Studio, with the model's suggestion hidden until I had judged the label. It took 10.7 hours. In that queue 81.5% of labels were wrong. I chose those clips because they looked most likely to be mislabeled, so the 8% stays the estimate for the whole dataset.
Building the app
The app is a prototype and still in development. Everything in it runs offline. You pick a tag from the model's top 5 suggestions and the app writes it into the WAV. Python only exports the model.

I exported CNN14 to ONNX (opset 17). On 20 reference clips plus two 30-second files it matched PyTorch with embedding cosine similarity of at least 0.999, and top-5 scores within 0.001.
Confirmed tags go into the iXML USER block and the BWF bext description, where Soundly can read them. The app saves to a temporary copy first and replaces the original only if that copy reads back clean, so the audio bytes stay untouched. An optional rename applies the UCS filename pattern.
Analysis runs in an Electron utility process to keep the window responsive. Files longer than 10 seconds are split into 10-second windows at 50% overlap, with window scores and embeddings averaged. Embeddings live in SQLite with sqlite-vec, which powers text search and "find similar."
I scoped the product as 18 user stories cut into 9 end-to-end slices. Five are built so far, covered by about 90 Vitest cases.
Slice | What it demos |
|---|---|
S1 Walking skeleton | Import WAVs and show each file's top 5 |
S2 Tag and save | Confirm a label; tags readable in Soundly |
S3 Long files | Background windowed analysis; queue survives restarts |
S4 UCS rename | Optional rename to the UCS filename |
S5 Search | Text search and "find similar" |
Design
The prototype screenshots above show the working build. The wireframe and Figma design below show where the interface is heading.
Where it's heading
My thesis plan goes beyond the current prototype:
- Retrain the linear probe from labels the user confirms, so suggestions fit their library over time
- Show each suggestion's category, subcategory and synonyms, so users pick up UCS while they tag
- Add FoleySet and extra Freesound clips to cover UCS categories missing from EnvSound-UCS
- Support MP3 and FLAC alongside WAV
- Evaluate with macro F1, top-1 and top-5 accuracy, a correction simulation, and a review by a professional sound designer
- Release the app as open source for non-commercial use
Limits
The category roll-up didn't reproduce. I got 0.487 ± 0.003 against the paper's 0.55, and I report my own number.
Every F1 figure above comes from the 144-class head. I haven't scored the app's 753-class probe yet, or measured top-5 accuracy and search quality inside the app.
What I took away
The roll-up gap showed me that a reproduction can match on one figure and miss on the next, so I report each one separately.
In the audit, the probe agreed with the existing labels 54.9% of the time. That number couldn't tell me how many labels were wrong. I only got an error rate by listening to clips with the model's answer hidden.
Leaving labels out of the embedding cache saved the most time. Each new label scheme cost a few minutes of training and no new pass over the audio.
The 20-clip parity test was small, but it gave me a number to point to when someone asks whether the ONNX model matches PyTorch.
References
- S. Yoo et al., "SoundStager: Interactive Design of Story-Driven GenAI Soundscapes for Video," CHI 2026. doi:10.1145/3772318.3790870
- N. Garcia and J. Reiss, "An investigation of AI integration in sound designer workflows and experiences," 2026. arXiv:2605.27174
- A. B. Ma and A. Lerch, "Representation Learning for the Automatic Indexing of Sound Effects Libraries," 2022. arXiv:2208.09096
- J. W. Beck and A. Lerch, "Sound Effects Dataset Unification With the Universal Category System," 2026. arXiv:2606.05571
- Q. Kong et al., "PANNs: Large-Scale Pretrained Audio Neural Networks for Audio Pattern Recognition," 2020. arXiv:1912.10211
- S. Wang and A. Lerch, "FoleySet: A Multi-Level Human-Annotated Foley Sound Dataset," 2026. arXiv:2606.25980
- Universal Category System, v8.2.1
- BaseHead, UCS Categories and AI Agent Panel
- Soundly, UCS support FAQ
- Curlo, UCS Classification
