How to Score in the Art Racket
summary
Demonstrates an embeddable front end that turns score annotations into real code: MuseScore + Tonart in Racket exports MusicXML, parses performance-direction text into Tonart forms, and uses Racket’s module system so score bindings become require/provide modules. Built a MusicXML parser and a registration library that maps to MIDI for a pipe organ; live demo plays organ manuals and registrations, mixes themes from different modules, and generally works despite some AV hiccups. MusicXML export and parser and organ registration as code.
AI-written summary · about
chapters (13)
- 0:00Tonart demo welcome
- 2:22Introducing Tonart and Bach piece
- 5:17New Musescore front end
- 8:04Exporting to MusicXML
- 10:32Composable composition
- 12:19Pipe organ registration
- 14:04Live coding with Tonart
- 16:54Combining module themes
- 17:59Context-sensitive Tonart logo
- 19:23Bach’s loops and mode changes
- 20:51Inversion transformation demo
- 21:54Musical puzzle challenge
- 23:13Q&A








