Für Fingerwechsel muss eine Textbeschriftung (markup) benutzt werden:
-@lilypond[quote,verbatim,relative=2]
+@lilypond[verbatim,quote,relative=2]
c4-1 d-2 f-4 c^\markup { \finger "2 - 3" }
@end lilypond
In manchen Situationen kann auch der @code{\espressivo}-Befehl
geeignet sein, ein An- und Abschwellen einer Note anzuzeigen.
-@lilypond[quote,verbatim,relative=2]
+@lilypond[verbatim,quote,relative=2]
c2 b4 a
g1\espressivo
@end lilypond
@emph{legato} gespielt werden sollen. Er wird mit Klammern
hinter den Notenwerten notiert.
-@lilypond[quote,relative=2,verbatim]
-f( g a) a8 b(
+@lilypond[verbatim,quote,relative=2]
+f4( g a) a8 b(
a4 g2 f4)
<c e>2( <b d>2)
@end lilypond
Atemzeichen werden mit dem Befehl @code{\breathe} eingegeben.
-@lilypond[quote,relative=2,verbatim]
+@lilypond[verbatim,quote,relative=2]
c2. \breathe d4
@end lilypond
kann mit dem Befehl @code{\arpeggio} hinter der
Akkord-Konstruktion erzeugt werden.
-@lilypond[quote,relative=1,verbatim]
+@lilypond[verbatim,quote,relative=1]
<c e g c>1\arpeggio
@end lilypond
Besondere Arpeggios mit Klammern können erstellt werden:
-@lilypond[quote,relative=1,verbatim]
+@lilypond[verbatim,quote,relative=1]
<c e g c>2
\arpeggioBracket
<c e g c>2\arpeggio
Argument ist die Hauptnote, das zweite die Note, auf der getrillert
wird. Sie wird als Note ohne Hals in Klammern ausgegeben.
-@lilypond[verbatim,relative=1,quote]
+@lilypond[verbatim,quote,relative=1]
\pitchedTrill e2\startTrillSpan fis
d\stopTrillSpan
@end lilypond
\new Score \with {
\override SpacingSpanner #'spacing-increment = #3
\override TimeSignature #'transparent = ##t
-} \relative {
+} \relative c' {
\stemDown <e g b>4_>-\arpeggio
\override Arpeggio #'direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
\include "engraver-example.ily"
\score {
- \topVoice
- \layout {
- \context {
+ \topVoice
+ \layout {
+ \context {
\Voice
\remove "Stem_engraver"
\remove "Phrasing_slur_engraver"
\remove "Script_engraver"
\remove "Beam_engraver"
\remove "Auto_beam_engraver"
- }
- \context {
+ }
+ \context {
\Staff
\remove "Accidental_engraver"
\remove "Key_engraver"
\remove "Time_signature_engraver"
\remove "Staff_symbol_engraver"
\consists "Pitch_squash_engraver"
- }
-}
+ }
+ }
}
@end lilypond
dargestellt werden. So etwa hier:
@lilypond[quote,verbatim,fragment,relative=1]
-c4
+f4
@end lilypond
@noindent
@lilypond[quote,ragged-right]
<<
\chords { c2 c f2 c }
- \new Staff \relative c' { \time 2/4 c4 c g'4 g a4 a g2 }
- \new Lyrics \lyricmode { twin4 kle twin kle lit tle star2 }
+ \new Staff
+ \relative c' {
+ \time 2/4
+ c4 c g' g a a g2
+ }
+ \addlyrics { twin kle twin kle lit tle star }
>>
@end lilypond
Mehrstimmige Notation und Klaviermusik kann auch gesetzt werden. Das
nächste Beispiel zeigt einige etwas exotischere Konstruktionen:
-@lilypondfile[quote,ragged-right]{screech-boink.ly}
+@lilypond[quote]
+\header {
+ title = "Screech and boink"
+ subtitle = "Random complex notation"
+ composer = "Han-Wen Nienhuys"
+}
+
+\score {
+ \context PianoStaff <<
+ \new Staff = "up" {
+ \time 4/8
+ \key c \minor
+ << {
+ \revert Stem #'direction
+ \change Staff = down
+ \set subdivideBeams = ##t
+ g16.[
+ \change Staff = up
+ c'''32
+ \change Staff = down
+ g32
+ \change Staff = up
+ c'''32
+ \change Staff = down
+ g16]
+ \change Staff = up
+ \stemUp
+ \set followVoice = ##t
+ c'''32([ b''16 a''16 gis''16 g''32)]
+ } \\ {
+ s4 \times 2/3 { d'16[ f' g'] } as'32[ b''32 e'' d'']
+ } \\ {
+ s4 \autoBeamOff d''8.. f''32
+ } \\ {
+ s4 es''4
+ } >>
+ }
+
+ \new Staff = "down" {
+ \clef bass
+ \key c \minor
+ \set subdivideBeams = ##f
+ \override Stem #'french-beaming = ##t
+ \override Beam #'thickness = #0.3
+ \override Stem #'thickness = #4.0
+ g'16[ b16 fis16 g16]
+ << \makeClusters {
+ as16 <as b>
+ <g b>
+ <g cis>
+ } \\ {
+ \override Staff.Arpeggio #'arpeggio-direction =#down
+ <cis, e, gis, b, cis>4\arpeggio
+ }
+ >> }
+ >>
+ \midi {
+ \context {
+ \Score
+ tempoWholesPerMinute = #(ly:make-moment 60 8)
+ }
+ }
+ \layout {
+ \context {
+ \Staff
+ \consists Horizontal_bracket_engraver
+ }
+ }
+}
+@end lilypond
Die obenstehenden Beispiele wurde manuell erstellt, aber das ist nicht
die einzige Möglichkeit. Da der Satz fast vollständig automatisch abläuft,
gesetzt.
@c don't use c' here.
-@lilypond[quote,fragment,verbatim]
+@lilypond[verbatim,quote,fragment]
\clef bass
c d e f
g a b c
Oktavversetzungen müssen für alle Intervalle angezeigt werden,
die größer als eine Quarte sind.
-@lilypond[quote,verbatim]
+@lilypond[verbatim,quote]
\relative c'' {
c g c f,
c' a, e'' c
relativ zur vorherigen. Betrachten Sie das folgende Beispiel
aufmerksam, insbesondere die @code{c}-Noten.
-@lilypond[quote,verbatim]
+@lilypond[verbatim,quote]
\relative c' {
c
<c e g>
ab. Um andere Bezeichnungen für Versetzungszeichen zu
benutzung, siehe @ref{Note names in other languages}.
-@lilypond[quote,verbatim,relative=2]
+@lilypond[verbatim,quote,relative=2]
ais1 aes aisis aeses
@end lilypond
eine ganze Anzahl an Taktlängen sein, weshalb Punktierungen
und Brüche recht häufig eingesetzt werden müssen.
-@lilypond[quote,verbatim]
+@lilypond[quote,fragment,verbatim]
\compressFullBarRests
\time 2/4
R1 | R2 |
Eine Ganztaktpause wird abhängig von der Taktart entweder als
Ganze oder Brevis-Pause gesetzt, zentriert im Takt.
-@lilypond[quote,verbatim]
+@lilypond[quote,verbatim,fragment]
\time 4/4
R1 |
\time 6/4
Mehrtaktpausensymbol geinhaltet, wobei die Anzahl der Takte
der Pausendauer über dem Pausenzeichen ausgegeben wird:
-@lilypond[quote,verbatim]
+@lilypond[quote,fragment,verbatim]
% Default behavior
\time 3/4 r2. | R2.*2 |
\time 2/4 R2 |
Taktangaben könne wie folgt erstellt werden.
-@lilypond[quote,verbatim]
+@lilypond[quote,verbatim,relative=2]
\time 2/4 c'2
\time 3/4 c'2.
@end lilypond
@notation{Versetzungszeichen} in anderen
Sprachen zu benutzen, siehe @ruser{Note names in other languages}.
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
cis1 ees fisis, aeses
@end lilypond
@code{\major} (für Dur) oder @code{\minor}
(für Moll).
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
\key d \major
a1
\key c \minor
In diesem Beispiel
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
\key d \major
d cis fis
@end lilypond
In der Tonart As-Dur @emph{bekommt} sie ein Versetzungszeichen:
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
\key aes \major
e
@end lilypond
Ein @notation{Bindebogen} wird geschrieben, indem man eine Tilde @code{~}
an die erste der zu verbindenden Noten hängt.
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
g4~ g c2~
c4 ~ c8 a8 ~ a2
@end lilypond
erstreckt. Seine
Beginn- und Endnote werden mit @q{(} beziehungsweise @q{)} markiert.
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
d4( c16) cis( d e c cis d) e( d4)
@end lilypond
als jeweils einen Legato- und einen Phrasierungsbogen gleichzeitig
geben.
-@lilypond[verbatim,quote,fragment,relative=2]
+@lilypond[verbatim,quote,relative=2]
a8(\( ais b c) cis2 b'2 a4 cis,\)
@end lilypond
\relative c'' {
\key g \major
\time 6/8
- d4 b8 c4 a8 d4 b8 g4
+ d4 b8 c4 a8 d4 b8 g4
g8 a4 b8 c b a d4 b8 g4.
}
\addlyrics {
\relative c'' {
\key g \major
\time 6/8
- d4 b8 c4 a8 d4 b8 g4
+ d4 b8 c4 a8 d4 b8 g4
g8 a4 b8 c( b) a d4 b8 g4.
}
\addlyrics {
Girls and boys come out to play,
The moon doth shine as bright as day;
}
->>
+>>
@end lilypond
Die Wörter orientieren sich jetzt richtig an den Noten,
\relative c'' {
\key g \major
\time 6/8
- d4 b8 c4 a8 d4 b8 g4
+ d4 b8 c4 a8 d4 b8 g4
g8 a4 b8 c[ b] a d4 b8 g4.
}
\addlyrics {
\relative c'' {
\key g \minor
\time 3/2
- g2 a bes bes( a)
+ g2 a bes bes( a)
b c4.( bes8 a4. g8 fis4.) g8 fis1
}
\addlyrics {
- When I am laid,
+ When I am laid,
am laid __ in earth,
}
>>
@c no ragged-right here because otherwise the hyphens get lost,
@c but the example is long enough to avoid looking strange.
-@lilypond[verbatim,quote]
+@lilypond[verbatim,quote,noragged-right]
<<
\relative c' {
\key g \major
\time 3/4
\partial 4
- d4 g4 g a8( b) g4 g4
+ d4 g4 g a8( b) g4 g4
b8( c) d4 d e4 c2
}
\addlyrics {
- A -- way in a __ man -- ger,
+ A -- way in a __ man -- ger,
no __ crib for a bed, __
}
>>
@c no ragged-right here because otherwise the hyphens get lost,
@c but the example is long enough to avoid looking strange.
-@lilypond[verbatim,quote]
+@lilypond[verbatim,quote,noragged-right]
<<
\relative c' {
\clef bass
\key c \major
\time 6/8
- c4.~ c8 d b c([ d)] b c d b c
+ c4.~ c8 d b c([ d]) b c d b c
}
\addlyrics {
Lar -- go_al fac -- to -- tum del -- la cit -- tà
\key f \major
\time 6/8
\partial 8
- c8 c([ bes)] a a([ g)] f f'4. b, c4.~ c4
+ c8 c([ bes]) a a([ g]) f f'4. b, c4.~ c4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn, __
\key f \major
\time 6/8
\partial 8
- r8 r4. r4 c8 a'([ g)] f f([ e)] d e([ d)] c bes'4
+ r8 r4. r4 c8 a'([ g]) f f([ e]) d e([ d]) c bes'4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn,
Das könnte auch nützlich in Minimal-Music sein:
@lilypond[quote,verbatim,ragged-right]
-fragA = \relative c'' { a4 a8. b16 }
-fragB = \relative c'' { a8. gis16 ees4 }
-violin = \new Staff { \fragA \fragA \fragB \fragA }
+fragmentA = \relative c'' { a4 a8. b16 }
+fragmentB = \relative c'' { a8. gis16 ees4 }
+violin = \new Staff { \fragmentA \fragmentA \fragmentB \fragmentA }
\score {
{
\violin