Skip to content
WebAI

audio / audio-classification

Audio event classification

Labels sounds and events rather than words: alarms, music, applause, acoustic scenes. Models take a mel spectrogram, so the feature extraction window, not the weights, sets the latency floor.

3 entries

Open demo →

Catalog comparison

Entries include models, tools and applications. An upstream example documents a browser integration, not a test on your device. Missing versions, measurements and licenses remain unverified. Historical estimates are not benchmark results.

Catalog comparison
EntryEntry typeFrameworkResourcesLicenseBrowser evidenceLinks

MediaPipe Audio Classifier

Web task API for audio classification. Select a compatible model asset; task-library support does not specify the weight version or measured latency.

Tasks: Audio event classification

Tool / libraryMediaPipe

Download size: 3.9 MiB

Code license: Apache-2.0

Weight license: Not verified

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Not verified
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
Not specified
Package
@mediapipe/tasks-audio
Runtime version
@mediapipe/tasks-audio@1.0.1
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Not verified

Deployment variants

Unspecified variant
Download size: 3.9 MiB
Peak runtime memory: Not measured
Quantization / precision: Not verified
Weight revision: Not verified
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

AST (AudioSet)

Audio Spectrogram Transformer over the 527 AudioSet classes — general sound and event tagging.

Tasks: Audio event classification

ModelTransformers.js

q4f16: 49.0 MiB

q8: 86.6 MiB

fp16: 165.6 MiB

fp32: 330.7 MiB

Code license: Apache-2.0

Weight license: BSD-3-Clause

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/ast-finetuned-audioset-10-10-0.4593
Natural languages
Not specified
Programming languages
Not specified
Other reported capabilities
AudioSet-527
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
BSD-3-Clause

Deployment variants

q4f16
Download size: 49.0 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 249a1fbf0286b40e7f1ed687a8ae396997bf7dc6
Weight artifact ↗
q8
Download size: 86.6 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 249a1fbf0286b40e7f1ed687a8ae396997bf7dc6
Weight artifact ↗
fp16
Download size: 165.6 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 249a1fbf0286b40e7f1ed687a8ae396997bf7dc6
Weight artifact ↗
fp32
Download size: 330.7 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 249a1fbf0286b40e7f1ed687a8ae396997bf7dc6
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

wav2vec2 Keyword Spotting

Detects a small fixed set of spoken commands; the cheap alternative to full transcription for wake words.

Tasks: Audio event classification

ModelTransformers.js

q4f16: 63.5 MiB

q8: 91.4 MiB

fp16: 180.8 MiB

fp32: 361.1 MiB

Code license: Apache-2.0

Weight license: Apache-2.0

Upstream browser example

Reference ↗

Source review is not a browser execution test.

Sources and comparison details
Exact model ID
Xenova/wav2vec2-base-superb-ks
Natural languages
English
Programming languages
Not specified
Other reported capabilities
Speech Commands keywords
Package
Not verified
Runtime version
@huggingface/transformers@4.3.0
Execution backend
Not verified
Code license
Apache-2.0
Weight license
Apache-2.0

Deployment variants

q4f16
Download size: 63.5 MiB
Peak runtime memory: Not measured
Quantization / precision: q4f16
Weight revision: 8909d78f936d073e2c132e5ffc5c15f84d9b8a6f
Weight artifact ↗
q8
Download size: 91.4 MiB
Peak runtime memory: Not measured
Quantization / precision: q8
Weight revision: 8909d78f936d073e2c132e5ffc5c15f84d9b8a6f
Weight artifact ↗
fp16
Download size: 180.8 MiB
Peak runtime memory: Not measured
Quantization / precision: fp16
Weight revision: 8909d78f936d073e2c132e5ffc5c15f84d9b8a6f
Weight artifact ↗
fp32
Download size: 361.1 MiB
Peak runtime memory: Not measured
Quantization / precision: fp32
Weight revision: 8909d78f936d073e2c132e5ffc5c15f84d9b8a6f
Weight artifact ↗

Performance and compatibility measurements

Compare only results with the same task, input, hardware, browser and precision. No ranking is inferred from model size.

Not measured

Application workflows

About Audio event classification

Audio event classification under Audio holds 3 catalogue entries: 2 models, 1 tools or libraries.

3 of them carry browser evidence, all from upstream browser examples.

The usual pattern for this task is to load quantised weights (ONNX, TFLite or a MediaPipe asset bundle) into the page, hand them to Transformers.js and MediaPipe, and accelerate with WebGPU or WebAssembly. What decides the experience is weight size, peak memory and decoding path — not the parameter count.

To see the output first, open the interactive demo for this task: switch models, edit the sample input and compare results on one page. Every demo states whether it is running real weights or a deterministic simulator.

At a glance

Entries
3 in total
Main runtime
Transformers.js and MediaPipe
Smallest known weights
3.9 MiB
Browser evidence
3 of 3 verified

Audio event classification: common questions

Can Audio event classification run directly in a browser?
Yes. 3 entries already carry browser evidence (tested here or an upstream example), so the approach works; whether it runs smoothly on your device depends on weight size, browser version and whether WebGPU is enabled.
How large is the model for Audio event classification?
We verified the weight file sizes of 3 entries in this task; the smallest tier is 3.9 MiB. Quantisation differs between entries, so the real download depends on the precision you pick. Files are reused from the HTTP cache or Cache Storage after the first download.
Which devices suit Audio event classification?
Any modern browser with WebAssembly is a starting point, and WebGPU usually makes it faster. Phones are tighter on memory, so run the demo once on the target device before deciding.
Does running a model here upload my data?
The demos on this site infer inside the tab, so inputs never reach a server. Weights and runtimes are fetched from a CDN on first use and then served from the browser cache.

Other tasks in this category

Browse all Audio models →

Read next

All posts →