..

A Grammar for Lead Sheet

1. File Layout

Title: Autumn Leaves
Composer: Joseph Kosma
Rhythm: 4/4
Key: bb
Chord Beat: 1
Note Beat: 4
Octave: 4
Clef: treble

Section(A): {
Chord:
Cm7 | F7 | BbM7 | EbM7 |

Melody:
R G A B | E5--- | - F G A | D5- D5- |
}

2. Metadata

Adhoc Metadata You can insert one or more metadata into a section for adhoc use. For example:

Section(B): {
Key: bbbb
Chord:
AbM | Gb7#11 | Cm7 | F7#9 |
...
}

3. Bar Lines

Example

|1 Cm7 | F7 | F7 | Bb7 :|
|2 Cm7 | Fm7 | Bb7 | Eb69 |

The line breaks in the first line of each section will be enforced in the output score.

4. Duration

We use the following duration notations:

Examples:

G               : 1 beat
G-              : 2 beat
G--             : 3 beats
|R G_|          : 3 beats (assume 4/4)
.G              : 0.5 beat
G.              : 1.5 beats
..G             : 0.25 beat
|R G-- | ----|  : 7 beats

5. Note

5.1. Pitch

5.2. Octave

5.3. Triplets

Three notes in the time of two units:

| Bb- (Ab C Eb)3 |

See lady bird.lead for example.

5.4. Multiple pitches at once (chord tones).

Brace several note names; they share one duration:

| C C C {C E G} |        

6. Chord

Any text is accepted. Here are the common ones.

For chord notation, see Chord Essentials.

Last updated @2026.5