CLEF.IM Score reader · agent-ready

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

JSON · WAV · SVG
GET /api/tunes

The public-domain catalogue: 40 tunes, each with its source.

GET /api/tunes/:id/score.svg

Any catalogue tune as a standalone score.

GET /api/tunes/:id/audio.wav

Any catalogue tune, synthesized server-side.

POST /api/render

Send 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.wav

The same score, synthesized server-side as 16-bit PCM WAV.

POST /api/render.svg

The same score, rendered as a standalone score.

GET /api/rhythm

Random rhythm snippet as JSON. Pass ?seed= to reproduce, ?bars= for length.

GET /api/rhythm.wav

Same snippet, synthesized server-side as 16-bit PCM WAV.

GET /api/rhythm.svg

Same snippet, rendered as a standalone score.

?drums=0&bass=0&pad=0

Drop accompaniment layers on any of the audio endpoints.

GET /api

Machine-readable index with schemas, limits, and examples. Plain-text version lives at /llms.txt.

Open WAV Open SVG
// press "Roll a phrase"