Skip to content

Quick Start

Note Format

Every note in Gen follows this pattern:

[octave][note][accidental][rhythm]
PartDescriptionExample
Octave^ (up), _ (down)^C = C one octave up
NoteA-G or $ for restC, D, E, $
Accidental# (sharp), b (flat)F#, Bb
RhythmDuration modifier/ = eighth, p = half

Examples

C # Quarter note C
E/ # Eighth note E
Gp # Half note G
_Ab/ # Ab eighth note, one octave down
^F#// # F# sixteenth note, one octave up
$ # Quarter rest
$/ # Eighth rest
Gp* # Dotted half note G

Rhythm Modifiers

ModifierDuration
(none)Quarter note
/Eighth note
//Sixteenth note
///32nd note
pHalf note
oWhole note
*Dotted (add after rhythm)

Document Structure

Every Gen file has optional metadata at the top, followed by measures (one per line):

---
title: My Song
composer: Me
time-signature: 4/4
key-signature: G
tempo: 120
---
G A B ^C
^D ^E ^F# ^G

Next Steps