Skip to main content

ABC (music notation)

Renders standard music notation written as text into sheet music. Useful for anyone studying music theory or trying to recall a melody.

Syntax

```abc
X:1
T:Example Melody
M:4/4
L:1/4
K:C
C D E F | G A B c |
```

What it's for

You can embed a melody, a chord progression, or a note exercise directly inside a note. The lines following header fields like X (reference number), T (title), M (meter), L (default note length), and K (key) represent the notes.

Source

The full syntax of ABC notation: paulrosen.github.io/abcjs (the abcjs library's own documentation). Tsunagi uses this library directly, so every example there works as-is.

Tsunagi-specific note

Rendering works entirely offline; no additional file or resource download is required.