Notes are entered as CDEFGAB
. Use cdefgab
for the next octave, and ,
or '
after a note for even lower or higher octaves. Rests are denoted by z
.
Accidentals are given by ^
for a sharp, _
for flat, and =
for natural. These symbols precede the note. Use the K:
header for the overall key.
The note length is denoted by a number after the note itself, it is based on the standard length given in the L:
header. For shorter notes, use /2
(or just /
) etc. For dotted notes use 3
as the length, or 3/2
etc. Alternatively, you can put a <
or >
between two notes to make one dotted and the other halved.
A triplet is denoted as (3CDE
, you can also use similar notations for duplets, quadruplets, etc.
You can enter bar lines by |
, end bars by |]
, and repetitions by |:
and :|
. For parts that differ the first and second time, prepend [1
resp. [2
. The meter is given in the M:
header field.
For ties, put a -
between the notes, for slures put the notes in ()
. To have separate beams, put a space between two notes. Otherwise, spaces just increase legibility, and can be put in most places. For chords, use []
around the notes. For chord symbols, enclose them in quotes ("
) and prepend them to the note.
Bars will be broken at the same places as the lines, but you can end a line with \
to suppress a break. Use %
for comments, especially to temporarily comment out parts while you concentrate on others.
At the very beginning some headers with metadata appear. Note that the X:
header (an index number, you can ignore it unless you want to edit two or more tunes at once, which isn’t well supported) should come first, and the K:
header last. Many headers can be changed inside the tune, to do so, you have to put the new header in square brackets.
Apart from the header fields mentioned above, there is also the T:
header (directly after the X:
header), which you can use to add a title. For the composer, use C:
.
To get a different clef, you can put something like clef=bass
behind the key in the K:
header. Alternatively, you can use the V:
header, e.g. V:voice1 clef=bass
. You can use more than one V:
header (with different IDs) for more than one voice in the same system, precede the line of notes with [V:voice1]
etc. to indicate which voice they belong to.
An important header for playing the music is Q:
to specify the tempo. If you’re playing the music too fast, it might fall out of the rhythm, this can even happen with the default tempo. In such a case you should add this header and define a slower tempo. With Q:1/4=120
, for example, you get 120 quaters per minute.
For more information about the ABC format, please see the official documentation or any other documentation you can find.
A quick reference for the most important keys (K:
header field):
major | minor | |
---|---|---|
7b | Cb | Abm |
6b | Gb | Ebm |
5b | Db | Bbm |
4b | Ab | Fm |
3b | Eb | Cm |
2b | Bb | Gm |
1b | F | Dm |
0 | C | Am |
1# | G | Em |
2# | D | Bm |
3# | A | F#m |
4# | E | C#m |
5# | B | G#m |
6# | F# | D#m |
7# | C# | A#m |
This app is free software, you can get the source from GitHub. It uses several libraries, most notably abcjs and MIDI.js Soundfonts.
Noten werden als CDEFGAB
eingegeben. Achtung: Das deutsche H wird als B
notiert! Nutze cdefgab
für die nächste Oktave und ,
oder '
nach einer Note für noch tiefere oder höhere Oktaven. Pausen werden als z
notiert.
Vorzeichen werden angegeben mit ^
für ein Kreuz, _
für b und =
für ein Auflösungszeichen. Diese Symbole gehen der Note voraus. Nutze die K:
-Kopfzeile für die Tonart.
Die Notenlänge wird durch eine Zahl hinter der Note angegeben, sie basiert auf der Standardlänge, die in der L:
-Kopfzeile festgelegt wurde. Nutze /2
(oder nur /
) für kürzere Noten, etc. Für punktierte Noten nimmst du 3
als Länge oder 3/2
etc. Alternativ kannst du <
oder >
zwischen zwei Noten setzen um die eine zu punktieren und die andere zu halbieren.
Triolen werden als (3CDE
notiert, eine analoge Syntax gibt es für Duolen, Quartolen etc.
Taktstriche kannst du als |
einfügen, Endstriche mit |]
und Wiederholungszeichen als |:
und :|
. Teile, die sich beim ersten und zweiten Mal unterscheiden, leitest du mit [1
bzw. [2
ein. Die Taktangabe steht in der M:
-Kopfzeile.
Für einen Bindebogen fügst du -
zwischen den Noten ein, für einen Phrasierungsbogen umschließt du sie mit ()
. Um getrennte Fähnchen zu erhalten fügst du ein Leerzeichen zwischen den Noten ein, ansonsten dienen Leerzeichen nur der Lesbarkeit und können an den meisten Stellen eingefügt werden. Akkorde werden mit []
um die Noten erzeugt. Gitarrengriffe werden in Anführungszeichen ("
) eingschlossen und der Note vorangestellt.
Die Notenzeilen werden dort umbrochen, wo auch die Zeilenumbrüche sind, aber du kannst eine Zeile mit \
beenden um den Umbruch zu unterdrücken. Verwende %
für Kommentare, besonders um temporär Teile auszukommentieren, während du dich auf andere konzentrierst.
Ganz am Anfang stehen einige Kopfzeilen mit Metadaten. Beachte, dass die X:
-Kopfzeile (eine Indexnummer, die du ignorieren kannst, sofern du nicht zwei oder mehr Melodien in einer Datei haben möchtest, was aber nicht vollständig unterstützt wird) als erste kommen sollte, während die K:
-Kopfzeile den Abschluss bildet. Viele Kopfzeilen können auch innerhalb der Melodie geändert werden, dazu musst du sie in eckige Klammern einschließen.
Neben den oben erwähnten Kopfzeilen gibt es noch die T:
-Kopfzeile (direkt nach der X:
-Kopfzeile), die den Titel nennt. Nutze C:
für den Komponisten.
Für einen anderen Notenschlüssel kannst du hinter der Tonart in der K:
-Kopfzeile etwa clef=bass
angeben. Alternativ kannst du die V:
-Kopfzeile verwenden, beispielsweise V:voice1 clef=bass
. Mit mehr als einer V:
-Kopfzeile (mit verschiedenen IDs) kannst du mehrere Stimmen in einem System notieren, stelle dazu allen Notenzeilen ein [V:voice1]
etc. voran um anzugeben, zu welcher Stimme sie gehören.
Eine wichtige Kopfzeile zum Spielen der Musik ist Q:
mit der Angabe des Tempos. Wenn du die Musik zu schnell abspielen lässt, dann kann sie aus dem Takt geraten, dies kann auch bei den Standardeinstellungen passieren. In solch einem Fall solltest du diese Kopfzeile hinzufügen und ein langsameres Tempo definieren. Mit Q:1/4=120
erhältst du beispielsweise 120 Viertelnoten pro Minute.
Weitere Informationen über das ABC-Format gibt es in der offiziellen Dokumentation (englisch) oder jeder anderen Dokumentation, die du finden kannst.
Eine kurze Übersicht für die wichtigsten Tonarten (K:
-Kopfzeile):
Dur | Moll | |
---|---|---|
7b | Cb | Abm |
6b | Gb | Ebm |
5b | Db | Bbm |
4b | Ab | Fm |
3b | Eb | Cm |
2b | Bb | Gm |
1b | F | Dm |
0 | C | Am |
1# | G | Em |
2# | D | Bm |
3# | A | F#m |
4# | E | C#m |
5# | B | G#m |
6# | F# | D#m |
7# | C# | A#m |
Diese App ist freie Software, du kannst den Quelltext auf GitHub herunterladen. Sie nutzt verschiedene Bibliotheken, insbesondere abcjs und MIDI.js Soundfonts.