Public-domain phrases
Read a score,
hear it play.
Auto-play a phrase or click any note to hear it. Melody, pad, bass and a drum kit are synthesized in the browser with the Web Audio API — no recordings, no uploads. Prefer machines? Roll a random rhythm snippet from the agent API.
Agent API
GET /api/tunesThe public-domain catalogue: 40 tunes, each with its source.
GET /api/tunes/:id/score.svgAny catalogue tune as a standalone score.
GET /api/tunes/:id/audio.wavAny catalogue tune, synthesized server-side.
POST /api/renderSend a score of your own and get the canonical phrase back. Notes can be tokens (e.g. "C5/1 D5/0.75", chords "C4+E4+G4/1"), or note objects.
POST /api/render.wavThe same score, synthesized server-side as 16-bit PCM WAV.
POST /api/render.svgThe same score, rendered as a standalone score.
GET /api/rhythmRandom rhythm snippet as JSON. Pass ?seed= to reproduce, ?bars= for length.
GET /api/rhythm.wavSame snippet, synthesized server-side as 16-bit PCM WAV.
GET /api/rhythm.svgSame snippet, rendered as a standalone score.
?drums=0&bass=0&pad=0Drop accompaniment layers on any of the audio endpoints.
GET /apiMachine-readable index with schemas, limits, and examples. Plain-text version lives at /llms.txt.
// press "Roll a phrase"