muslib is a Rust library for music synthesis and processing, inspired by Essentia. It comes as a crate, a Python package and a command line tool, and is licensed AGPL like Essentia.
| Module | What |
|---|---|
| HPCP, Chromagram | harmonic pitch class profile, and HPCP over time |
| FFT, IFFT | transforms |
| mixer | load audio files as mono tracks, write 16-bit WAV |
| convert | resampling and peak normalization |
| encode | Ogg Opus in pure Rust |
| synth | simple waveforms |
Loading reads WAV, FLAC, Ogg Vorbis and Matroska/WebM and averages channels into mono unless .channel(index) picks one. Opus output takes 8, 12, 16, 24 or 48 kHz input at 6–512 kbit/s.