Tapestra Discord Get Tapestra

Spec · version 1

tapestra-score/1

Every Tapestra song is one small JSON file: when the band starts, which chord it plays, which piano notes go on top, when the effects come in and what the caption says. The app's engine plays it; the file only says what happens when. A person can write one by hand, the app can record one, and an AI chat can write one from a short description.

01

Overview

A score is a JSON object with a few header fields and a list of events. Every event has a time t in ticks and one kind: a section change for the auto-accompaniment band, a chord, a note, a pad hit, an fx change or a caption. The band itself (drums, bass, guitar, strings) is not written note by note: it comes from one of the app's eight accompaniment styles and follows the sections and chords.

This is the smallest score the app accepts and plays: one bar of intro, one bar of C major with a three-note melody, then an ending.

{
  "format": "tapestra-score/1",
  "title": "Hello band",
  "style": "8beat_pop",
  "bpm": 110,
  "ppq": 24,
  "key": "C",
  "events": [
    {"t": 0,   "section": "INTRO"},
    {"t": 0,   "chord": "C"},
    {"t": 0,   "caption": "Intro"},
    {"t": 90,  "section": "MAIN_A"},
    {"t": 96,  "n": "E5", "v": 96, "d": 22},
    {"t": 120, "n": "G5", "v": 96, "d": 22},
    {"t": 144, "n": "C6", "v": 96, "d": 46},
    {"t": 186, "section": "ENDING"},
    {"t": 192, "caption": "Ending"}
  ]
}

The rules on this page are taken from the app's parser and validator (Score.fromJson and Score.validate in lib/core/score.dart, called by EngineService.importScore when you paste a score into the app), the score player and the accompaniment engine.

02

Top-level fields

FieldTypeDefaultMeaning
formatstringrequiredExactly "tapestra-score/1". Anything else is rejected.
titlestring"Untitled"Name shown in the app's Scores list.
stylestring"8beat_pop"The accompaniment style that plays the band. One of 8beat_pop, 16beat_funk, pop_ballad, bossa_nova, jazz_swing, vienna_waltz, slow_rock, disco. Any other id is rejected on import. A score in one of the five Pro styles imports fine but needs Tapestra Pro to play; the free styles are 8beat_pop, pop_ballad and bossa_nova.
bpmnumber120Tempo in beats per minute for both the score and the band (it replaces the style's own tempo). Clamped to 30–300.
ppqnumber24Ticks per quarter note. Decimals are truncated. Use 24: it is what every built-in style and score uses.
keystring"C"For people and AIs reading the score. The engine ignores it.
eventsarray[]The performance. Must contain at least one event and at least one section event (see validation).

Unknown top-level fields are ignored, so you can keep your own notes in a score. When the app saves a score it writes the six header fields and the events back in its own normalised form (note names become MIDI numbers, all defaults are written out).

03

Ticks and timing

Time is counted in ticks, never in milliseconds, so a score keeps its shape when you change the tempo. With ppq ticks per quarter note one tick lasts 60000 / bpm / ppq milliseconds. At the usual ppq: 24:

LengthTicks
Quarter note (one beat)24
Eighth note12
Sixteenth note6
One bar of 4/496
One bar of 3/4 (vienna_waltz) or 6/8 (slow_rock)72

The bar length comes from the style's meter (ppq × 4 × numerator / denominator): vienna_waltz is 3/4, slow_rock is 6/8, the other six styles are 4/4. The score does not set a meter itself; write your bars to match the style you pick. jazz_swing swings its own eighth notes; tick positions in the score are played straight.

The app plays a score from a 10 ms timer, so an event can land up to about 10 ms late. Section and chord changes are quantised by the band anyway (next beat or next bar line).

04

Events

Each event is an object with t (a number of ticks, 0 or more; decimals are truncated) and the field that names its kind. Several events can share the same t, and they may be listed in any order: the app sorts them by tick.

The kind is decided by the first of these keys the object has, in this order: section, chord, n, pad, fx, caption. Other keys on the same object are ignored, so {"t": 0, "chord": "C", "caption": "Go"} is a chord event and the caption is lost. Write one kind per event. An object with none of these keys is an error.

KindShape
Section{"t": 0, "section": "INTRO"}
Chord{"t": 96, "chord": "Am"}
Note{"t": 96, "n": "C5", "v": 96, "d": 20, "ch": 0}
Pad hit{"t": 0, "pad": 6, "v": 120, "d": 6}
Effect{"t": 0, "fx": "reverb", "on": true, "mix": 0.3}
Caption{"t": 0, "caption": {"en": "Intro", "zh_Hant": "前奏"}}

05

Sections

{"t": …, "section": ""} drives the accompaniment band like the section buttons of an arranger keyboard. The names are:

SectionSwitchesWhen it runs out
INTROnext beatgoes on to MAIN_A
MAIN_Anext bar lineloops
MAIN_Bnext bar lineloops
FILL_Anext beatgoes on to MAIN_A
FILL_Bnext beatgoes on to MAIN_B
BREAKnext beatgoes on to MAIN_A
ENDINGnext beatthe band stops
  • The first section event starts the band in that section. Every later one is a request, applied at the next beat or bar line as in the table. If another section was requested while one was playing out, the band goes to the requested one instead of the default.
  • A fill, break or ending that cuts in mid-bar starts at the same position within its own pattern, so it still finishes on the bar line.
  • Because a request waits for the next beat or bar line, send it a little before the line you want. The built-in songs send it 6 ticks (a sixteenth) early: a MAIN_B at t: 474 takes over at the bar line at 480.
  • With no section event the band never starts, and the app refuses the score.
  • The score is finished when every event has played and the band has stopped (after ENDING), or two bars after the last event if the band is still running.

06

Chords

{"t": …, "chord": "F#m"} sets the chord the band plays from that tick on. The text is a root A–G, an optional # or b, then anything. The chord is minor when the rest starts with m but not maj; otherwise it is major. Everything after that is accepted and ignored, because the band plays major and minor triads:

  • C, Bb, F#, G7, Gmaj7, Csus4 → major
  • Am, F#m7, Ebm → minor
  • H7, c, "" → error (bad chord)

Change chords on bar lines (or beats) to sound like a band. The chord event does not play anything by itself: it only tells the band what to play.

07

Notes

{"t": …, "n": "C5", "v": 96, "d": 20, "ch": 0} plays a note on the app's General MIDI synth, on top of the band.

FieldDefaultMeaning
nrequiredA MIDI note number (60 = middle C), or a name: letter, optional #/b, one-digit octave, with C4 = 60. C5, F#3, Bb2, C-1 are valid; C10 and do are errors. Results are clamped to 0–127.
v100Velocity, clamped to 1–127.
dppq / 2 (12)Length in ticks (at least 1). The note is released after d ticks.
ch0MIDI channel, clamped to 0–15. Channel 0 is set to the piano when the score starts. Channel 9 is General MIDI percussion (note numbers pick drums). Channels 1–4 are the band's bass, two accompaniment parts and pad, with the style's sounds.

08

Pad hits

{"t": …, "pad": 6, "v": 120, "d": 6} hits a pad of the drum kit currently loaded in the app, exactly like a finger on the Pads screen.

  • pad is the 0-based pad number. Import rejects anything outside 0–15. The built-in kits have 8 pads (0–7); a pad number past the end of the loaded kit is skipped when the score plays.
  • v is the velocity (default 110, clamped to 1–127); it sets how hard the pad is hit.
  • d is how long the pad is held before release, in ticks (default ppq / 4, 6).

Because pad hits depend on the kit the listener has loaded, the built-in songs use no pad events and let the band play the groove.

09

Effects

{"t": …, "fx": "delay", "on": true, "time": 420, "mix": 0.12} switches an effect on the master bus on or off (on, optional boolean) and sets any of its parameters. These are the same effects and settings as the app's FX screen, so a change made by a score is still there after it ends. Parameters with other names, or values that are not numbers, are ignored. The engine clamps each value to the range below.

fxParameters (range)
eqband0 40 Hz shelf, band1 200 Hz, band2 1 kHz, band3 4 kHz, band4 12 kHz shelf: gain in dB (−12 to 12)
compressorthreshold dB (−60 to 0), ratio (1 to 20), attack ms, release ms, makeup dB (0 to 24)
pitchsemitones (−12 to 12), mix (0 to 1)
flangerrate Hz (0.05 to 10), depth (0 to 1), feedback (0 to 0.95), mix (0 to 1)
delaytime ms (1 to 2000), feedback (0 to 0.95), mix (0 to 1), pingpong (on when above 0.5)
reverbroom, damp, width, mix (each 0 to 1)
bass (also bassBoost)gain dB (0 to 12)

Any other fx name is an error. When the app saves a score, the bass effect is written as bassBoost; both names are read.

10

Captions

{"t": …, "caption": …} shows a line of text from that tick until the next caption. The value is either a plain string (treated as English) or an object of locale code to text:

{"t": 0, "caption": {"en": "Intro… the band comes in", "zh_Hant": "前奏……樂隊進來了", "zh_Hans": "前奏……乐队进来了"}}

The app looks up its own locale (zh_Hant), then the language alone (zh), then en, then the first entry. The app UI is in English and Chinese, so en, zh_Hant and zh_Hans are the useful keys.

11

Validation errors

To add a score to the app, copy its JSON, open Recordings, and under Scores tap Paste a score. The app reads the clipboard, parses and checks the score, and saves it only if both pass; otherwise it shows the reason (cut to 120 characters). These are the reasons you can get:

MessageCause
unsupported score format: …format is missing or not tapestra-score/1.
event without a valid "t": …An event has no t, or a negative one.
unknown section "…" at tick …A section name that is not in the list.
bad chord "…"The chord does not start with A–G.
bad note "…"A note name that is not letter + optional #/b + one-digit octave.
unknown fx "…" at tick …An effect name that is not in the table.
event with no recognised field at tick …An event with none of section, chord, n, pad, fx, caption.
unknown style "…"style is not one of the eight style ids.
no eventsevents is missing or empty.
no section event — the band never startsNo event is a section.
pad index out of range at tick …A pad outside 0–15.
a type errorA value of the wrong JSON type, for example "v": "loud", "on": "yes", a non-string title, or text that is not JSON at all.

Several validation problems are joined with ; . Values that are only out of range (tempo, velocity, note number, channel, effect parameters) are clamped, not rejected.

12

JSON Schema

A JSON Schema (draft 2020-12) of the format is at https://tapestra.app/schema/tapestra-score-1.json. Point your editor or validator at it, or reference it from a score:

{ "$schema": "https://tapestra.app/schema/tapestra-score-1.json", "format": "tapestra-score/1", … }

The app ignores the extra $schema field. The schema accepts what the app accepts, with three small differences, all on the strict side: it requires a ppq above 0 (the app does not check, but cannot play 0), it requires effect parameters to be numbers (the app silently ignores other values), and caption objects must map to strings. Every song on this site and every score bundled with the app passes it.

13

Examples

Three complete scores, exactly as the site plays them. Listen to them on the home page or read them bar by bar in the score viewer.

Rainy Bossa bossa_nova · 112 BPM · 4/4 · the app's demo song · raw
{
  "format": "tapestra-score/1",
  "title": "Demo — Bossa Nova",
  "style": "bossa_nova",
  "bpm": 112,
  "ppq": 24,
  "key": "C",
  "events": [
    {"t": 0, "fx": "reverb", "on": true, "mix": 0.3},
    {"t": 0, "chord": "C"},
    {"t": 0, "section": "INTRO"},
    {"t": 0, "caption": {"en": "Intro… the band comes in", "zh_Hant": "前奏……樂隊進來了", "zh_Hans": "前奏……乐队进来了"}},
    {"t": 96, "chord": "C"},
    {"t": 96, "caption": {"en": "Chord: C", "zh_Hant": "和弦:C", "zh_Hans": "和弦:C"}},
    {"t": 96, "n": "C5", "v": 96, "d": 20},
    {"t": 120, "n": "E5", "v": 96, "d": 20},
    {"t": 144, "n": "G5", "v": 96, "d": 20},
    {"t": 168, "n": "E5", "v": 96, "d": 20},
    {"t": 192, "chord": "G"},
    {"t": 192, "caption": {"en": "Chord: G", "zh_Hant": "和弦:G", "zh_Hans": "和弦:G"}},
    {"t": 192, "n": "D5", "v": 96, "d": 20},
    {"t": 216, "n": "G5", "v": 96, "d": 20},
    {"t": 240, "n": "B5", "v": 96, "d": 20},
    {"t": 264, "n": "G5", "v": 96, "d": 20},
    {"t": 288, "chord": "Am"},
    {"t": 288, "caption": {"en": "Chord: Am", "zh_Hant": "和弦:Am", "zh_Hans": "和弦:Am"}},
    {"t": 288, "section": "MAIN_B"},
    {"t": 312, "caption": {"en": "Switching to variation B", "zh_Hant": "切換到 B 段", "zh_Hans": "切换到 B 段"}},
    {"t": 288, "n": "C5", "v": 96, "d": 20},
    {"t": 312, "n": "E5", "v": 96, "d": 20},
    {"t": 336, "n": "A5", "v": 96, "d": 20},
    {"t": 360, "n": "E5", "v": 96, "d": 20},
    {"t": 384, "chord": "F"},
    {"t": 384, "caption": {"en": "Chord: F", "zh_Hant": "和弦:F", "zh_Hans": "和弦:F"}},
    {"t": 384, "n": "C5", "v": 96, "d": 20},
    {"t": 408, "n": "F5", "v": 96, "d": 20},
    {"t": 432, "n": "A5", "v": 96, "d": 20},
    {"t": 456, "n": "F5", "v": 96, "d": 20},
    {"t": 480, "chord": "C"},
    {"t": 480, "caption": {"en": "Chord: C", "zh_Hant": "和弦:C", "zh_Hans": "和弦:C"}},
    {"t": 480, "n": "C5", "v": 96, "d": 20},
    {"t": 504, "n": "E5", "v": 96, "d": 20},
    {"t": 528, "n": "G5", "v": 96, "d": 20},
    {"t": 552, "n": "E5", "v": 96, "d": 20},
    {"t": 576, "chord": "G"},
    {"t": 576, "caption": {"en": "Chord: G", "zh_Hant": "和弦:G", "zh_Hans": "和弦:G"}},
    {"t": 576, "n": "D5", "v": 96, "d": 20},
    {"t": 600, "n": "G5", "v": 96, "d": 20},
    {"t": 624, "n": "B5", "v": 96, "d": 20},
    {"t": 648, "n": "G5", "v": 96, "d": 20},
    {"t": 672, "chord": "Am"},
    {"t": 672, "caption": {"en": "Chord: Am", "zh_Hant": "和弦:Am", "zh_Hans": "和弦:Am"}},
    {"t": 672, "n": "C5", "v": 96, "d": 20},
    {"t": 696, "n": "E5", "v": 96, "d": 20},
    {"t": 720, "n": "A5", "v": 96, "d": 20},
    {"t": 744, "n": "E5", "v": 96, "d": 20},
    {"t": 768, "chord": "F"},
    {"t": 768, "caption": {"en": "Chord: F", "zh_Hant": "和弦:F", "zh_Hans": "和弦:F"}},
    {"t": 768, "section": "FILL_A"},
    {"t": 792, "caption": {"en": "Drum fill!", "zh_Hant": "鼓過門!", "zh_Hans": "鼓过门!"}},
    {"t": 768, "n": "C5", "v": 96, "d": 20},
    {"t": 792, "n": "F5", "v": 96, "d": 20},
    {"t": 816, "n": "A5", "v": 96, "d": 20},
    {"t": 840, "n": "F5", "v": 96, "d": 20},
    {"t": 864, "chord": "C"},
    {"t": 864, "section": "ENDING"},
    {"t": 864, "n": "C5", "v": 96, "d": 96},
    {"t": 864, "n": "E5", "v": 96, "d": 96},
    {"t": 864, "n": "G5", "v": 96, "d": 96},
    {"t": 864, "caption": {"en": "Ending — the band finishes the bar", "zh_Hant": "結尾——樂隊把這小節收完", "zh_Hans": "结尾——乐队把这小节收完"}},
    {"t": 960, "caption": {"en": "Done. Now tap the chords yourself.", "zh_Hant": "完成。換你自己按和弦試試。", "zh_Hans": "完成。换你自己按和弦试试。"}}
  ]
}
Taipei Rain Song pop_ballad · 76 BPM · 4/4 · reverb and ping-pong delay · raw
{
  "format": "tapestra-score/1",
  "title": "Taipei Rain Song",
  "style": "pop_ballad",
  "bpm": 76,
  "ppq": 24,
  "key": "C",
  "events": [
    {"t": 0, "fx": "reverb", "on": true, "room": 0.7, "mix": 0.35},
    {"t": 0, "fx": "delay", "on": true, "time": 420, "feedback": 0.25, "mix": 0.12, "pingpong": 1},
    {"t": 0, "chord": "F"},
    {"t": 0, "section": "INTRO"},
    {"t": 0, "caption": {"en": "Ballad: a slow 4/4 with rain-hall reverb", "zh_Hant": "抒情慢板:四拍,帶著雨夜大廳的殘響", "zh_Hans": "抒情慢板:四拍,带着雨夜大厅的混响"}},
    {"t": 90, "section": "MAIN_A"},
    {"t": 96, "chord": "F"},
    {"t": 96, "caption": {"en": "Verse: only five notes, C D E G A", "zh_Hant": "主歌:只用五個音,C D E G A", "zh_Hans": "主歌:只用五个音,C D E G A"}},
    {"t": 120, "n": "A4", "v": 92, "d": 22},
    {"t": 144, "n": "C5", "v": 92, "d": 22},
    {"t": 168, "n": "D5", "v": 92, "d": 22},
    {"t": 192, "chord": "G"},
    {"t": 192, "n": "E5", "v": 92, "d": 34},
    {"t": 228, "n": "D5", "v": 92, "d": 10},
    {"t": 240, "n": "C5", "v": 92, "d": 22},
    {"t": 264, "n": "D5", "v": 92, "d": 22},
    {"t": 288, "chord": "Em"},
    {"t": 288, "n": "E5", "v": 92, "d": 46},
    {"t": 336, "n": "G5", "v": 92, "d": 22},
    {"t": 360, "n": "E5", "v": 92, "d": 22},
    {"t": 384, "chord": "Am"},
    {"t": 384, "n": "A5", "v": 92, "d": 34},
    {"t": 420, "n": "G5", "v": 92, "d": 10},
    {"t": 432, "n": "E5", "v": 92, "d": 46},
    {"t": 474, "section": "MAIN_B"},
    {"t": 480, "chord": "F"},
    {"t": 480, "caption": {"en": "Chorus: the band opens up, the line climbs", "zh_Hant": "副歌:樂隊展開,旋律往上走", "zh_Hans": "副歌:乐队展开,旋律往上走"}},
    {"t": 480, "n": "A5", "v": 92, "d": 22},
    {"t": 504, "n": "C6", "v": 92, "d": 22},
    {"t": 528, "n": "A5", "v": 92, "d": 22},
    {"t": 552, "n": "G5", "v": 92, "d": 22},
    {"t": 576, "chord": "G"},
    {"t": 576, "n": "G5", "v": 92, "d": 34},
    {"t": 612, "n": "E5", "v": 92, "d": 10},
    {"t": 624, "n": "D5", "v": 92, "d": 46},
    {"t": 672, "chord": "Em"},
    {"t": 672, "n": "E5", "v": 92, "d": 22},
    {"t": 696, "n": "G5", "v": 92, "d": 22},
    {"t": 720, "n": "A5", "v": 92, "d": 22},
    {"t": 744, "n": "G5", "v": 92, "d": 22},
    {"t": 768, "chord": "Am"},
    {"t": 768, "n": "E5", "v": 92, "d": 34},
    {"t": 804, "n": "C5", "v": 92, "d": 10},
    {"t": 816, "n": "A4", "v": 92, "d": 46},
    {"t": 864, "chord": "Dm"},
    {"t": 864, "n": "D5", "v": 92, "d": 22},
    {"t": 888, "n": "A5", "v": 92, "d": 22},
    {"t": 912, "n": "G5", "v": 92, "d": 22},
    {"t": 936, "n": "E5", "v": 92, "d": 22},
    {"t": 960, "chord": "G"},
    {"t": 960, "n": "D5", "v": 92, "d": 22},
    {"t": 984, "n": "E5", "v": 92, "d": 22},
    {"t": 1008, "n": "G5", "v": 92, "d": 46},
    {"t": 1056, "chord": "C"},
    {"t": 1056, "n": "C6", "v": 92, "d": 46},
    {"t": 1104, "n": "A5", "v": 92, "d": 22},
    {"t": 1128, "n": "G5", "v": 92, "d": 22},
    {"t": 1146, "section": "FILL_B"},
    {"t": 1152, "chord": "C"},
    {"t": 1152, "n": "G5", "v": 92, "d": 22},
    {"t": 1176, "n": "E5", "v": 92, "d": 22},
    {"t": 1200, "n": "C5", "v": 92, "d": 46},
    {"t": 1242, "section": "ENDING"},
    {"t": 1248, "chord": "C"},
    {"t": 1248, "caption": {"en": "Resolve to C and let the rain fade", "zh_Hant": "回到 C,讓雨聲慢慢淡去", "zh_Hans": "回到 C,让雨声慢慢淡去"}},
    {"t": 1248, "n": "C5", "v": 92, "d": 22},
    {"t": 1272, "n": "E5", "v": 92, "d": 22},
    {"t": 1296, "n": "G5", "v": 92, "d": 22},
    {"t": 1320, "n": "C6", "v": 92, "d": 22}
  ]
}
Danube Evening vienna_waltz · 168 BPM · 3/4, 72-tick bars · raw
{
  "format": "tapestra-score/1",
  "title": "Danube Evening",
  "style": "vienna_waltz",
  "bpm": 168,
  "ppq": 24,
  "key": "D",
  "events": [
    {"t": 0, "fx": "reverb", "on": true, "room": 0.8, "mix": 0.3},
    {"t": 0, "chord": "D"},
    {"t": 0, "section": "INTRO"},
    {"t": 0, "caption": {"en": "Vienna waltz: one strong beat, two light ones", "zh_Hant": "維也納華爾滋:一強兩弱", "zh_Hans": "维也纳华尔兹:一强两弱"}},
    {"t": 66, "section": "MAIN_A"},
    {"t": 72, "chord": "D"},
    {"t": 72, "n": "A4", "v": 92, "d": 22},
    {"t": 96, "n": "D5", "v": 92, "d": 22},
    {"t": 120, "n": "F#5", "v": 92, "d": 22},
    {"t": 144, "chord": "D"},
    {"t": 144, "n": "A5", "v": 92, "d": 46},
    {"t": 192, "n": "F#5", "v": 92, "d": 22},
    {"t": 216, "chord": "A"},
    {"t": 216, "n": "E5", "v": 92, "d": 22},
    {"t": 240, "n": "A5", "v": 92, "d": 22},
    {"t": 264, "n": "G#5", "v": 92, "d": 22},
    {"t": 288, "chord": "A"},
    {"t": 288, "n": "A5", "v": 92, "d": 46},
    {"t": 360, "chord": "D"},
    {"t": 360, "n": "F#5", "v": 92, "d": 22},
    {"t": 384, "n": "A5", "v": 92, "d": 22},
    {"t": 408, "n": "D6", "v": 92, "d": 22},
    {"t": 432, "chord": "G"},
    {"t": 432, "n": "B5", "v": 92, "d": 34},
    {"t": 468, "n": "A5", "v": 92, "d": 10},
    {"t": 480, "n": "G5", "v": 92, "d": 22},
    {"t": 504, "chord": "A"},
    {"t": 504, "n": "F#5", "v": 92, "d": 22},
    {"t": 528, "n": "E5", "v": 92, "d": 22},
    {"t": 552, "n": "C#5", "v": 92, "d": 22},
    {"t": 576, "chord": "D"},
    {"t": 576, "n": "D5", "v": 92, "d": 46},
    {"t": 648, "chord": "D"},
    {"t": 648, "caption": {"en": "The tune answers itself, a step higher", "zh_Hant": "旋律用高一階的音來回答自己", "zh_Hans": "旋律用高一阶的音来回答自己"}},
    {"t": 648, "n": "D6", "v": 92, "d": 22},
    {"t": 672, "n": "C#6", "v": 92, "d": 22},
    {"t": 696, "n": "A5", "v": 92, "d": 22},
    {"t": 720, "chord": "Bm"},
    {"t": 720, "n": "B5", "v": 92, "d": 34},
    {"t": 756, "n": "A5", "v": 92, "d": 10},
    {"t": 768, "n": "F#5", "v": 92, "d": 22},
    {"t": 792, "chord": "G"},
    {"t": 792, "n": "G5", "v": 92, "d": 22},
    {"t": 816, "n": "B5", "v": 92, "d": 22},
    {"t": 840, "n": "D6", "v": 92, "d": 22},
    {"t": 864, "chord": "A"},
    {"t": 864, "n": "C#6", "v": 92, "d": 46},
    {"t": 912, "n": "A5", "v": 92, "d": 22},
    {"t": 936, "chord": "D"},
    {"t": 936, "n": "F#5", "v": 92, "d": 22},
    {"t": 960, "n": "A5", "v": 92, "d": 22},
    {"t": 984, "n": "F#5", "v": 92, "d": 22},
    {"t": 1008, "chord": "Em"},
    {"t": 1008, "n": "G5", "v": 92, "d": 22},
    {"t": 1032, "n": "E5", "v": 92, "d": 22},
    {"t": 1056, "n": "B4", "v": 92, "d": 22},
    {"t": 1080, "chord": "A"},
    {"t": 1080, "n": "C#5", "v": 92, "d": 22},
    {"t": 1104, "n": "E5", "v": 92, "d": 22},
    {"t": 1128, "n": "A5", "v": 92, "d": 22},
    {"t": 1146, "section": "FILL_A"},
    {"t": 1152, "chord": "D"},
    {"t": 1152, "n": "D5", "v": 92, "d": 70},
    {"t": 1218, "section": "MAIN_B"},
    {"t": 1224, "chord": "G"},
    {"t": 1224, "caption": {"en": "The trio: a new key, G major, and a fuller band", "zh_Hant": "三重奏:轉到 G 大調,樂隊變得更飽滿", "zh_Hans": "三重奏:转到 G 大调,乐队变得更饱满"}},
    {"t": 1224, "n": "D5", "v": 92, "d": 22},
    {"t": 1248, "n": "G5", "v": 92, "d": 22},
    {"t": 1272, "n": "B5", "v": 92, "d": 22},
    {"t": 1296, "chord": "G"},
    {"t": 1296, "n": "D6", "v": 92, "d": 46},
    {"t": 1344, "n": "B5", "v": 92, "d": 22},
    {"t": 1368, "chord": "D"},
    {"t": 1368, "n": "A5", "v": 92, "d": 22},
    {"t": 1392, "n": "D6", "v": 92, "d": 22},
    {"t": 1416, "n": "C#6", "v": 92, "d": 22},
    {"t": 1440, "chord": "D"},
    {"t": 1440, "n": "D6", "v": 92, "d": 46},
    {"t": 1512, "chord": "G"},
    {"t": 1512, "n": "B5", "v": 92, "d": 22},
    {"t": 1536, "n": "D6", "v": 92, "d": 22},
    {"t": 1560, "n": "G6", "v": 92, "d": 22},
    {"t": 1584, "chord": "C"},
    {"t": 1584, "n": "E6", "v": 92, "d": 34},
    {"t": 1620, "n": "D6", "v": 92, "d": 10},
    {"t": 1632, "n": "C6", "v": 92, "d": 22},
    {"t": 1656, "chord": "D"},
    {"t": 1656, "n": "B5", "v": 92, "d": 22},
    {"t": 1680, "n": "A5", "v": 92, "d": 22},
    {"t": 1704, "n": "F#5", "v": 92, "d": 22},
    {"t": 1722, "section": "FILL_B"},
    {"t": 1728, "chord": "G"},
    {"t": 1728, "n": "G5", "v": 92, "d": 70},
    {"t": 1794, "section": "MAIN_A"},
    {"t": 1800, "chord": "D"},
    {"t": 1800, "caption": {"en": "Back to the first tune", "zh_Hant": "回到最初的旋律", "zh_Hans": "回到最初的旋律"}},
    {"t": 1800, "n": "A4", "v": 92, "d": 22},
    {"t": 1824, "n": "D5", "v": 92, "d": 22},
    {"t": 1848, "n": "F#5", "v": 92, "d": 22},
    {"t": 1872, "chord": "D"},
    {"t": 1872, "n": "A5", "v": 92, "d": 46},
    {"t": 1920, "n": "F#5", "v": 92, "d": 22},
    {"t": 1944, "chord": "A"},
    {"t": 1944, "n": "E5", "v": 92, "d": 22},
    {"t": 1968, "n": "A5", "v": 92, "d": 22},
    {"t": 1992, "n": "G#5", "v": 92, "d": 22},
    {"t": 2016, "chord": "A"},
    {"t": 2016, "n": "A5", "v": 92, "d": 46},
    {"t": 2088, "chord": "D"},
    {"t": 2088, "n": "F#5", "v": 92, "d": 22},
    {"t": 2112, "n": "A5", "v": 92, "d": 22},
    {"t": 2136, "n": "D6", "v": 92, "d": 22},
    {"t": 2160, "chord": "G"},
    {"t": 2160, "n": "B5", "v": 92, "d": 34},
    {"t": 2196, "n": "A5", "v": 92, "d": 10},
    {"t": 2208, "n": "G5", "v": 92, "d": 22},
    {"t": 2232, "chord": "A"},
    {"t": 2232, "n": "F#5", "v": 92, "d": 22},
    {"t": 2256, "n": "E5", "v": 92, "d": 22},
    {"t": 2280, "n": "C#5", "v": 92, "d": 22},
    {"t": 2298, "section": "FILL_A"},
    {"t": 2304, "chord": "D"},
    {"t": 2304, "n": "D5", "v": 92, "d": 46},
    {"t": 2370, "section": "ENDING"},
    {"t": 2376, "chord": "D"},
    {"t": 2376, "caption": {"en": "Last bar: the waltz bows out", "zh_Hant": "最後一小節:華爾滋行禮謝幕", "zh_Hans": "最后一小节:华尔兹行礼谢幕"}},
    {"t": 2376, "n": "D5", "v": 92, "d": 22},
    {"t": 2400, "n": "F#5", "v": 92, "d": 22},
    {"t": 2424, "n": "A5", "v": 92, "d": 22}
  ]
}

14

Write one with an AI

The format is small enough for any AI chat to write. The Learn page has a ready-made prompt: copy it, describe the song you want at the end (a mood, a speed, a place or a decade), copy the reply, and tap Paste a score under Scores on the app's Recordings screen. If the app reports an error from the table above, paste the message back into the chat and ask it to fix the score.

Two things make AI scores sound better: ask for one chord per bar and for each section request 6 ticks before its bar line.

15

Embed a song

Any of the songs on this site can go on your own page with a small player that draws the score as a piano roll while it plays. Copy this and change id to one of rainy_bossa, danube_evening, 52nd_street_midnight, delta_slow_burn, taipei_rain_song, neon_tokyo_1984, mirrorball_avenue, camden_sunday:

<iframe src="https://tapestra.app/embed.html?id=rainy_bossa"
        title="Rainy Bossa, made with Tapestra"
        width="100%" height="232" style="border:0;border-radius:16px;max-width:720px"
        loading="lazy"></iframe>

The player sets no cookies and loads no analytics or third-party scripts. Open the player on its own.