How gabyfle/soundml works
SoundML is an OCaml audio-processing library distributed as a core package and a separate audio-file I/O package. Its user-facing capabilities include feature extraction, effects, and audio decoding/encoding, with resampling also documented for the I/O package. The tree identifies the principal implementation modules, but their contents were not sampled; the graph therefore avoids inferring calls or a processing sequence. Relationships shown are limited to README-documented package capabilities and dependencies.
Main entry points: soundml.ml SoundML API · soundml_io.ml SoundML I/O API
Components 22
Core DSP
- SoundML API
soundml/lib/soundml.ml - Processing pipelines
soundml/lib/pipeline.ml - STFT
soundml/lib/stft.ml - Spectral transforms
soundml/lib/spectral.ml - Inverse STFT
soundml/lib/convert.ml - Windows
soundml/lib/window.ml - Resampling
soundml/lib/resample.ml - Resampling native code
soundml/lib/resample_stubs.c - Audio effects
soundml/lib/effects.ml - Harmonic separation
soundml/lib/hpss.ml
Audio Features
- Mel features
soundml/lib/mel.ml - Chroma features
soundml/lib/chroma.ml - Constant-Q transform
soundml/lib/cqt.ml - Energy features
soundml/lib/energy.ml - Onset features
soundml/lib/onset.ml - Spectral contrast
soundml/lib/contrast.ml - Decibel conversion
soundml/lib/db.ml
Audio File I/O
- SoundML I/O API
soundml-io/lib/soundml_io.ml - I/O native bindings
soundml-io/lib/soundml_io_stubs.c
Other components
- Library user
- Nx dependency
- libsndfile
Connections 4
- Library user → SoundML API: uses
README.md - Library user → SoundML I/O API: uses
README.md - SoundML API → Nx dependency: depends on
README.md - SoundML I/O API → libsndfile: binds to
README.md