Credits
claudius is built on other people’s work: the libraries it is made of, the code it ports, the models it listens with, the fonts it draws with, the sounds it plays and the research its engine follows. This page names them, each under its licence. Every library is on Libraries, which the book writes from Cargo.lock.
Models
claudius runs these on the computer itself, on ONNX Runtime or, for Cactus’s models, needle-infer. Each is downloaded from Hugging Face the first time something needs it, and none of them writes music: they listen, tag and read (design 0011, 0014, 0015).
| Model | What claudius does with it | From | Licence |
|---|---|---|---|
| CLAP, larger general | the ears: how much a sound, a phrase or a song is like words (“a person singing”), and finding sounds by meaning | LAION (Wu et al., ICASSP 2023); the ONNX export is Xenova’s | Apache-2.0 |
| AST, fine-tuned on AudioSet | the ears: which of AudioSet’s sounds a recording holds | MIT (Gong, Chung & Glass, Interspeech 2021); the ONNX export is Xenova’s | BSD-3-Clause |
| CED-Tiny | the ears: whether a voice sings in a recording’s separated vocals or an instrument the separation left there | Dinkel et al. (CED, ICASSP 2024), as its authors export it to ONNX | Apache-2.0 |
| Basic Pitch | the notes played or sung in a take or a recording | Spotify (Bittner et al., ICASSP 2022) | Apache-2.0 |
| Spleeter, four stems | a recording taken apart into its voice, drums, bass and the rest | Deezer (Hennequin et al., JOSS 2020), MIT; the ONNX export is Best-Practice’s, Apache-2.0 | MIT, Apache-2.0 |
| Audiobox Aesthetics | the critic: how much listeners would enjoy a song, and how well it is made | Meta (Tjandra et al., 2025); the ONNX export is Microck’s | CC BY 4.0 |
| potion-base-8M | finding a command, a sound or a genre by the meaning of the words for it | Minish Lab (Model2Vec) | MIT |
| Needle | reading a request in plain words, in the palette | Cactus Compute | Apache-2.0 |
| Whistle | hearing a request said aloud | Cactus Compute | Apache-2.0 |
Code it ports
| Crate | A port of | Licence |
|---|---|---|
earshot | earshot, the Python library of “ears” for code: its models run on ONNX Runtime, its signal processing (mel front ends, loudness, onsets, the beat grid) written again in Rust | MIT |
claudius (dsp::stretch) | Signalsmith Stretch 1.3.1 and the STFT of its linear library, by Geraint Luff / Signalsmith Audio: the time-stretch and pitch-shift every recording plays through, in the app and the browser | MIT |
whistle | Cactus’s JAX reference for Whistle (cactus-compute/cactus at bafcf73: whistle.py, architecture.py, export.py, quantize.py) and the engine’s behaviour Cactus documents | Apache-2.0 |
claudius’s patterns follow TidalCycles’ and Strudel’s mini-notation and spread Euclidean rhythms with Bjorklund’s algorithm as they run it (design 0004): the notation is theirs, the implementation claudius’s own, with none of their code.
Encoders, decoders and the programs it may call
MP3, FLAC and Opus are written by rusty_mp3,
flacenc and opus-pure, and Ogg Vorbis by
libvorbis with aoTuV’s and Lancer’s tuning
(aotuv_lancer_vorbis_sys, BSD-3-Clause), built in (Exporting).
symphonia reads the recordings claudius opens, and opus-pure decodes the Opus
among them. AAC and Apple Lossless come
from the system’s encoder, Core Audio’s afconvert on macOS, and ffmpeg elsewhere and for a file
symphonia cannot read, when it is installed: claudius runs them as programs and ships neither.
Fonts and icons
| Font | Where | Licence |
|---|---|---|
| Inter | the studio’s text, and Infinite Radio’s page | SIL Open Font License 1.1 |
| Lucide | the studio’s icons, and Infinite Radio’s page’s | ISC |
| the fonts egui ships (epaint_default_fonts: Hack, Noto Emoji, Ubuntu, and emoji-icon-font) | the studio, for what Inter does not cover | each its own, as that crate lists them |
Words
The command palette never takes an English word for a slip of another. The English words it knows
(crates/claudius-intent/data/english.txt) are SCOWL’s list of size 35, in American
and British spelling, from Kevin Atkinson’s English Speller Database, whose words come mostly from Alan Beale’s 12dicts
and ENABLE2K, both in the public domain. Its notice:
Copyright 2000-2026 by Kevin Atkinson
Permission to use, copy, modify, distribute, and sell any part of the English Speller Database (ESDB, previously known as SCOWLv2), or word lists created from it, is hereby granted without fee, provided that the above copyright notice appears in all copies and that both the above copyright notice and this notice appear in supporting documentation. Kevin Atkinson makes no representations about the suitability of this database for any purpose. It is provided “as is” without express or implied warranty.
Sounds
The sample packs are public domain, CC0 and CC BY recordings, each credited as its licence asks (their credits, design 0007). A song that samples a recording from Freesound, Wikimedia Commons, Openverse, ccMixter or Jamendo keeps that recording’s credit with what plays it (credits).
Research
What the engine draws on, by the part of it that does. A paper new to the engine goes here in the pull request that uses it.
Listening to a recording
- Ellis (2007), “Beat tracking by dynamic programming”, Journal of New Music Research 36(1): doi:10.1080/09298210701653344. The beats.
- Krumhansl & Kessler (1982), “Tracing the dynamic changes in perceived tonal organization in a spatial representation of musical keys”, Psychological Review 89(4): doi:10.1037/0033-295X.89.4.334. The key.
- de Cheveigné & Kawahara (2002), “YIN, a fundamental frequency estimator for speech and music”, JASA 111(4): doi:10.1121/1.1458024. The pitch of a voice.
- Mauch et al. (2015), “Computer-aided melody note transcription using the Tony software: accuracy and efficiency”, TENOR 2015: paper. The notes a voice sings.
- Moulines & Charpentier (1990), “Pitch-synchronous waveform processing techniques for text-to-speech synthesis using diphones”, Speech Communication 9(5-6): doi:10.1016/0167-6393(90)90021-Z. TD-PSOLA, which moves a voice to the song’s key with its formants kept.
- ITU-R BS.1770, “Algorithms to measure audio programme loudness and true-peak audio level”: recommendation. Loudness.
- Foote (2000), “Automatic audio segmentation using a measure of audio novelty”, ICME 2000: doi:10.1109/ICME.2000.869637. Where a section starts: the novelty of how alike the bars either side are.
- Paulus, Müller & Klapuri (2010), “Audio-based music structure analysis”, ISMIR 2010: paper. Sections by novelty, by what repeats, and by what holds alike.
- Goto (2006), “A chorus section detection method for musical audio signals and its application to a music listening station”, IEEE Transactions on Audio, Speech, and Language Processing 14(5): doi:10.1109/TSA.2005.863204. A chorus is what comes back.
- Smith, Burgoyne, Fujinaga, De Roure & Downie (2011), “Design and creation of a large-scale database of structural annotations”, ISMIR 2011, and its annotations, SALAMI (CC0), which measure where the analysis hears sections start and what they are.
Sampling a recording
- Bohak & Marolt (2012), ISMIR 2012: paper. A singer’s rests part the phrases.
- Nakano, Ogata, Goto & Hiraga (2008), “Analysis and automatic detection of breath sounds in unaccompanied singing voice”, ICMPC 2008: paper. And so do their breaths.
- Jehan (2005), “Creating music by listening”, PhD thesis, MIT: thesis. A cut goes back to the quiet before an onset.
- Kool, van Hoof & Welling (2019), “Stochastic beams and where to find them: the Gumbel-top-k trick for sampling sequences without replacement”, ICML 2019: arXiv:1903.06059. Another take of the pieces, and of a flip, drawn among the good ones.
- Stoller, Durand & Ewert (2019), “End-to-end lyrics alignment for polyphonic music using an audio-to-character recognition model”, ICASSP 2019: arXiv:1902.06797. JamendoLyrics, the songs whose every word is timed, which measure how often a cut falls inside one, and, by their stanzas, where sung sections start and which come back.
Rhythm and feel
- Toussaint (2005), “The Euclidean algorithm generates traditional musical rhythms”, Bridges 2005: paper. Euclidean rhythms.
- Longuet-Higgins & Lee (1984), “The rhythmic interpretation of monophonic music”, Music Perception 1(4): doi:10.2307/40285271. Syncopation.
- Hennig et al. (2011), “The nature and perception of fluctuations in human musical rhythms”, PLOS ONE 6(10): doi:10.1371/journal.pone.0026457. The drift a player’s timing wanders with.
Effects and the mix
- Bristow-Johnson, “Cookbook formulae for audio equalizer biquad filter coefficients”, published by the W3C as the Audio EQ Cookbook. An equalizer’s and a filter’s bands, as the renderer runs them and the signal flow draws their curves.
The critic
- Chmiel & Schubert (2017), doi:10.1177/0305735617697507; Askin & Mauskapf (2017), doi:10.1177/0003122417728662. Liking follows an inverted U over how familiar and how complex a song is.
- Rolison & Edworthy (2012), doi:10.1525/mp.2012.29.3.269; Karno & Konečni (1992), doi:10.2307/40285538; Deliège (1987), doi:10.2307/40285378. Form and the grouping a listener hears.
- Montecchio, Roy & Pachet (2020), doi:10.1371/journal.pone.0239418. Where listeners skip.
- Solberg & Jensenius (2016), doi:10.18061/emr.v11i3-4.5023; Solberg & Dibben (2019), doi:10.1525/mp.2019.36.4.371. The build and the drop.
- Cheung et al. (2019), doi:10.1016/j.cub.2019.09.067. Uncertainty and surprise.
- Tjandra et al. (2025), arXiv:2502.05139. Audiobox Aesthetics, above.
- Bogdanov, Won, Tovstogan, Porter & Serra (2019), “The MTG-Jamendo dataset for automatic music tagging”, Machine Learning for Music Discovery Workshop, ICML 2019: hdl:10230/42015. Its songs, released on Jamendo under Creative Commons licences, measure how the critic judges real music, as it is and with a flaw put into it, and how claudius hears their beats and bars (Benchmarks).
- Ramires, Font, Bogdanov et al. (2020), “The Freesound Loop Dataset and annotation tool”, ISMIR 2020: doi:10.5281/zenodo.3967852. Its loops, under the licences their makers chose, with the tempos people annotated, measure how claudius hears a loop’s tempo and where its bars fall.
- McFee et al. (2015), “librosa: Audio and Music Signal Analysis in Python”, SciPy 2015: doi:10.25080/Majora-7b98e3ed-003. Its beat tracker hears the songs of MTG-Jamendo apart from claudius, as the reference the beat benchmark measures claudius’s bars against.
The critic’s page says what each of them does in it.