Skip to content

Sheet music in a ChordPro song: ABC notation

Sometimes chords aren’t enough. The intro has a fixed riff, the horn section a melody that everyone should play the same way. For this you can write sheet music right into the song. ChordPro uses ABC notation for it, a way of writing sheet music as plain text.

Source

{title: Ode to Joy}
{key: D}
{start_of_abc: Melody}
X:1
M:4/4
L:1/4
K:D
|: FFGA | AGFE | DDEF | F>E E2 :|
{end_of_abc}
{start_of_verse}
[D]Sing with joy, a [A]song of gladness
{end_of_verse}

Result in GigSpace

Ode to Joy
Melody
DSing with joy, a Asong of gladness

GigSpace sets everything between {start_of_abc} and {end_of_abc} as a staff. The text after the colon appears as a heading above it, here “Melody”. Before and after, the song goes on as usual with chords.

How ABC sheet music is built is described on the page ABC notation: sheet music as its own source. It also describes what GigSpace does with the sheet music while you play, from transposing to the Note size slider.

  • Transposing: Chords and notes move by the same number of semitones.
  • Chord names: The setting for German chord names applies to the chords in the text. It doesn’t change the sheet music itself.
  • Length: A sheet music block may contain at most 64 KB of text.

If you forget {end_of_abc}, the sheet music block ends at the next section at the latest, for example at {start_of_chorus}. That way the chorus stays a chorus and isn’t read as sheet music.

If you only have sheet music and no lyrics, you don’t need ChordPro around it. Add the sheet music as its own source, as described under Sheet music as its own source.

{start_of_abc} is part of the ChordPro standard. Apps that can typeset ABC also show the block as sheet music. Others show the ABC text or leave the block out. The lyrics with the chords stay readable everywhere.