3.18 Musiknoten erstellen

Durch die Extention "Score" lassen sich auf einfache Weise Musiknoten in LOOP darstellen.

Syntax: <score> \relative c' { f d f a d f e d cis a cis e a g f e } </score>

Ergebnis:

\relative c' { f d f a d f e d cis a cis e a g f e }


ABC-Notation[]

Als Standardsprache für "Score" ist "LilyPond" eingerichtet. Jedoch wird auch der offene Standard ABC oder auch ABCPLus unterstützt. Dieser ist ein offener Standard zur Notation von Musik in Textform. Ein Minimalbeispiel finden Sie hier:

Syntax: <score lang="ABC"> X:1 M:C L:1/4 K:C C, D, E, F,|G, A, B, C|D E F G|A B c d| e f g a|b c' d' e'|f' g' a' b'|] </score>

Ergebnis:


X:1
M:C
L:1/4
K:C
C, D, E, F,|G, A, B, C|D E F G|A B c d|
e f g a|b c' d' e'|f' g' a' b'|]


Hinzufügen von Liedtexten[]

Mit dem Parameter \addlyrics lassen sich Liedtexte unter den Noten hinzufügen.

Syntax: <score> \relative c'' { \time 4/4 \key c \major c4 g8 g a4 g r b^> c^> r \bar "|." } \addlyrics { Shave and a hair -- cut: two bits. } </score>

Ergebnis:

\relative c'' { \time 4/4 \key c \major 
c4 g8 g a4 g r b^> c^> r \bar "|." } 
\addlyrics { Shave and a hair -- cut: two bits. }