How ardev1161/libaudition works
libaudition is an application-agnostic C++ toolkit for acoustic perception, not a standalone capture application. Its principal workflow is to provide audio to composable DSP and backend-neutral perception blocks, then use classification, spatial identity, speech, and temporal-event components to produce source- and event-level observations; applications own scheduling and recording policy. The README documents these capabilities and the composition of temporal detection with event assembly. Sampled code confirms selected adapter and asynchronous-ingress relationships; links not directly evidenced are omitted.
Main entry points: odas_spatial_engine.cpp ODAS spatial engine · clap_audio_embedder.cpp CLAP audio embedding · temporal_acoustic_event_detector.cpp Temporal event detector · per_source_speech_runtime.cpp Per-source speech
Components 21
Audio and DSP
- Audio buffers
include/audition/audio/audio_buffer.hpp - Audio frontend
src/dsp/audio_frontend.cpp - WAV I/O
src/io/wav_io.cpp
Perception adapters
- ODAS spatial engine
backends/odas/src/odas_spatial_engine.cpp - ODAS runtime
backends/odas/src/detail/odas_runtime.hpp - Source classification
src/pipeline/source_classification_runtime.cpp - EfficientAT tagger
backends/efficientat/src/efficientat_audio_tagger.cpp - YAMNet tagger
backends/yamnet/src/yamnet_audio_tagger.cpp - CLAP audio embedding
backends/clap/src/clap_audio_embedder.cpp - CLAP features
backends/clap/src/detail/clap_features.hpp - Authenticity detection
backends/aasist/src/aasist_authenticity_detector.cpp
Source and speech
- Per-source speech
src/pipeline/per_source_speech_runtime.cpp - Async speech ingress
include/audition/speech/async_speech_ingress_worker.hpp - Recording session
include/audition/recording/source_recording_session.hpp
Events and analysis
- Temporal event detector
src/pipeline/temporal_acoustic_event_detector.cpp - Acoustic event assembler
src/pipeline/acoustic_event_assembler.cpp - Temporal pattern matching
include/audition/temporal/streaming_pattern_matcher.hpp
Identity and memory
- Spatial identity
src/pipeline/spatial_identity.cpp - Identity resolver
src/memory/source_identity_resolver.cpp - Sound prototype matching
src/memory/sound_prototype_matcher.cpp
Other components
- Application
Connections 20
- Application → Audio buffers: provides audio
README.md - Application → Audio frontend: composes DSP
README.md - Application → Source classification: uses classification
README.md - Application → ODAS spatial engine: uses spatial analysis
README.md - Application → Per-source speech: uses speech
README.md - Application → Temporal event detector: uses event detection
README.md - Application → Temporal pattern matching: uses analysis
README.md - Application → Authenticity detection: uses authenticity
README.md - Application → Recording session: sets recording policy
README.md - ODAS spatial engine → ODAS runtime: processes audio
backends/odas/src/odas_spatial_engine.cpp - CLAP audio embedding → CLAP features: extracts features
backends/clap/src/clap_audio_embedder.cpp - Async speech ingress → Per-source speech: dispatches audio
include/audition/speech/async_speech_ingress_worker.hpp - Temporal event detector → Acoustic event assembler: composes transitions
README.md - Application → EfficientAT tagger: selects tagger
README.md - Application → YAMNet tagger: selects tagger
README.md - Application → CLAP audio embedding: selects adapter
README.md - Application → Identity resolver: composes identity
README.md - Application → Sound prototype matching: uses matching
README.md - Application → Spatial identity: composes identity
README.md - Application → WAV I/O: uses audio I/O
README.md