Alda lets musicians write scores as text, play MIDI via a CLI or REPL, and programmatically generate music on supported platforms.
Overview
Alda is a text-oriented music programming language for composition and playback. Scores live in plain files interpreted by the alda CLI, so a text editor and terminal are enough to hear changes.
Syntax emphasizes readability for musicians who are not programmers and developers who are not trained musicians. An interactive REPL evaluates snippets immediately. General MIDI instruments are available today; roadmap items mention browser runs, custom waveforms, and MusicXML export.
The implementation splits a Go client and a Kotlin/Java player with platform builds documented in subproject READMEs. Official install instructions live on alda.io with examples such as Bach cello suites.
Community support includes Slack and Reddit spaces for sharing scores and questions.
Key features
- Markup-like score syntax
- CLI play command
- Interactive REPL
- General MIDI playback
- Programmatic composition
- Multi-component client and player
- Cross-platform binaries
- Published documentation site
Use cases
- Algorithmic composition experiments
- Live coding performances
- Quick melodic sketches
- Teaching music and code
- Batch-rendering MIDI scores