Song JSON v1 — instructions for an AI You are writing a song for SoundGen (soundgen.ai), a music studio. Write it as Song JSON: one JSON object that SoundGen imports as an editable project — tracks of notes, chord loops, drum step patterns, sections and mix. The person will paste your answer into SoundGen, so reply with only the JSON object. The shape ```json { "format": "soundgen-song", "version": 1, "title": "…", "bpm": 120, "key": "A minor", "timeSignature": "4/4", "sections": [ { "name": "Verse", "bars": 8 }, { "name": "Chorus", "bars": 8 } ], "tracks": [ { "name": "…", "type": "instrument | chords | drums | audio", … } ], "master": { "volume": -1, "effects": [ … ] } } ``` How timing works - A beat is a quarter note. A bar holds numerator × 4/denominator beats: 4 in 4/4, 3 in 3/4 and 6/8, 3.5 in 7/8. - Bars are numbered from 1. "bar": 5 starts at the first beat of bar 5; "bar": "5:3" at bar 5, beat 3. - Note start and duration are beats, counted from the start of the part (or clip) the note is in — never from the start of the song. In 4/4, bar 2 of a part starts at beat 4. - Drum steps: each character of a drum string is one step. By default a bar has 16 steps in 4/4 (four per beat, sixteenth notes) and 12 in 3/4 or 6/8; set "steps" to change it. A string shorter than a bar repeats inside the bar ("x---" = every beat); a longer one runs on into the next bars. - Placing: a clip plays a part from bar (or at a section) for bars (the part repeats to fill) or repeat times. With no clips, a track's own notes play once from bar 1, and a track's pattern or chord loop repeats to the end of the song. Track types - instrument — melodies, bass lines, riffs: "notes" (or named "parts" placed by "clips"). - chords — harmony: "chords": ["Am", "F", "C", "G"], one chord per bar ("C G" splits a bar), or a string "Am | F | C | G"; played in a "style". A chords track on "instrument": "bass" plays a bass line. - drums — "pattern": { "kick": "x---x---x---x---", "snare": "----x-------x---", "hat": "x-x-x-x-x-x-x-x-" }, or named patterns in "parts". - audio — what can't be written as notes (vocals, textures, sound effects): "generate": { "prompt": "…", "seconds": 30 }. It arrives as an empty track the person generates later. Instruments bass, piano, epiano, organ, accordion, keys, guitar, pluck, strings, brass, flute, bell, pad, lead. A description also works ("Rhodes electric piano", "warm analog bass", "saw lead") and is matched to the nearest of these. Drum kits: "kit": "acoustic" or "techno". Drum names kick, rim, snare, clap, floorTom, hat, pedalHat, lowTom, openHat, midTom, crash, highTom, ride, rideBell, tambourine, cowbell, bongo, lowBongo, muteConga, conga, lowConga, timbale, lowTimbale, cabasa, shaker, claves, woodblock (MIDI drum numbers like "36" also work). Chords A chord symbol is a root (A–G, optional # or b), a quality, and an optional slash bass ("C/E", "Bb/D"). Qualities, with the spellings each accepts: (none — major) / maj / M / major; m / min / - / minor; dim / ° / o; aug / + / #5; sus2; sus4 / sus; 5; 6; m6 / min6; 7 / dom7; maj7 / M7 / Δ / Δ7 / ma7; m7 / min7 / -7; m7b5 / min7b5 / ø / ø7 / -7b5; dim7 / °7 / o7; mmaj7 / mM7 / m(maj7) / minmaj7; 7sus4 / 7sus; aug7 / +7 / 7#5; 7b9; add9 / add2; madd9 / m(add9); 9; maj9 / M9; m9 / min9; 11; m11; 13. Use "N.C." for no chord and "%" to repeat the previous one. Chord styles - block — the chord held for each chord (the default) - pulse — the chord struck on every beat - stabs — short chords off the downbeat (comping, skank) - arp — a rising eighth-note arpeggio - broken — Alberti-style low–high–mid–high eighths - strum — a guitar-like strum on every beat - oompah — bass on the strong beats, chords on the others (waltz, polka) - root-bass — bass: the root held - root-fifth-bass — bass: root, then the fifth - walking-bass — bass: a note a beat, walking into the next chord - approach-bass — bass: root, fifth and a passing note into each change - octave-bass — bass: root and octave alternating in eighths (disco, synthwave) - offbeat-bass — bass: short roots between the kicks (house, trance) - rolling-bass — bass: three sixteenths after each kick (techno) - tumbao-bass — bass: salsa tumbao - log-drum-bass — bass: amapiano log-drum hits Effects Effects are a list, in signal order: "effects": [ { "type": "reverb", "mix": 0.3 }, "chorus" ] (a bare name uses the defaults). - reverb — mix 0–1, decay (s), size 0–1, predelay (ms), damping 0–1, style room|hall|plate|spring, lowCut/highCut (Hz). Types "hall", "plate", "room", "spring" also work. - delay — time: a note value synced to the tempo ("1/8", "1/8.", "1/4t") or "350ms"; feedback 0–0.95; mix 0–1; pingPong true|false. - eq — lowCut (Hz), low (dB shelf, at lowFreq=100), mid (dB bell, at midFreq=1000, q), high (dB shelf, at highFreq=10000), highCut (Hz). - compressor — threshold (dB), ratio (4 or "4:1"), attack (ms), release (ms), makeup (dB), knee (dB). - glue — A bus compressor (master or drums): same knobs as compressor. - distortion — drive 0–1, tone 0–1, output 0–1, style soft|hard|fuzz|foldback. "overdrive" and "fuzz" also work. - saturation — drive 0–1, mix 0–1, style tape|tube. "tape" and "tube" also work. - chorus — rate (Hz), depth 0–1, feedback 0–0.9, mix 0–1. - phaser — rate (Hz), depth 0–1, feedback 0–0.9, mix 0–1. - flanger — rate (Hz), depth 0–1, feedback 0–0.95, mix 0–1. - filter — cutoff (Hz), resonance, mode lowpass|highpass|bandpass|notch. "lowpass"/"highpass" as the type also work. - limiter — ceiling (dB), threshold (dB), release (ms). - bitcrusher — bits 1–16, rate (Hz). "lofi" also works. - tremolo — rate (Hz), depth 0–1. Any other SoundGen effect can be named by its type with its own parameter names: air-band, amp-sim, auto-filter, auto-pan, beat-repeat, clean-drive, console-bus, console-channel, convolution-reverb, de-esser, distance, doubler, dynamic-eq, expander, frequency-shifter, gated-reverb, glue-compressor, graphic-eq, ir-reverb, mid-side, mixer-drive, mono-maker, multiband-compressor, multiband-limiter, multitap-delay, nebula-reverb, noise-gate, noise-removal, opto-compressor, parametric-eq, phase-meter, pitch-shift, punch-comp, ring-mod, safety-clipper, shimmer-reverb, spectrum-analyzer, stereo-imager, tape-machine, tape-wobble, thicken, tilt-eq, tone-stack, trance-gate, transformer, transient-shaper, tube-warmth, tuner, utility, vibrato, vintage-filter, vocal-tuning, vocoder. Field reference | Field | Type | Values | Default | Notes | |---|---|---|---|---| | format | string | "soundgen-song" | | Always this value. | | version | number | 1 | | Always 1. | | title | string | | "Untitled song" | Up to 120 characters; becomes the project name. | | artist | string | | | Optional. | | genre | string | | | Optional, e.g. "lo-fi hip hop". | | description | string | | | Optional; kept in the project notes. | | bpm | number | 20–400 | 120 | Tempo in quarter-note beats per minute. | | key | string | | | Tonic + mode: "A minor", "F# major", "Bb major", "D dorian". | | timeSignature | string | "4/4", "3/4", "6/8", "7/8", "12/8" … | "4/4" | A bar is numerator × 4/denominator beats: 4/4 = 4 beats, 3/4 = 3, 6/8 = 3, 7/8 = 3.5. | | bars | number | | | Song length in bars (max 1024). Default: the sections' total, else the last clip. | | sections | array | | | The form, in order (max 128). Each becomes a marker; clips can be placed "at" a section. | | sections[].name | string | | | Required. Repeats are fine ("Verse", "Chorus", "Verse", "Chorus"). | | sections[].bars | number | | | Required. Length in bars. | | sections[].bar | number | | | Optional start bar (1 = first); default: right after the previous section. | | tracks | array | | | Required, 1–32 tracks. | | tracks[].name | string | | | Shown on the track header. | | tracks[].type | string | "instrument", "chords", "drums", "audio" | | instrument = notes you write; chords = a chord loop played in a style; drums = step patterns; audio = a part to generate later. | | tracks[].instrument | string | see Instruments | "keys" | instrument and chords tracks. A description also works ("warm analog bass"). | | tracks[].kit | string | "acoustic", "techno" | "acoustic" | drums tracks. "techno" is the drum-machine kit (808/909-style). | | tracks[].volume | number (dB) | -60 … +6 | -1.9 | In decibels: 0 = full, -6 = half as loud. Not 0–1. | | tracks[].pan | number | -1 … 1 | 0 | -1 hard left, 1 hard right. Not a percentage. | | tracks[].mute | boolean | | false | | | tracks[].solo | boolean | | false | | | tracks[].color | string | | | Hex like "#60A5FA"; default: the next track colour. | | tracks[].effects | array | | | Up to 16, in signal order. See Effects. | | tracks[].comment | string | | | Free text kept on the track. | | tracks[].notes | array | | | instrument (and drums) tracks: notes played once from "bar" when the track has no clips. | | tracks[].pattern | object | | | drums tracks: a step pattern; with no clips it repeats to the end of the song. | | tracks[].chords | array | string | | | chords tracks: a chord loop; with no clips it repeats to the end of the song. | | tracks[].style | string | see Chord styles | "block" (bass: "root-bass") | chords tracks: how the chords are played. | | tracks[].register | string | "low", "mid", "high" | "mid" (bass: "low") | chords tracks: where the voicings sit. | | tracks[].velocity | number | 0–1 | 0.66 | chords tracks: how hard the chords are played. | | tracks[].bar | number | | 1 | Where the track-level notes/pattern/chords (or an audio part) start. | | tracks[].bars | number | | | How long the track-level content plays (patterns and chord loops repeat to fill it). | | tracks[].transpose | integer | -48 … 48 | | Semitones, for the track-level notes or chords. | | tracks[].parts | object | | | Named parts: { "verse": { "bars": 4, "notes": [ … ] } } (max 64). Placed by clips. | | tracks[].parts..bars | number | | | Length of the part. Default: rounded up to whole bars from its last note. | | tracks[].parts..notes / pattern / chords / style / register | | | | The part's content, as on a track. | | tracks[].clips | array | | | Where parts play (max 256 a track). | | tracks[].clips[].part | string | | | A name from this track's "parts". | | tracks[].clips[].bar | number | "bar:beat" | | | Start: 1 = first bar, "5:3" = bar 5 beat 3. Default: right after the previous clip. | | tracks[].clips[].at | string | string[] | | | A section name: one clip in EVERY section with that name, as long as the section. "Chorus 2" = only the second Chorus. | | tracks[].clips[].bars | number | | | How long the clip plays; the part repeats to fill it. | | tracks[].clips[].repeat | integer | | | Or: play the part this many times back to back. | | tracks[].clips[].transpose | integer | -48 … 48 | | Semitones (not drums). | | tracks[].clips[].name | string | | | Clip name; default: the part name. | | tracks[].clips[].notes / pattern / chords / style | | | | A one-off clip can carry its own content instead of "part". | | tracks[].clips[].url / sound / generation / seconds / offset | | | | audio tracks only — see Audio. | | notes[].pitch | string | integer | | | A note name ("C4" = middle C = 60, "F#3", "Bb2") or MIDI number 0–127. In drums tracks: a drum name ("kick"). An array plays several at once. | | notes[].start | number (beats) | | 0 | Quarter-note beats from the START OF THE PART (or clip), not the song. 0 = its first beat. | | notes[].duration | number (beats) | note value | | 1 (drums: 0.25) | Beats, or "1/16", "1/8", "1/4", "1/2", "1/1"; "1/8." dotted; "1/8t" triplet. | | notes[].velocity | number | 0–1 | 0.8 | 0.3 soft, 0.8 normal, 1 accent. | | notes[].chord | string | | | Instead of pitch: a chord symbol, voiced for you ("Am7"). | | pattern. | string | | | One step per character: x hit, X accent, g ghost, - rest. Spaces are ignored (use them between bars). | | pattern.steps | integer | | 16 in 4/4 (4 per beat) | Steps per bar (max 64). 12 in 3/4 and 6/8. | | tracks[].generate | object | | | audio tracks: { "prompt": "…", "seconds": 30, "kind": "music" | "sfx", "instrumental": true } (or "bars" instead of seconds). The user generates it later; importing never charges. | | tracks[].generate.prompt | string | | | Required: what to generate, described as sound (genre, instruments, mood) — no artist names. Up to 500 characters. | | tracks[].generate.seconds | number | 1–300 | 30 | Length; or "bars" instead. | | tracks[].generate.bars | number | | | Length in bars at the song's tempo. | | tracks[].generate.kind | string | "music", "sfx" | "music" | sfx = a sound effect. | | tracks[].generate.instrumental | boolean | | true | false for a part with vocals. | | tracks[].sound / generation / url | string | | | audio tracks: one of the user's own SoundGen sounds or generations by id, or a SoundGen storage link (what an export writes). Never another website. | | master | object | | | { "volume": -1, "effects": [ … ], "ceiling": -1, "loudness": -14 } | | master.volume | number (dB) | -60 … +12 | | Master fader. | | master.effects | array | | | Same effects as tracks; e.g. glue then limiter. | | master.ceiling | number (dBTP) | -6 … 0 | -1 | Master limiter ceiling. | | master.loudness | number (LUFS) | -30 … -5 | | A target for mastering, kept in the project notes. | | notes (top level) | string | string[] | | | Free text. Exports list here what the file leaves out — keep it when you revise an export. | Limits: 32 tracks, 1024 bars, 8192 notes per clip, 100000 notes per song, 256 clips per track, 16 effects per track, 2 MB. Common mistakes to avoid - Output only the JSON object — no explanation, no comments, no trailing commas. (A code fence around it is fine.) - volume is in dB (negative numbers like -6), not 0–1. pan is -1…1, not a percentage. - Note start counts from the start of its PART (or clip), not the song. A part that is 4 bars long in 4/4 holds starts 0–15.99. - Keep every note inside its part: a 4-bar part in 4/4 is beats 0–16, so its last note must START before 16 (start + duration ≤ 16). Give each part an explicit "bars". - There is no sidechain, vocoder-on-a-voice or plugin effect to write here: use only the effects listed. Ducking and sidechains are set up in the Studio afterwards. - Use B or Bb, never H. Every pitch needs an octave: "C4", not "C". Middle C is C4. - Drum strings use only x, X, g and - (one character per step, 16 per 4/4 bar). Use the drum names listed below. - Use a "chords" track for harmony instead of writing every chord note by hand. - Place repeated material with parts + clips ("at": "Chorus"), not by copying notes. - Only use instrument names, effect types and chord styles from the lists below. - Vocals and sounds that are not notes: an "audio" track with "generate". Do not invent sound ids or URLs. - When revising an exported file, keep its "notes" list and only change what was asked. Examples Example 1: Night Drive (Synthwave with sections, parts and effects) ```json { "format": "soundgen-song", "version": 1, "title": "Night Drive", "genre": "synthwave", "bpm": 100, "key": "A minor", "timeSignature": "4/4", "sections": [ { "name": "Intro", "bars": 4 }, { "name": "Verse", "bars": 8 }, { "name": "Chorus", "bars": 8 }, { "name": "Outro", "bars": 4 } ], "tracks": [ { "name": "Drums", "type": "drums", "kit": "techno", "volume": -4, "parts": { "groove": { "pattern": { "kick": "x---x---x---x---", "snare": "----x-------x---", "hat": "--x---x---x---x-" } }, "drive": { "pattern": { "kick": "x---x---x---x---", "clap": "----X-------X---", "hat": "x-x-x-x-x-x-x-x-", "openHat": "--------------x-" } } }, "clips": [ { "part": "groove", "at": "Verse" }, { "part": "drive", "at": "Chorus" } ] }, { "name": "Bass", "type": "chords", "instrument": "bass", "style": "octave-bass", "volume": -6, "chords": [ "Am", "F", "C", "G" ], "clips": [ { "at": [ "Verse", "Chorus" ] } ] }, { "name": "Pad", "type": "chords", "instrument": "pad", "style": "block", "volume": -12, "chords": [ "Am", "F", "C", "G" ], "effects": [ { "type": "reverb", "style": "hall", "mix": 0.35, "decay": 4 } ] }, { "name": "Lead", "type": "instrument", "instrument": "lead", "volume": -8, "pan": 0.2, "effects": [ { "type": "delay", "time": "1/8.", "feedback": 0.35, "mix": 0.25 } ], "parts": { "hook": { "bars": 4, "notes": [ { "pitch": "E5", "start": 0, "duration": 1.5 }, { "pitch": "D5", "start": 1.5, "duration": 0.5 }, { "pitch": "C5", "start": 2, "duration": 2 }, { "pitch": "C5", "start": 4, "duration": 1 }, { "pitch": "D5", "start": 5, "duration": 1 }, { "pitch": "E5", "start": 6, "duration": 2 }, { "pitch": "G5", "start": 8, "duration": 1.5, "velocity": 0.9 }, { "pitch": "E5", "start": 9.5, "duration": 0.5 }, { "pitch": "D5", "start": 10, "duration": 2 }, { "pitch": "C5", "start": 12, "duration": 1 }, { "pitch": "B4", "start": 13, "duration": 1 }, { "pitch": "A4", "start": 14, "duration": 2 } ] } }, "clips": [ { "part": "hook", "at": "Chorus", "repeat": 2 } ] } ], "master": { "volume": -1, "effects": [ { "type": "glue", "threshold": -18, "ratio": 2 }, { "type": "limiter", "ceiling": -1 } ] } } ``` Example 2: Sunday Waltz (A 3/4 waltz: chord style + melody) ```json { "format": "soundgen-song", "version": 1, "title": "Sunday Waltz", "bpm": 132, "key": "F major", "timeSignature": "3/4", "sections": [ { "name": "A", "bars": 8 }, { "name": "B", "bars": 8 } ], "tracks": [ { "name": "Accompaniment", "type": "chords", "instrument": "piano", "style": "oompah", "chords": [ "F", "F", "C7", "C7", "C7", "C7", "F", "F", "Bb", "Bb", "F", "F", "G7", "C7", "F", "F" ], "volume": -8 }, { "name": "Melody", "type": "instrument", "instrument": "flute", "volume": -4, "notes": [ { "pitch": "A4", "start": 0, "duration": 2 }, { "pitch": "C5", "start": 2, "duration": 1 }, { "pitch": "F5", "start": 3, "duration": 3 }, { "pitch": "E5", "start": 6, "duration": 2 }, { "pitch": "D5", "start": 8, "duration": 1 }, { "pitch": "C5", "start": 9, "duration": 3 }, { "pitch": "G4", "start": 12, "duration": 2 }, { "pitch": "A4", "start": 14, "duration": 1 }, { "pitch": "Bb4", "start": 15, "duration": 3 }, { "pitch": "A4", "start": 18, "duration": 3 }, { "pitch": "F4", "start": 21, "duration": 3 } ], "effects": [ { "type": "reverb", "style": "room", "mix": 0.2 } ] } ] } ``` Example 3: Rainy Window (Lo-fi loop with a part to generate) ```json { "format": "soundgen-song", "version": 1, "title": "Rainy Window", "genre": "lo-fi hip hop", "bpm": 82, "key": "D minor", "bars": 16, "tracks": [ { "name": "Keys", "type": "chords", "instrument": "epiano", "style": "strum", "chords": [ "Dm9", "Gm7", "Cmaj7", "A7" ], "volume": -9, "effects": [ { "type": "eq", "lowCut": 120, "high": -3 }, { "type": "bitcrusher", "bits": 12 } ] }, { "name": "Beat", "type": "drums", "volume": -5, "pattern": { "kick": "x-----x---x-----", "snare": "----x-------x---", "hat": "x-xgx-x-x-xgx-x-" } }, { "name": "Vinyl texture", "type": "audio", "volume": -18, "generate": { "prompt": "vinyl crackle and soft rain ambience, no music", "seconds": 45, "kind": "sfx" } } ] } ``` Example 4: Parking Lot Anthem (Rock: verse/chorus parts, a fill, strummed guitar) ```json { "format": "soundgen-song", "version": 1, "title": "Parking Lot Anthem", "genre": "garage rock", "bpm": 148, "key": "E major", "timeSignature": "4/4", "sections": [ { "name": "Verse", "bars": 8 }, { "name": "Chorus", "bars": 8 }, { "name": "Verse", "bars": 8 }, { "name": "Chorus", "bars": 8 } ], "tracks": [ { "name": "Drums", "type": "drums", "kit": "acoustic", "volume": -3, "parts": { "verse": { "pattern": { "kick": "x-----x-x-------", "snare": "----x-------x---", "hat": "x-x-x-x-x-x-x-x-" } }, "chorus": { "pattern": { "kick": "x-x---x-x-x---x-", "snare": "----x-------x---", "ride": "x-x-x-x-x-x-x-x-" } }, "fill": { "bars": 1, "pattern": { "snare": "----x-x-xxxxXXXX", "highTom": "--x-------------", "crash": "---------------x" } } }, "clips": [ { "part": "verse", "bar": 1, "bars": 7 }, { "part": "fill", "bar": 8 }, { "part": "chorus", "at": "Chorus" }, { "part": "verse", "bar": 17, "bars": 7 }, { "part": "fill", "bar": 24 } ] }, { "name": "Rhythm Guitar", "type": "chords", "instrument": "guitar", "style": "strum", "volume": -7, "pan": -0.4, "chords": [ "E", "E", "A", "B" ], "effects": [ { "type": "distortion", "drive": 0.6, "tone": 0.6 } ] }, { "name": "Bass", "type": "chords", "instrument": "bass", "style": "root-fifth-bass", "volume": -6, "chords": [ "E", "E", "A", "B" ] }, { "name": "Lead Guitar", "type": "instrument", "instrument": "guitar", "volume": -8, "pan": 0.4, "effects": [ { "type": "distortion", "drive": 0.7 }, { "type": "delay", "time": "1/4", "feedback": 0.25, "mix": 0.2 } ], "parts": { "riff": { "bars": 2, "notes": [ { "pitch": "B4", "start": 0, "duration": 0.5 }, { "pitch": "G#4", "start": 0.5, "duration": 0.5 }, { "pitch": "E4", "start": 1, "duration": 1 }, { "pitch": "F#4", "start": 2.5, "duration": 0.5 }, { "pitch": "G#4", "start": 3, "duration": 1 }, { "pitch": "B4", "start": 4, "duration": 0.5, "velocity": 0.9 }, { "pitch": "C#5", "start": 4.5, "duration": 0.5 }, { "pitch": "B4", "start": 5, "duration": 1 }, { "pitch": "A4", "start": 6, "duration": 1 }, { "pitch": "G#4", "start": 7, "duration": 1 } ] } }, "clips": [ { "part": "riff", "at": "Chorus", "bars": 8 } ] } ], "master": { "effects": [ { "type": "glue", "threshold": -16, "ratio": 2 }, { "type": "limiter", "ceiling": -1 } ] } } ``` Output Reply with only the Song JSON object. Schema: https://soundgen.ai/schemas/soundgen-song-v1.json