Examples

Each block below is drawn live by the library, from the source shown above it. Copy a source into a note to use it.

Guitar chords

Open chords, by symbol, frets and fingers:

```chord
C x32010 x32010
```
C x32010 x32010
```chord
G 320003 210003
```
G 320003 210003

A barre chord (the same finger across several strings draws a barre):

```chord
F 133211 134211
```
F 133211 134211

Up the neck, with frets above 9 separated by dashes:

```chord
symbol: A
frets: x-12-14-14-14-12
fingers: x-1-2-3-4-1
title: A (12th fret)
```
symbol: A
frets: x-12-14-14-14-12
fingers: x-1-2-3-4-1
title: A (12th fret)

By symbol only: the most common voicing from the built-in database, or another one with voicing:

```chord
Cmaj7
```
Cmaj7
```chord
Cmaj7
voicing: 3
```
Cmaj7
voicing: 3

Another tuning:

```chord
symbol: Dsus4
frets: 000000
tuning: DADGAD
title: Dsus4 (DADGAD)
```
symbol: Dsus4
frets: 000000
tuning: DADGAD
title: Dsus4 (DADGAD)

A ukulele chord:

```chord
symbol: C
frets: 0003
fingers: 0003
tuning: ukulele
title: C (ukulele)
```
symbol: C
frets: 0003
fingers: 0003
tuning: ukulele
title: C (ukulele)

All the ways to play a chord

Every E minor voicing in the first position:

```chord
Em
voicings: all
area: open
columns: 6
```
Em
voicings: all
area: open
columns: 6

G major triads on the three highest strings, in every inversion:

```chord
G
voicings: all
strings: 1-3
inversion: any
```
G
voicings: all
strings: 1-3
inversion: any

F with the root on the A string:

```chord
F
voicings: 4
root-string: 5
```
F
voicings: 4
root-string: 5

C on a ukulele:

```chord
C
voicings: 4
tuning: ukulele
```
C
voicings: 4
tuning: ukulele

Triads and transitions

D major triads on the middle strings:

```chord
D
triads: 2-4
```
D
triads: 2-4

The seven triads of G major on the three highest strings, in first inversion:

```chord
key: G major
triads: 1-3
inversion: 1
columns: 7
```
key: G major
triads: 1-3
inversion: 1
columns: 7

From G to C, the easiest voicings, then a whole progression:

```chord
from: G 320003
to: C
count: 3
```
from: G 320003
to: C
count: 3
```chord
progression: A, D, E, A
columns: 4
```
progression: A, D, E, A
columns: 4

Tabs and scores

A riff in tablature:

```tab
\tempo 90
.
:8 5.4 7.4 5.3 7.3 | 5.4 7.4 5.3 7.3 | 0.6 3.6 5.6 3.6 0.6 r r r
```
\tempo 90
.
:8 5.4 7.4 5.3 7.3 | 5.4 7.4 5.3 7.3 | 0.6 3.6 5.6 3.6 0.6 r r r

A scale in notation and tablature:

```score
staves: both
:8 3.5 5.5 2.4 3.4 5.4 2.3 4.3 5.3
```
staves: both
:8 3.5 5.5 2.4 3.4 5.4 2.3 4.3 5.3

Chords in words, and chords recognized

Written the way chord notes are titled:

```chord
F Sharp Minor 7 x-x-4-6-5-5 x-x-1-3-2-2
---
B Flat Major x13331 x12341
```
F Sharp Minor 7 x-x-4-6-5-5 x-x-1-3-2-2
---
B Flat Major x13331 x12341

Only frets: the library names the chord.

```chord
frets: x02210
---
frets: xx0212
---
frets: 320001
```
frets: x02210
---
frets: xx0212
---
frets: 320001

Piano chords

From a symbol, in root position from middle C:

```chord
Am7
instrument: piano
```
Am7
instrument: piano

A slash chord with fingering (the bass goes an octave below):

```chord
C/G
instrument: piano
fingering: 5-1-2-4
```
C/G
instrument: piano
fingering: 5-1-2-4

Exact pitches, for an inversion:

```chord
symbol: C
pitches: E4 G4 C5
fingering: 1-2-5
title: C (first inversion)
```
symbol: C
pitches: E4 G4 C5
fingering: 1-2-5
title: C (first inversion)

Keyboards

A scale with its degrees:

```keyboard
scale: E harmonic minor
labels: degrees
```
scale: E harmonic minor
labels: degrees

A chord with its intervals:

```keyboard
chord: G7
labels: intervals
range: C3-B4
```
chord: G7
labels: intervals
range: C3-B4

Fretboards

The A minor pentatonic box, with intervals:

```fretboard
scale: A minor pentatonic
frets: 5-8
labels: intervals
```
scale: A minor pentatonic
frets: 5-8
labels: intervals

The G major scale over the first 12 frets:

```fretboard
scale: G major
frets: 0-12
```
scale: G major
frets: 0-12

Every E on the neck, in Drop D:

```fretboard
notes: E
tuning: Drop D
frets: 0-12
labels: none
```
notes: E
tuning: Drop D
frets: 0-12
labels: none

Rows and grids

A song’s chords, with fingers:

```chord
G 320003 210003
---
Em 022000 023000
---
C x32010 x32010
---
D xx0232 xx0132
```
G 320003 210003
---
Em 022000 023000
---
C x32010 x32010
---
D xx0232 xx0132

The I–IV–V in A on piano, in a grid:

```chord
instrument: piano
columns: 3
---
A
---
D
---
E7
```
instrument: piano
columns: 3
---
A
---
D
---
E7

The first three positions of the A minor pentatonic, standing up:

```fretboard
orientation: vertical
labels: intervals
---
A minor pentatonic
frets: 5-8
---
A minor pentatonic
frets: 7-10
---
A minor pentatonic
frets: 9-13
```
orientation: vertical
labels: intervals
---
A minor pentatonic
frets: 5-8
---
A minor pentatonic
frets: 7-10
---
A minor pentatonic
frets: 9-13

Scales and modes

Every mode of C major, with its characteristic note:

```keyboard
modes: C major
range: C4-B4
columns: 4
```
modes: C major
range: C4-B4
columns: 4

D dorian against D natural minor: the major sixth (B) is what changes.

```fretboard
D dorian
compare: natural minor
frets: 3-7
labels: intervals
```
D dorian
compare: natural minor
frets: 3-7
labels: intervals

The five boxes of the A minor pentatonic:

```fretboard
A minor pentatonic
positions: all
labels: intervals
```
A minor pentatonic
positions: all
labels: intervals

The C major scale in its five CAGED shapes, from the E shape up the neck:

```fretboard
C major
positions: all
```
C major
positions: all

C major with its fingering, right hand:

```keyboard
C major
fingering: 1 2 3 1 2 3 4 5
```
C major
fingering: 1 2 3 1 2 3 4 5

Left-handed

```chord
hand: left
---
C x32010 x32010
---
F 133211 134211
```
hand: left
---
C x32010 x32010
---
F 133211 134211
```fretboard
E minor pentatonic
frets: 0-5
hand: left
```
E minor pentatonic
frets: 0-5
hand: left

Chord charts

A chart transposed up a whole step (chords and key move, spelled for the new key):

```chords
{title: Morning Song}
{artist: Practice Example}
{key: G}
{transpose: 2}

[G]Coffee on the [D/F#]table, [Em]sunlight on the [C]floor
[G]Strings a little [D]out of tune, I [C]tune them [D]once more

{start_of_chorus}
[C]Play it [G]slow, [D]play it [Em]right
[C]One more [G]time, [D]then call it a [G]night
{end_of_chorus}

{comment: Repeat the chorus, slower}
```
{title: Morning Song}
{artist: Practice Example}
{key: G}
{transpose: 2}

[G]Coffee on the [D/F#]table, [Em]sunlight on the [C]floor
[G]Strings a little [D]out of tune, I [C]tune them [D]once more

{start_of_chorus}
[C]Play it [G]slow, [D]play it [Em]right
[C]One more [G]time, [D]then call it a [G]night
{end_of_chorus}

{comment: Repeat the chorus, slower}

Mistakes

A block with a mistake explains what to write instead:

```chord
A
instrument: banjo
```
A
instrument: banjo