Docs
The Soundroo score format
A score is JSON. Timing is counted in quarter-note beats, so the same score plays at any tempo. Your agent writes scores for you, so you only need this page if you want to read or edit one yourself. The toolkit's composing guide has more detail.
Fields
| Field | Meaning |
|---|---|
version |
1, 2 for the compact notation below, or 3 to add the sustain pedal and tempo changes. |
id, title |
A lowercase id like night-bus and the track title. |
bpm |
Tempo from 20 to 400 beats per minute at the start. |
tempo |
Version 3: tempo changes {beat, bpm, ramp}. With ramp: true the tempo glides there, for a ritardando or accelerando. |
beats |
Total length in quarter-note beats. Leave room for the ending to ring out. |
sections |
{id, name, beat, beats}. Listeners use them to jump around in a track. |
master |
{volume, reverb}: volume 0 to 2, reverb 0 to 1. |
parts |
{id, name, instrument, volume, pan, tone, notes, patterns, clips, pedal}, one per instrument. |
pedal |
Version 3: sustain pedal spans {beat, beats}. A note released while the pedal is down rings until it comes up. |
notes |
{pitch, beat, duration, velocity}. Pitch is a MIDI number or a name like F#4. Velocity is above 0 and at most 1. |
patterns |
Named blocks {name: {beats, notes}} with timing that starts at the block. |
clips |
{pattern, beat, repeat, transpose, velocity} places a pattern in the track. |
artwork |
Optional cover: {style, colors: [background, ink, accent], seed}. |
description, genre, mood, key |
Shown on the track page. The genre also picks the group in Explore. |
Compact notation
Version 2 scores can write a pattern as a short string instead of a list of notes. The strings turn into normal notes, so they sound the same as the long form.
steps spreads hits evenly over the pattern's beats. X is a loud hit, x a normal one, o a soft one and . a rest. | and spaces only help you read it. Sixteen symbols in four beats are sixteenth notes. Add pitch to pick the note; it is C4 if you leave it out.
line plays notes one after another: pitch/duration@velocity, [C4 Eb4 G4] for a chord and - for a rest. A duration stays until the next one changes it. The first note lasts one beat if you don't give a duration, and velocity is 0.7.
{
"version": 2,
"id": "night-bus",
"title": "Night Bus",
"bpm": 124,
"beats": 64,
"parts": [
{
"id": "kick", "instrument": "kick",
"patterns": { "four": { "beats": 4, "steps": "X...x...X...x..." } },
"clips": [{ "pattern": "four", "beat": 0, "repeat": 16 }]
},
{
"id": "hats", "instrument": "hi-hat",
"patterns": { "offbeat": { "beats": 4, "steps": "..x...x...x...xo" } },
"clips": [{ "pattern": "offbeat", "beat": 8, "repeat": 14 }]
},
{
"id": "bass", "instrument": "acid-bass",
"patterns": { "line": { "beats": 4, "line": "C2/.5 - C2 Eb2/.5 - G1/.5 Bb1 C2/.5" } },
"clips": [{ "pattern": "line", "beat": 0, "repeat": 16 }]
},
{
"id": "hook", "instrument": "analog-lead",
"patterns": { "hook": { "beats": 8, "line": "G4/.5 Bb4 C5/1 - Eb5/.5 D5 C5/1.5 Bb4/.5 G4/2" } },
"clips": [{ "pattern": "hook", "beat": 16, "repeat": 6 }]
}
]
}
Instruments
The engine has guitars (guitar-clean, guitar-crunch), basses (bass, electric-bass, acid-bass), keys (piano, electric-piano, organ), sections (strings, brass), synthesizers (analog-lead, fm-lead, pluck, pad), mallets (bell, marimba), 8-bit chip sounds (chip-lead with a duty setting, chip-bass), a recorded acoustic drum kit (rock-kick, rock-snare, closed-hat, open-hat, tom, ride, crash) and a drum machine (kick, snare, clap, hi-hat, shaker). Piano, strings, brass, the guitars, electric-bass and the acoustic kit play full recordings of real instruments in stereo; the grand piano has sixteen loudness layers per note and its own damper and pedal sounds. A noise part makes risers and sweeps, and a sample part plays spoken phrases. The toolkit's catalog command lists each instrument with its tone settings.
Covers
Each track and collection gets a generated cover. Styles are orbit, strata, window, wave, sun, petal, ripple, monolith, weave and constellation, with colors as six-digit hex. Leave artwork out and Soundroo picks a design. You can change a cover later on soundroo.com.
Checks
The engine refuses invalid timing, ranges and settings and names the JSON path of each problem. A shared track must be 20 seconds to 10 minutes long, not mostly silent and free of clipping.