@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Veu u
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Veu dos
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
que es pugui traçar una lligadura per sobre d'elles.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% Aquesta secció és homofònica
- c16^( d e f
+ c'16^( d e f
% Comença una secció simultània de tres veus
<<
% Continua la veu principal en paral·lel
està en silenci, com per exemple:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Inicia la primera veu
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Inicia la segona veu
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "una" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "una" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Incorrecte!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
lletraBaix = \lletraSoprano
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
lletraBaix = \lletraSoprano
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violí = \relative c'' {
+violí = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\padText
c4.^"hi there!" d8 e' f g d |
c,4.\fthenp b8 c4 c-. |
difícil de llegir, sobretot l'última línia.
@example
-violí = \relative c'' @{
+violí = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
anterior, arribem al següent resultat
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
de metrònom} poden establir-se amb l'ordre @code{\tempo}:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
a l'hora:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definicions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
jednotlivého hlasu. Tím se může frázovací oblouček malovat nad ně.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% The following notes are monophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
jako je tomu zde:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
ais'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- ais2 aes
+ ais'2 aes
}
>>
@end lilypond
\new Staff \relative {
ais'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- ais2 aes
+ ais'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
\dynamic f \italic \small { 2nd } \hspace #0.1 dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b
+ c''4._\dolce b8 a8 g a b
\padText
c4.^"hi there!" d8 e' f g d
c,4.\fthenp b8 c4 c-.
sehr viel schwerer lesbar, besonders die letzte Zeile.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{
Beispiel:
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
zapsat příkazem @code{\tempo}:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
Zde je malý příklad, který obsahuje všechna tato vymezení:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r4
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
\override StaffSymbol.staff-space = #(magstep -4)
\override StaffSymbol.thickness = #(magstep -3)
}
- \relative c' {
+ \relative {
\global
\set Staff.instrumentName = #"Violin"
- c8.(\f^> b16 c d) ees8.(^> d16 c b)
+ c'8.(\f^> b16 c d) ees8.(^> d16 c b)
g8.(^> b16 c ees) g8-.^> r r
R2.
}
\new PianoStaff <<
\set PianoStaff.instrumentName = #"Piano"
- \new Staff \relative c' {
+ \new Staff \relative {
\global
s2.
- s4. s8 r8 r16 <c f aes c>
+ s4. s8 r8 r16 <c' f aes c>
<c f aes c>4.^> <c ees g>8 r r
}
- \new Staff \relative c {
+ \new Staff \relative {
\global
\clef "bass"
<<
den folgenden Bogen ausgewählt werden?
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
Notenköpfe angeschnitten wird:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
Insgesamt also 13.08 Punkte:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
@lilypond[staffsize=19.5,line-width=14\cm]
global = { \key g \minor }
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
\new PianoStaff <<
\new Staff = "RH" <<
- \new Voice = "I" \relative c''' {
+ \new Voice = "I" \relative {
\time 3/4
\voiceOne
- \tuplet 7/6 { g8 g g g g g g }
+ \tuplet 7/6 { g''8 g g g g g g }
\oneVoice
r4 <b,, fis' g bes> r4\fermata
}
- \new Voice = "II" \relative c' {
+ \new Voice = "II" \relative {
\voiceTwo
- c4
+ c'4
\tuplet 5/4 {
<c ees>8 f g
\change Staff = "LH" \oneVoice
@lilypond[quote,ragged-right]
\score {
- \relative c' {
- \stemDown <e g b>4_>-\arpeggio
+ \relative {
+ \stemDown <e' g b>4_>-\arpeggio
\override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
((-2) (make-smaller-markup (make-bold-markup "2")))
(else "bla")))))))))
-\new Voice \relative c' {
+\new Voice \relative {
\stemUp
\set autoBeaming = ##f
\time 2/4
- <d f g>4
+ <d' f g>4
\once \override NoteHead.stencil = #note-head::brew-ez-stencil
\once \override NoteHead.font-size = #-7
\once \override NoteHead.font-family = #'sans
@lilypond[staffsize=14.3,line-width=15.9\cm]
global = {\key g \minor}
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
r2 r8 d16 ees f8 ees16 d
ees4 ~ 16 d c bes a4 r8 ees'16 d
a2 g\fermata \bar "|."
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
r8 fis16 g a8 g16 fis g2 ~
2 r8 d' ees g,
bes4. <g b>8 <a c> r <d, g> r
<ees g>4 <d fis> d2
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
bes2 ~ 8 b16 a g8 a16 b
c4 r r2
R1
r8 d ees g, fis4 g
r8 a16 bes c8 bes16 a b2
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
(eq? (car (last-pair siblings)) grob))
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
-\relative c'' {
+\relative {
\override Tie.after-line-breaking =
#my-callback
- c1 ~ \break c2 ~ 2
+ c''1 ~ \break c2 ~ 2
}
@end lilypond
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
Phrasierungsbogen ober sie gesetzt werden.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% This section is homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
an denen die Stimme nicht auftaucht, wie etwa hier:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
\dynamic f \italic \small { 2nd } \hspace #0.1 dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b
+ c''4._\dolce b8 a8 g a b
\padText
c4.^"hi there!" d8 e' f g d
c,4.\fthenp b8 c4 c-.
sehr viel schwerer lesbar, besonders die letzte Zeile.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{
Beispiel:
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
mit dem @code{\tempo}-Befehl gesetzt werden:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
Hier ist ein kleines Beispiel, dass all diese Definitionen beinhaltet:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r4
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \override Score.MetronomeMark.transparent = ##t
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
@lilypond[quote,verbatim]
ficta = { \once \set suggestAccidentals = ##t }
-\score { \relative c''
+\score { \relative
\new MensuralVoice {
\once \set suggestAccidentals = ##t
- bes4 a2 g2 \ficta fis8 \ficta e! fis2 g1
+ bes'4 a2 g2 \ficta fis8 \ficta e! fis2 g1
}
}
@end lilypond
@lilypond[verbatim,ragged-right]
\include "gregorian.ly"
-chant = \relative c' {
+chant = \relative {
\clef "G_8"
\set Score.timing = ##f
- c\breve \hide NoteHead c c c c c
+ c'\breve \hide NoteHead c c c c c
\undo \hide NoteHead
\override Stem.transparent = ##f \stemUp c4 b4 a
\hide Stem c2 c4 \divisioMaior
werden.
@lilypond[verbatim,quote]
-spiritus = \relative c' {
+spiritus = \relative {
\time 1/4
\override Lyrics.LyricText.X-extent = #'(0 . 3)
- d4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
+ d'4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\tuplet 3/2 { g8 f d } e f g a g4
}
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
\score {
\new ChoirStaff <<
- \new Staff \relative c'' {
+ \new Staff \relative {
\stemUp
- c4. d8 e8 f g4
+ c''4. d8 e8 f g4
}
- \new Staff \relative c {
+ \new Staff \relative {
\clef bass
\stemDown
c4 g' f e
gesetzt. Das gilt auch für die zweite Klammer einer Wiederholung.
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~
}
\alternative {
Bundnummern in Klammern gesetzt werden:
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~ }
\alternative {
{ g4 f2. }
mit einem Text erklärt.
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\clef "treble_8"
\override Staff.NoteHead.style = #'harmonic-mixed
- d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
+ d'^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
}
\score {
- \new Staff \relative g, {
+ \new Staff \relative {
\clef bass
\key g \major
- \repeat unfold 2 { g16( d' b') a b d, b' d, } |
+ \repeat unfold 2 { g,16( d' b') a b d, b' d, } |
\repeat unfold 2 { g,16( e' c') b c e, c' e, } |
}
\header {
}
\score {
- \new Staff \relative b {
+ \new Staff \relative {
\clef bass
\key g \major
\partial 16 b16 |
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
Zahlen die Zähler sind.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
entsprechend der Werte angepasst.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
\set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ f'8 f f f f f f
}
}
>>
dem @code{q} verwendet:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\chordRepeats #'(articulation-event)
- { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
+ { <a'-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
q2 c, |
}
@end lilypond
Zu Einzelheiten siehe @ref{paper-Variablen für Verschiebungen und Einrückungen,,@code{@bs{}paper}-Variablen für Verschiebungen und Einrückungen}.
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
+\relative {
<<
\new Staff \with {
instrumentName = #"Alto Flute in G"
shortInstrumentName = #"Flt."
}
{
- f2 g4 f \break
+ f''2 g4 f \break
g4 f g2
}
\new Staff \with {
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e4 d c2
+ s2 s4. f'8 e4 d c2
}
>>
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e8 d4. c2
+ s2 s4. f'8 e8 d4. c2
}
>>
% takes durations and alignment from notes in "one" initially
@lilypond[quote,ragged-right,verbatim]
{
- \relative c'' { \autoBeamOff
- r8 b c fis, fis c' b e, }
+ \relative { \autoBeamOff
+ r8 b' c fis, fis c' b e, }
\addlyrics { Che_in ques -- ta_e_in quel -- l'al -- tr'on -- da }
\addlyrics { "Che in" ques -- "ta e in" quel -- l'al -- tr'on -- da }
\addlyrics { Che~in ques -- ta~e~in quel -- l'al -- tr'on -- da }
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
+ \relative {
+ \repeat volta 2 { b'4 b }
\alternative { { b b } { b c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
+ \relative {
\set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
\unset melismaBusyProperties
c4 c
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\score {
<<
\new Voice = "melody" {
- \relative c' {
+ \relative {
<<
{
\voiceOne
- e4 e8 e
+ e'4 e8 e
}
\new Voice = "splitpart" {
\voiceTwo
@lilypond[verbatim,ragged-right,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
@lilypond[verbatim,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
@c manually adjusted to suit the imposed line length. -td
@lilypond[quote,verbatim,ragged-right]
-music = \relative c'' {
- \repeat unfold 3 { a4 a a a }
+music = \relative {
+ \repeat unfold 3 { a'4 a a a }
}
dialogue = \lyricmode {
@lilypond[quote,verbatim]
\include "arabic.ly"
-\relative do' {
+\relative {
\set Staff.extraNatural = ##f
- dod dob dosd \dwn dob dobsb dodsd do do
+ dod' dob dosd \dwn dob dobsb dodsd do do
}
@end lilypond
@lilypond[quote,verbatim]
\include "arabic.ly"
\score {
- \relative re' {
+ \relative {
\set Staff.extraNatural = ##f
\set Staff.autoBeaming = ##f
\key re \bayati
\time 10/8
- re4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
+ re'4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
re16 [misb do re] sisb [do] la [sisb sol8] la [sisb] do [re] misb
fa4 fa16 [misb] misb8. [re16] re8 [misb] re [do] sisb
do4 sisb8 misb16 [re do sisb] la [do sisb la] la4 r8
\override StaffSymbol.staff-space = #(magstep -4)
\override StaffSymbol.thickness = #(magstep -3)
}
- \relative c' {
+ \relative {
\global
\set Staff.instrumentName = #"Violin"
- c8.(\f^> b16 c d) ees8.(^> d16 c b)
+ c'8.(\f^> b16 c d) ees8.(^> d16 c b)
g8.(^> b16 c ees) g8-.^> r r
R2.
}
\new PianoStaff <<
\set PianoStaff.instrumentName = #"Piano"
- \new Staff \relative c' {
+ \new Staff \relative {
\global
s2.
- s4. s8 r8 r16 <c f aes c>
+ s4. s8 r8 r16 <c' f aes c>
<c f aes c>4.^> <c ees g>8 r r
}
- \new Staff \relative c {
+ \new Staff \relative {
\global
\clef "bass"
<<
de las tres configuraciones elegiríamos para la siguiente ligadura?
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
rozar la cabeza de una de las figuras:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
de fealdad:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
@lilypond[staffsize=19.5,line-width=14\cm]
global = { \key g \minor }
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
\new PianoStaff <<
\new Staff = "RH" <<
- \new Voice = "I" \relative c''' {
+ \new Voice = "I" \relative {
\time 3/4
\voiceOne
- \tuplet 7/6 { g8 g g g g g g }
+ \tuplet 7/6 { g''8 g g g g g g }
\oneVoice
r4 <b,, fis' g bes> r4\fermata
}
- \new Voice = "II" \relative c' {
+ \new Voice = "II" \relative {
\voiceTwo
- c4
+ c'4
\tuplet 5/4 {
<c ees>8 f g
\change Staff = "LH" \oneVoice
@lilypond[quote,ragged-right]
\score {
- \relative c' {
- \stemDown <e g b>4_>-\arpeggio
+ \relative {
+ \stemDown <e' g b>4_>-\arpeggio
\override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
((-2) (make-smaller-markup (make-bold-markup "2")))
(else "bla")))))))))
-\new Voice \relative c' {
+\new Voice \relative {
\stemUp
\set autoBeaming = ##f
\time 2/4
- <d f g>4
+ <d' f g>4
\once \override NoteHead.stencil = #note-head::brew-ez-stencil
\once \override NoteHead.font-size = #-7
\once \override NoteHead.font-family = #'sans
@lilypond[staffsize=14.3,line-width=15.9\cm]
global = {\key g \minor}
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
r2 r8 d16 ees f8 ees16 d
ees4 ~ 16 d c bes a4 r8 ees'16 d
a2 g\fermata \bar "|."
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
r8 fis16 g a8 g16 fis g2 ~
2 r8 d' ees g,
bes4. <g b>8 <a c> r <d, g> r
<ees g>4 <d fis> d2
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
bes2 ~ 8 b16 a g8 a16 b
c4 r r2
R1
r8 d ees g, fis4 g
r8 a16 bes c8 bes16 a b2
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
interna o en el archivo 'define-grobs.scm':
@example
-\relative c'' @{
+\relative @{
\override Flag.X-offset = #(lambda (flag)
(let ((default (ly:flag::calc-x-offset flag)))
(* default 4.0)))
- c4. d8 a4. g8
+ c''4. d8 a4. g8
@}
@end example
(eq? (car (last-pair siblings)) grob))
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
-\relative c'' {
+\relative {
\override Tie.after-line-breaking =
#my-callback
- c1 ~ \break
+ c''1 ~ \break
c2 ~ 2
}
@end lilypond
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
pueda trazar una ligadura por encima de ellas.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% This section is homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
que una voz está en silencio, como aquí:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\padText
c4.^"hi there!" d8 e' f g d |
c,4.\fthenp b8 c4 c-. |
leer, sobre todo la última línea.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
resultado
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
metronómica} pueden establecerse con la instrucción @code{\tempo}:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
juntos:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \override Score.MetronomeMark.stencil = ##f
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definiciones.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinete"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
sobre la ligadura:
@lilypond[quote,ragged-right,verbatim]
-\relative c'' {
- \[ g c, a' f d' \]
+\relative {
+ \[ g' c, a' f d' \]
a g f
\[ e f a g \]
}
@lilypond[quote,ragged-right,verbatim]
\score {
<<
- \new MensuralVoice = "discantus" \relative c'' {
+ \new MensuralVoice = "discantus" \relative {
\hide Score.BarNumber {
- c1\melisma bes a g\melismaEnd
+ c''1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c\breve d\melismaEnd \]
c\longa
@lilypond[quote,verbatim]
ficta = { \once \set suggestAccidentals = ##t }
-\score { \relative c''
+\score { \relative
\new MensuralVoice {
\once \set suggestAccidentals = ##t
- bes4 a2 g2 \ficta fis8 \ficta e! fis2 g1
+ bes'4 a2 g2 \ficta fis8 \ficta e! fis2 g1
}
}
@end lilypond
@c @end example
@lilypond[quote,ragged-right,verbatim]
\score {
- \relative c' {
+ \relative {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
\override NoteHead.style = #'petrucci
\override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
- \[ c'\maxima g \]
+ \[ c''\maxima g \]
\[ d\longa
\override NoteHead.ligature-flexa = ##t
\once \override NoteHead.flexa-width = #3.2
transcribe de la siguiente manera:
@lilypond[quote,ragged-right]
-\relative c' {
+\relative {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
\override NoteHead.style = #'petrucci
\override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
- \[ c'\maxima g \]
+ \[ c''\maxima g \]
\[ d\longa
\override NoteHead.ligature-flexa = ##t
\once \override NoteHead.flexa-width = #3.2
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ b \]
+ \[ b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ \cavum b \]
+ \[ \cavum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ \linea b \]
+ \[ \linea b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Auctum Ascendens
- \[ \auctum \ascendens b \]
+ \[ \auctum \ascendens b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Auctum Descendens
- \[ \auctum \descendens b \]
+ \[ \auctum \descendens b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum
- \[ \inclinatum b \]
+ \[ \inclinatum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum Auctum
- \[ \inclinatum \auctum b \]
+ \[ \inclinatum \auctum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum Parvum
- \[ \inclinatum \deminutum b \]
+ \[ \inclinatum \deminutum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Virga
- \[ \virga b \]
+ \[ \virga b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis vel Flexa
- \[ b \flexa g \]
+ \[ b' \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis Aucta Descendens
- \[ b \flexa \auctum \descendens g \]
+ \[ b' \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis Aucta Ascendens
- \[ b \flexa \auctum \ascendens g \]
+ \[ b' \flexa \auctum \ascendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Cephalicus
- \[ b \flexa \deminutum g \]
+ \[ b' \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Podatus vel Pes
- \[ g \pes b \]
+ \[ g' \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Descendens
- \[ g \pes \auctum \descendens b \]
+ \[ g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Ascendens
- \[ g \pes \auctum \ascendens b \]
+ \[ g' \pes \auctum \ascendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Epiphonus
- \[ g \pes \deminutum b \]
+ \[ g' \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Initio Debilis
- \[ \deminutum g \pes b \]
+ \[ \deminutum g' \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Descendens Initio Debilis
- \[ \deminutum g \pes \auctum \descendens b \]
+ \[ \deminutum g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus
- \[ a \pes b \flexa g \]
+ \[ a' \pes b \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Auctus Descendens
- \[ a \pes b \flexa \auctum \descendens g \]
+ \[ a' \pes b \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Deminutus
- \[ a \pes b \flexa \deminutum g \]
+ \[ a' \pes b \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Initio Debilis
- \[ \deminutum a \pes b \flexa g \]
+ \[ \deminutum a' \pes b \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Auctus Descendens Initio Debilis
- \[ \deminutum a \pes b \flexa \auctum \descendens g \]
+ \[ \deminutum a' \pes b \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Deminutus Initio Debilis
- \[ \deminutum a \pes b \flexa \deminutum g \]
+ \[ \deminutum a' \pes b \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus
- \[ a \flexa g \pes b \]
+ \[ a' \flexa g \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus Auctus Descendens
- \[ a \flexa g \pes \auctum \descendens b \]
+ \[ a' \flexa g \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus Deminutus
- \[ a \flexa g \pes \deminutum b \]
+ \[ a' \flexa g \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus
- \[ \virga b \inclinatum a \inclinatum g \]
+ \[ \virga b' \inclinatum a \inclinatum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus Auctus
- \[ \virga b \inclinatum a \inclinatum \auctum g \]
+ \[ \virga b' \inclinatum a \inclinatum \auctum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus Deminutus
- \[ \virga b \inclinatum a \inclinatum \deminutum g \]
+ \[ \virga b' \inclinatum a \inclinatum \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus
- \[ g \pes a \virga b \]
+ \[ g' \pes a \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus Auctus Descendens
- \[ g \pes a \pes \auctum \descendens b \]
+ \[ g' \pes a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus Deminutus
- \[ g \pes a \pes \deminutum b \]
+ \[ g' \pes a \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Quilisma
- \[ g \pes \quilisma a \pes b \]
+ \[ g' \pes \quilisma a \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Quilisma Pes Auctus Descendens
- \[ g \quilisma a \pes \auctum \descendens b \]
+ \[ g' \quilisma a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Oriscus
- \[ \oriscus b \]
+ \[ \oriscus b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Quassus
- \[ \oriscus g \pes \virga b \]
+ \[ \oriscus g' \pes \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Quassus Auctus Descendens
- \[ \oriscus g \pes \auctum \descendens b \]
+ \[ \oriscus g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Salicus
- \[ g \oriscus a \pes \virga b \]
+ \[ g' \oriscus a \pes \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Salicus Auctus Descendens
- \[ g \oriscus a \pes \auctum \descendens b \]
+ \[ g' \oriscus a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Stropha
- \[ \stropha b \]
+ \[ \stropha b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Stropha Aucta
- \[ \stropha \auctum b \]
+ \[ \stropha \auctum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Bistropha
- \[ \stropha b \stropha b \]
+ \[ \stropha b' \stropha b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Tristropha
- \[ \stropha b \stropha b \stropha b \]
+ \[ \stropha b' \stropha b \stropha b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Trigonus
- \[ \stropha b \stropha b \stropha a \]
+ \[ \stropha b' \stropha b \stropha a \]
}
\layout { \neumeDemoLayout }
}
@lilypond[verbatim,ragged-right]
\include "gregorian.ly"
-chant = \relative c' {
+chant = \relative {
\clef "G_8"
\set Score.timing = ##f
- c\breve \hide NoteHead c c c c c
+ c'\breve \hide NoteHead c c c c c
\undo \hide NoteHead
\override Stem.transparent = ##f \stemUp c4 b4 a
\hide Stem c2 c4 \divisioMaior
@q{notas} @code{s}.
@lilypond[verbatim,quote]
-spiritus = \relative c' {
+spiritus = \relative {
\time 1/4
\override Lyrics.LyricText.X-extent = #'(0 . 3)
- d4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
+ d'4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\tuplet 3/2 { g8 f d } e f g a g4
}
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
\score {
\new ChoirStaff <<
- \new Staff \relative c'' {
+ \new Staff \relative {
\stemUp
- c4. d8 e8 f g4
+ c''4. d8 e8 f g4
}
- \new Staff \relative c {
+ \new Staff \relative {
\clef bass
\stemDown
c4 g' f e
una repetición.
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~
}
\alternative {
de imprimir los números de traste entre paréntesis:
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~ }
\alternative {
{ g4 f2. }
con un marcado de texto.
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\clef "treble_8"
\override Staff.NoteHead.style = #'harmonic-mixed
- d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
+ d'^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
}
\score {
- \new Staff \relative g, {
+ \new Staff \relative {
\clef bass
\key g \major
- \repeat unfold 2 { g16( d' b') a b d, b' d, } |
+ \repeat unfold 2 { g,16( d' b') a b d, b' d, } |
\repeat unfold 2 { g,16( e' c') b c e, c' e, } |
}
\header {
}
\score {
- \new Staff \relative b {
+ \new Staff \relative {
\clef bass
\key g \major
\partial 16 b16 |
@lilypond[quote,verbatim]
\score {
\new Staff {
- \relative c' {
+ \relative {
\time #'(2 2 3) 7/8
- \repeat unfold 7 { c8 } |
+ \repeat unfold 7 { c'8 } |
\time #'(3 2 2) 7/8
\repeat unfold 7 { c8 } |
}
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
y los anteriores son los numeradores.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
dependiendo de los valores.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
\set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ f'8 f f f f f f
}
}
>>
divisoria cae en 9/8 en vez de hacerlo en 5/4.
@lilypond[quote,verbatim]
-\new Voice \relative c' {
+\new Voice \relative {
\set Timing.measureLength = #(ly:make-moment 5/4)
- c1 c4 |
+ c'1 c4 |
c1 c4 |
c4 c
\set Timing.measurePosition = #(ly:make-moment 5/8)
@code{q}.
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\chordRepeats #'(articulation-event)
- { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
+ { <a'-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
q2 c, |
}
@end lilypond
consulte @ref{Variables de paper para desplazamientos y sangrados,,Variables de @code{@bs{}paper} para desplazamientos y sangrados}.
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
+\relative {
<<
\new Staff \with {
instrumentName = #"Alto Flute in G"
shortInstrumentName = #"Flt."
}
{
- f2 g4 f \break
+ f''2 g4 f \break
g4 f g2
}
\new Staff \with {
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e4 d c2
+ s2 s4. f'8 e4 d c2
}
>>
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e8 d4. c2
+ s2 s4. f'8 e8 d4. c2
}
>>
% takes durations and alignment from notes in "one" initially
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
+ \relative {
+ \repeat volta 2 { b'4 b }
\alternative { { b b } { b c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
+ \relative {
\set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
\unset melismaBusyProperties
c4 c
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\score {
<<
\new Voice = "melody" {
- \relative c' {
+ \relative {
<<
{
\voiceOne
- e4 e8 e
+ e'4 e8 e
}
\new Voice = "splitpart" {
\voiceTwo
@lilypond[verbatim,ragged-right,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
@lilypond[verbatim,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
@c manually adjusted to suit the imposed line length. -td
@lilypond[quote,verbatim,ragged-right]
-music = \relative c'' {
- \repeat unfold 3 { a4 a a a }
+music = \relative {
+ \repeat unfold 3 { a'4 a a a }
}
dialogue = \lyricmode {
@lilypond[quote,verbatim]
\include "arabic.ly"
-\relative do' {
+\relative {
\set Staff.extraNatural = ##f
- dod dob dosd \dwn dob dobsb dodsd do do
+ dod' dob dosd \dwn dob dobsb dodsd do do
}
@end lilypond
@lilypond[quote,verbatim]
\include "arabic.ly"
\score {
- \relative re' {
+ \relative {
\set Staff.extraNatural = ##f
\set Staff.autoBeaming = ##f
\key re \bayati
\time 10/8
- re4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
+ re'4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
re16 [misb do re] sisb [do] la [sisb sol8] la [sisb] do [re] misb
fa4 fa16 [misb] misb8. [re16] re8 [misb] re [do] sisb
do4 sisb8 misb16 [re do sisb] la [do sisb la] la4 r8
\new Staff \with {
\magnifyStaff #2/3
}
- \relative c' {
+ \relative {
\global
\set Staff.instrumentName = #"Violin"
- c8.(\f^> b16 c d) ees8.(^> d16 c b)
+ c'8.(\f^> b16 c d) ees8.(^> d16 c b)
g8.(^> b16 c ees) g8-.^> r r
R2.
}
\new PianoStaff <<
\set PianoStaff.instrumentName = #"Piano"
- \new Staff \relative c' {
+ \new Staff \relative {
\global
s2.
- s4. s8 r8 r16 <c f aes c>
+ s4. s8 r8 r16 <c' f aes c>
<c f aes c>4.^> <c ees g>8 r r
}
- \new Staff \relative c {
+ \new Staff \relative {
\global
\clef "bass"
<<
of the three configurations should we choose for the following slur?
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
15.39 points for grazing one of the noteheads:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
descends for a total of 13.08 ugly points:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
@lilypond[staffsize=19.5,line-width=14\cm]
global = { \key g \minor }
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
\new PianoStaff <<
\new Staff = "RH" <<
- \new Voice = "I" \relative c''' {
+ \new Voice = "I" \relative {
\time 3/4
\voiceOne
- \tuplet 7/6 { g8 g g g g g g }
+ \tuplet 7/6 { g''8 g g g g g g }
\oneVoice
r4 <b,, fis' g bes> r4\fermata
}
- \new Voice = "II" \relative c' {
+ \new Voice = "II" \relative {
\voiceTwo
- c4
+ c'4
\tuplet 5/4 {
<c ees>8 f g
\change Staff = "LH" \oneVoice
@lilypond[quote,ragged-right]
\score {
- \relative c' {
- \stemDown <e g b>4_>-\arpeggio
+ \relative {
+ \stemDown <e' g b>4_>-\arpeggio
\override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
((-2) (make-smaller-markup (make-bold-markup "2")))
(else "bla")))))))))
-\new Voice \relative c' {
+\new Voice \relative {
\stemUp
\set autoBeaming = ##f
\time 2/4
- <d f g>4
+ <d' f g>4
\once \override NoteHead.stencil = #note-head::brew-ez-stencil
\once \override NoteHead.font-size = #-7
\once \override NoteHead.font-family = #'sans
@lilypond[staffsize=14.3,line-width=15.9\cm]
global = {\key g \minor}
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
r2 r8 d16 ees f8 ees16 d
ees4 ~ 16 d c bes a4 r8 ees'16 d
a2 g\fermata \bar "|."
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
r8 fis16 g a8 g16 fis g2 ~
2 r8 d' ees g,
bes4. <g b>8 <a c> r <d, g> r
<ees g>4 <d fis> d2
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
bes2 ~ 8 b16 a g8 a16 b
c4 r r2
R1
r8 d ees g, fis4 g
r8 a16 bes c8 bes16 a b2
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
(for-each revert-color '(NoteHead Stem Beam)))
#})
-\relative g' {
+\relative {
\override NoteHead.color = #darkblue
\override Stem.color = #darkblue
\override Beam.color = #darkblue
- g8 a b c
+ g'8 a b c
\desaturate { d c b a }
g b d b g2
}
can by found in the Internals Reference or the file 'define-grobs.scm':
@example
-\relative c'' @{
+\relative @{
\override Flag.X-offset = #(lambda (flag)
(let ((default (ly:flag::calc-x-offset flag)))
(* default 4.0)))
- c4. d8 a4. g8
+ c''4. d8 a4. g8
@}
@end example
(eq? (car (last-pair siblings)) grob))
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
-\relative c'' {
+\relative {
\override Tie.after-line-breaking =
#my-callback
- c1 ~ \break
+ c''1 ~ \break
c2 ~ 2
}
@end lilypond
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
\new Staff \with {
\magnifyStaff #2/3
}
- \relative c' {
+ \relative {
\global
\set Staff.instrumentName = #"Violin"
- c8.(\f^> b16 c d) ees8.(^> d16 c b)
+ c'8.(\f^> b16 c d) ees8.(^> d16 c b)
g8.(^> b16 c ees) g8-.^> r r
R2.
}
\new PianoStaff <<
\set PianoStaff.instrumentName = #"Piano"
- \new Staff \relative c' {
+ \new Staff \relative {
\global
s2.
- s4. s8 r8 r16 <c f aes c>
+ s4. s8 r8 r16 <c' f aes c>
<c f aes c>4.^> <c ees g>8 r r
}
- \new Staff \relative c {
+ \new Staff \relative {
\global
\clef "bass"
<<
choisir pour formater la liaison ?
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
notamment pour l'effleurement de la tête de note.
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
fait un total de 13,08 points de laideur.
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
@lilypond[staffsize=19.5,line-width=14\cm]
global = { \key g \minor }
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
\new PianoStaff <<
\new Staff = "RH" <<
- \new Voice = "I" \relative c''' {
+ \new Voice = "I" \relative {
\time 3/4
\voiceOne
- \tuplet 7/6 {g8 g g g g g g}
+ \tuplet 7/6 {g''8 g g g g g g}
\oneVoice
r4 <b,, fis' g bes> r4\fermata
}
- \new Voice = "II" \relative c' {
+ \new Voice = "II" \relative {
\voiceTwo
- c4
+ c'4
\tuplet 5/4 {
<c ees>8 f g
\change Staff = "LH" \oneVoice
@lilypond[quote,ragged-right]
\score {
- \relative c' {
- \stemDown <e g b>4_>-\arpeggio
+ \relative {
+ \stemDown <e' g b>4_>-\arpeggio
\override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
((-2) (make-smaller-markup (make-bold-markup "2")))
(else "bla")))))))))
-\new Voice \relative c' {
+\new Voice \relative {
\stemUp
\set autoBeaming = ##f
\time 2/4
- <d f g>4
+ <d' f g>4
\once \override NoteHead.stencil = #note-head::brew-ez-stencil
\once \override NoteHead.font-size = #-7
\once \override NoteHead.font-family = #'sans
@lilypond[staffsize=14.3,line-width=15.9\cm]
global = {\key g \minor}
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
r2 r8 d16 ees f8 ees16 d
ees4 ~ 16 d c bes a4 r8 ees'16 d
a2 g\fermata \bar "|."
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
r8 fis16 g a8 g16 fis g2 ~
2 r8 d' ees g,
bes4. <g b>8 <a c> r <d, g> r
<ees g>4 <d fis> d2
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
bes2 ~ 8 b16 a g8 a16 b
c4 r r2
R1
r8 d ees g, fis4 g
r8 a16 bes c8 bes16 a b2
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
(for-each revert-color '(NoteHead Stem Beam)))
#})
-\relative g' {
+\relative {
\override NoteHead.color = #darkblue
\override Stem.color = #darkblue
\override Beam.color = #darkblue
- g8 a b c
+ g'8 a b c
\desaturate { d c b a }
g b d b g2
}
valeur usuelle de la propriété :
@example
-\relative c'' @{
+\relative @{
\override Flag.X-offset = #(lambda (flag)
(let ((default (ly:flag::calc-x-offset flag)))
(* default 4.0)))
- c4. d8 a4. g8
+ c''4. d8 a4. g8
@}
@end example
(eq? (car (last-pair siblings)) grob))
(ly:grob-set-property! grob 'extra-offset '(-2 . 5)))))
-\relative c'' {
+\relative {
\override Tie.after-line-breaking =
#my-callback
- c1 ~ \break
+ c''1 ~ \break
c2 ~ 2
}
@end lilypond
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
liaison de phrasé à l'ensemble.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% The following notes are homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
voix.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e2) |
+ c'16^( d e f g4 f e | d2 e2) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c4 c
+ c''4 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d4 d
+ d'4 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\centerText
c4.^"hi there!" d8 e f g d |
c4.\fthenp b8 c4 c-. |
lire, et particulièrement la dernière ligne.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.self-alignment-X = #CENTER
c4.^"hi there!" d8 e f g d |
c4._\markup @{
que le métronome :
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \omit Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
simple crochet au dessus de la ligature :
@lilypond[quote,ragged-right,verbatim]
-\relative c'' {
- \[ g c, a' f d' \]
+\relative {
+ \[ g' c, a' f d' \]
a g f
\[ e f a g \]
}
@lilypond[quote,ragged-right,verbatim]
\score {
<<
- \new MensuralVoice = "discantus" \relative c'' {
+ \new MensuralVoice = "discantus" \relative {
\hide Score.BarNumber {
- c1\melisma bes a g\melismaEnd
+ c''1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c\breve d\melismaEnd \]
c\longa
@lilypond[quote,verbatim]
ficta = { \once \set suggestAccidentals = ##t }
-\score { \relative c''
+\score { \relative
\new MensuralVoice {
\once \set suggestAccidentals = ##t
- bes4 a2 g2 \ficta fis8 \ficta e! fis2 g1
+ bes'4 a2 g2 \ficta fis8 \ficta e! fis2 g1
}
}
@end lilypond
@c @end example
@lilypond[quote,ragged-right,verbatim]
\score {
- \relative c' {
+ \relative {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
\override NoteHead.style = #'petrucci
\override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
- \[ c'\maxima g \]
+ \[ c''\maxima g \]
\[ d\longa
\override NoteHead.ligature-flexa = ##t
\once \override NoteHead.flexa-width = #3.2
par le @code{Mensural_ligature_engraver}, on obtient
@lilypond[quote,ragged-right]
-\relative c' {
+\relative {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
\override NoteHead.style = #'petrucci
\override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
- \[ c'\maxima g \]
+ \[ c''\maxima g \]
\[ d\longa
\override NoteHead.ligature-flexa = ##t
\once \override NoteHead.flexa-width = #3.2
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ b \]
+ \[ b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ \cavum b \]
+ \[ \cavum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ \linea b \]
+ \[ \linea b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Auctum Ascendens
- \[ \auctum \ascendens b \]
+ \[ \auctum \ascendens b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Auctum Descendens
- \[ \auctum \descendens b \]
+ \[ \auctum \descendens b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum
- \[ \inclinatum b \]
+ \[ \inclinatum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum Auctum
- \[ \inclinatum \auctum b \]
+ \[ \inclinatum \auctum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum Parvum
- \[ \inclinatum \deminutum b \]
+ \[ \inclinatum \deminutum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Virga
- \[ \virga b \]
+ \[ \virga b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis vel Flexa
- \[ b \flexa g \]
+ \[ b' \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis Aucta Descendens
- \[ b \flexa \auctum \descendens g \]
+ \[ b' \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis Aucta Ascendens
- \[ b \flexa \auctum \ascendens g \]
+ \[ b' \flexa \auctum \ascendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Cephalicus
- \[ b \flexa \deminutum g \]
+ \[ b' \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Podatus vel Pes
- \[ g \pes b \]
+ \[ g' \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Descendens
- \[ g \pes \auctum \descendens b \]
+ \[ g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Ascendens
- \[ g \pes \auctum \ascendens b \]
+ \[ g' \pes \auctum \ascendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Epiphonus
- \[ g \pes \deminutum b \]
+ \[ g' \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Initio Debilis
- \[ \deminutum g \pes b \]
+ \[ \deminutum g' \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Descendens Initio Debilis
- \[ \deminutum g \pes \auctum \descendens b \]
+ \[ \deminutum g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus
- \[ a \pes b \flexa g \]
+ \[ a' \pes b \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Auctus Descendens
- \[ a \pes b \flexa \auctum \descendens g \]
+ \[ a' \pes b \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Deminutus
- \[ a \pes b \flexa \deminutum g \]
+ \[ a' \pes b \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Initio Debilis
- \[ \deminutum a \pes b \flexa g \]
+ \[ \deminutum a' \pes b \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Auctus Descendens Initio Debilis
- \[ \deminutum a \pes b \flexa \auctum \descendens g \]
+ \[ \deminutum a' \pes b \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Deminutus Initio Debilis
- \[ \deminutum a \pes b \flexa \deminutum g \]
+ \[ \deminutum a' \pes b \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus
- \[ a \flexa g \pes b \]
+ \[ a' \flexa g \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus Auctus Descendens
- \[ a \flexa g \pes \auctum \descendens b \]
+ \[ a' \flexa g \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus Deminutus
- \[ a \flexa g \pes \deminutum b \]
+ \[ a' \flexa g \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus
- \[ \virga b \inclinatum a \inclinatum g \]
+ \[ \virga b' \inclinatum a \inclinatum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus Auctus
- \[ \virga b \inclinatum a \inclinatum \auctum g \]
+ \[ \virga b' \inclinatum a \inclinatum \auctum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus Deminutus
- \[ \virga b \inclinatum a \inclinatum \deminutum g \]
+ \[ \virga b' \inclinatum a \inclinatum \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus
- \[ g \pes a \virga b \]
+ \[ g' \pes a \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus Auctus Descendens
- \[ g \pes a \pes \auctum \descendens b \]
+ \[ g' \pes a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus Deminutus
- \[ g \pes a \pes \deminutum b \]
+ \[ g' \pes a \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Quilisma
- \[ g \pes \quilisma a \pes b \]
+ \[ g' \pes \quilisma a \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Quilisma Pes Auctus Descendens
- \[ g \quilisma a \pes \auctum \descendens b \]
+ \[ g' \quilisma a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Oriscus
- \[ \oriscus b \]
+ \[ \oriscus b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Quassus
- \[ \oriscus g \pes \virga b \]
+ \[ \oriscus g' \pes \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Quassus Auctus Descendens
- \[ \oriscus g \pes \auctum \descendens b \]
+ \[ \oriscus g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Salicus
- \[ g \oriscus a \pes \virga b \]
+ \[ g' \oriscus a \pes \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Salicus Auctus Descendens
- \[ g \oriscus a \pes \auctum \descendens b \]
+ \[ g' \oriscus a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Stropha
- \[ \stropha b \]
+ \[ \stropha b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Stropha Aucta
- \[ \stropha \auctum b \]
+ \[ \stropha \auctum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Bistropha
- \[ \stropha b \stropha b \]
+ \[ \stropha b' \stropha b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Tristropha
- \[ \stropha b \stropha b \stropha b \]
+ \[ \stropha b' \stropha b \stropha b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Trigonus
- \[ \stropha b \stropha b \stropha a \]
+ \[ \stropha b' \stropha b \stropha a \]
}
\layout { \neumeDemoLayout }
}
@lilypond[verbatim,ragged-right]
\include "gregorian.ly"
-chant = \relative c' {
+chant = \relative {
\clef "G_8"
\set Score.timing = ##f
\hide Stem
- c\breve \hide NoteHead c c c c c
+ c'\breve \hide NoteHead c c c c c
\undo \hide NoteHead
\undo \hide Stem \stemUp c4 b4 a
\hide Stem c2 c4 \divisioMaior
peuvent se réaliser avec des @qq{notes silencieuses} (@code{s}).
@lilypond[verbatim,quote]
-spiritus = \relative c' {
+spiritus = \relative {
\time 1/4
\override Lyrics.LyricText.X-extent = #'(0 . 3)
- d4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
+ d'4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\tuplet 3/2 { g8 f d } e f g a g4
}
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
\score {
\new ChoirStaff <<
- \new Staff \relative c'' {
+ \new Staff \relative {
\stemUp
- c'4. d8 e8 f g4
+ c'''4. d8 e8 f g4
}
- \new Staff \relative c {
+ \new Staff \relative {
%% centre les lignes guides verticalement
\clef bass
\stemDown
seconde alternative d'une répétition.
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~
}
\alternative {
ces cases entre parenthèses.
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~ }
\alternative {
{ g4 f2. }
détaillés grâce à des indications textuelles.
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\clef "treble_8"
\override Staff.NoteHead.style = #'harmonic-mixed
- d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
+ d'^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
}
\score {
- \new Staff \relative g, {
+ \new Staff \relative {
\clef bass
\key g \major
- \repeat unfold 2 { g16( d' b') a b d, b' d, } |
+ \repeat unfold 2 { g,16( d' b') a b d, b' d, } |
\repeat unfold 2 { g,16( e' c') b c e, c' e, } |
}
\header {
}
\score {
- \new Staff \relative b {
+ \new Staff \relative {
\clef bass
\key g \major
\partial 16 b16 |
@lilypond[quote,verbatim]
\score {
\new Staff {
- \relative c' {
+ \relative {
\time #'(2 2 3) 7/8
- \repeat unfold 7 { c8 } |
+ \repeat unfold 7 { c'8 } |
\time #'(3 2 2) 7/8
\repeat unfold 7 { c8 } |
}
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
métrique, les précédents représentent le @qq{numérateur}.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
valeurs.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
\set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ f'8 f f f f f f
}
}
>>
La barre de mesure suivante tombera donc à 9/8 et non à 5/8.
@lilypond[quote,verbatim]
-\new Voice \relative c' {
+\new Voice \relative {
\set Timing.measureLength = #(ly:make-moment 5/4)
- c1 c4 |
+ c'1 c4 |
c1 c4 |
c4 c
\set Timing.measurePosition = #(ly:make-moment 5/8)
seraient absents de l'accord construit par un @code{q}.
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\chordRepeats #'(articulation-event)
- { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
+ { <a'-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
q2 c, |
}
@end lilypond
reportez-vous au chapitre @ref{Variables d'indentation et de décalage}.
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
+\relative {
<<
\new Staff \with {
instrumentName = #"Alto Flute in G"
shortInstrumentName = #"Flt."
}
{
- f2 g4 f \break
+ f''2 g4 f \break
g4 f g2
}
\new Staff \with {
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e4 d c2
+ s2 s4. f'8 e4 d c2
}
>>
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e8 d4. c2
+ s2 s4. f'8 e8 d4. c2
}
>>
% takes durations and alignment from notes in "one" initially
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
+ \relative {
+ \repeat volta 2 { b'4 b }
\alternative { { b b } { b c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
+ \relative {
\set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
\unset melismaBusyProperties
c4 c
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\score {
<<
\new Voice = "melody" {
- \relative c' {
+ \relative {
<<
{
\voiceOne
- e4 e8 e
+ e'4 e8 e
}
\new Voice = "splitpart" {
\voiceTwo
@lilypond[verbatim,ragged-right,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
@lilypond[verbatim,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
@c manually adjusted to suit the imposed line length. -td
@lilypond[quote,verbatim,ragged-right]
-music = \relative c'' {
- \repeat unfold 3 { a4 a a a }
+music = \relative {
+ \repeat unfold 3 { a'4 a a a }
}
dialogue = \lyricmode {
@lilypond[quote,verbatim]
\include "arabic.ly"
-\relative do' {
+\relative {
\set Staff.extraNatural = ##f
- dod dob dosd \dwn dob dobsb dodsd do do
+ dod' dob dosd \dwn dob dobsb dodsd do do
}
@end lilypond
@lilypond[quote,verbatim]
\include "arabic.ly"
\score {
- \relative re' {
+ \relative {
\set Staff.extraNatural = ##f
\set Staff.autoBeaming = ##f
\key re \bayati
\time 10/8
- re4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
+ re'4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
re16 [misb do re] sisb [do] la [sisb sol8] la [sisb] do [re] misb
fa4 fa16 [misb] misb8. [re16] re8 [misb] re [do] sisb
do4 sisb8 misb16 [re do sisb] la [do sisb la] la4 r8
\new Staff \with {
\magnifyStaff #2/3
}
- \relative c' {
+ \relative {
\global
\set Staff.instrumentName = #"Violin"
- c8.(\f^> b16 c d) ees8.(^> d16 c b)
+ c'8.(\f^> b16 c d) ees8.(^> d16 c b)
g8.(^> b16 c ees) g8-.^> r r
R2.
}
\new PianoStaff <<
\set PianoStaff.instrumentName = #"Piano"
- \new Staff \relative c' {
+ \new Staff \relative {
\global
s2.
- s4. s8 r8 r16 <c f aes c>
+ s4. s8 r8 r16 <c' f aes c>
<c f aes c>4.^> <c ees g>8 r r
}
- \new Staff \relative c {
+ \new Staff \relative {
\global
\clef "bass"
<<
of the three configurations should we choose for the following slur?
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[( f] g[ a b d,)] r4
15.39 points for grazing one of the noteheads:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(1.5 . 1)
e8[(_"15.39" f] g[ a b d,)] r4
descends for a total of 13.08 ugly points:
@lilypond
-\relative c {
+\relative {
\clef bass
\once \override Slur.positions = #'(2 . 3)
e8[(_"13.08" f] g[ a b d,)] r4
@lilypond[staffsize=19.5,line-width=14\cm]
global = { \key g \minor }
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
\new PianoStaff <<
\new Staff = "RH" <<
- \new Voice = "I" \relative c''' {
+ \new Voice = "I" \relative {
\time 3/4
\voiceOne
- \tuplet 7/6 { g8 g g g g g g }
+ \tuplet 7/6 { g''8 g g g g g g }
\oneVoice
r4 <b,, fis' g bes> r4\fermata
}
- \new Voice = "II" \relative c' {
+ \new Voice = "II" \relative {
\voiceTwo
- c4
+ c'4
\tuplet 5/4 {
<c ees>8 f g
\change Staff = "LH" \oneVoice
@lilypond[quote,ragged-right]
\score {
- \relative c' {
- \stemDown <e g b>4_>-\arpeggio
+ \relative {
+ \stemDown <e' g b>4_>-\arpeggio
\override Arpeggio.direction = #RIGHT
\stemUp <e g b>4^>-\arpeggio
}
((-2) (make-smaller-markup (make-bold-markup "2")))
(else "bla")))))))))
-\new Voice \relative c' {
+\new Voice \relative {
\stemUp
\set autoBeaming = ##f
\time 2/4
- <d f g>4
+ <d' f g>4
\once \override NoteHead.stencil = #note-head::brew-ez-stencil
\once \override NoteHead.font-size = #-7
\once \override NoteHead.font-family = #'sans
@lilypond[staffsize=14.3,line-width=15.9\cm]
global = {\key g \minor}
-partI = \relative c' {
+partI = \relative {
\voiceOne
- fis8 d' ees g, fis4 g
+ fis'8 d' ees g, fis4 g
r8 a16 bes c8 bes16 a d8 r r4
r2 r8 d16 ees f8 ees16 d
ees4 ~ 16 d c bes a4 r8 ees'16 d
a2 g\fermata \bar "|."
}
-partII = \relative c' {
+partII = \relative {
\voiceTwo
- d4 r4 r8 d'16 c bes8 c16 d
+ d'4 r4 r8 d'16 c bes8 c16 d
ees8 d c ees a, r r4
r8 fis16 g a8 g16 fis g2 ~
2 r8 d' ees g,
bes4. <g b>8 <a c> r <d, g> r
<ees g>4 <d fis> d2
}
-partIII = \relative c' {
+partIII = \relative {
\voiceOne
- r2 r8 d ees g, fis4 g r8 a16 bes c8 bes16 a
+ r2 r8 d' ees g, fis4 g r8 a16 bes c8 bes16 a
bes2 ~ 8 b16 a g8 a16 b
c4 r r2
R1
r8 d ees g, fis4 g
r8 a16 bes c8 bes16 a b2
}
-partIV = \relative c {
+partIV = \relative {
\voiceTwo
d4 r r2
r8 d ees g, fis4 a
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 g4 g a8( b) g4 g4
+ d'4 g4 g a8( b) g4 g4
b8( c) d4 d e4 c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 c([ bes]) a a([ g]) f f'4. b, c4.~ 4
+ c''8 c([ bes]) a a([ g]) f f'4. b, c4.~ 4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn, __
}
- \relative c' {
+ \relative {
\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 c'8 a'([ g]) f f([ e]) d e([ d]) c bes'4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % 1. szólam
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % 2. szólam
{ \voiceTwoStyle
permitting a phrasing slur to be drawn over them.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% A következő hangok monofónok
- c16^( d e f
+ c'16^( d e f
% Szimultán rész három szólammal
<<
% Continue the main voice in parallel
A szólamokat akkor érdemes így írni, ha a zene csak egy kis része polifón. Viszont amikor az egész ötvonalas kotta nagyrésze polifón, egyszerűbb, ha többszörös szólamokat használunk mindenütt, -- ritkított hangokkal, hogy átlépjük azokat a részeket, ahol a szólamok üresek. Az alábbi példa ezt mutatja:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e2) |
+ c'16^( d e f g4 f e | d2 e2) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim,fragment]
<<
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 g4. f8 e4 d c2
+ c''4 b8. a16 g4. f8 e4 d c2
}
\new Lyrics \lyricsto "one" {
No more let sins and sor -- rows grow.
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c4 c
+ c''4 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d4 d
+ d'4 d
}
>>
@end lilypond
\new Staff \relative {
ais'4 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- ais4 aes
+ ais'4 aes
}
>>
@end lilypond
\new Staff \relative {
ais'4 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- ais4 aes
+ ais'4 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
}
- \relative c'' {
+ \relative {
\voiceOne
- c a b g
+ c'' a b g
}
\new Voice
- \relative c' {
+ \relative {
\voiceTwo
- c e d f
+ c' e d f
}
>>
@end lilypond
}
<<
\new Voice
- \relative c'' {
+ \relative {
\voiceOne
- c a b g
+ c'' a b g
}
\new Voice
- \relative c' {
+ \relative {
\voiceTwo
- c e d f
+ c' e d f
}
>>
@end lilypond
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4
+ r4 <a' d fis>2 <a e' a>4
<d fis d'>4. <d fis d'>8 <a d a'>2
<g cis g'>4 <a d fis> <a cis e>2
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4
+ <d, d'>4 <d d'>2 <cis cis'>4
<b b'>4. <b' b'>8 <fis fis'>2
<e e'>4 <d d'> <a' a'>2
}
dolce = \markup { \italic \bold dolce }
padText = { \once \override TextScript.padding = #5.0 }
fthenp=_\markup { \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p }
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b
+ c''4._\dolce b8 a8 g a b
\padText
c4.^"hi there!" d8 e' f g d
c,4.\fthenp b8 c4 c-.
the last line.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d
c,4.\markup @{ \dynamic f \italic \small @{ 2nd @}
this option to the music above, leads to the following result
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3
következő módon:
@lilypond[quote,verbatim]
-\relative c' {
- \repeat unfold 2 { c d e f }
+\relative {
+ \repeat unfold 2 { c' d e f }
}
@end lilypond
}
}
-\relative c''
+\relative
{
\set Staff.instrumentName = #"Gonv override"
- c2^\trill c
+ c''2^\trill c
\override NoteHead.font-family = #'gonville
\override Script.font-family = #'gonville
c^\trill c
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Prima voce
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Seconda voce
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
sì che sia possibile disegnare una legatura di frase sopra di esse.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% This section is homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
come nel seguente esempio:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\padText
c4.^"hi there!" d8 e' f g d |
c,4.\fthenp b8 c4 c-. |
soprattutto l'ultima linea.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
opzione alla musica precedente, si arriva al seguente risultato
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
impostano col comando @code{\tempo}:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
Ecco un piccolo esempio che mostra tutti questi elementi insieme:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Indicazione di tempo visibile
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Indicazione di tempo invisibile per allungare la fermata nel MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Indicazione di tempo visibile
\tempo 4=120
- a4 a a
+ a'4 a a
\once \omit Score.MetronomeMark
% Indicazione di tempo invisibile per allungare la fermata nel MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Fa sì che il colore sia preso dalla procedura color-notehead
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
\score {
\new ChoirStaff <<
- \new Staff \relative c'' {
+ \new Staff \relative {
\stemUp
- c4. d8 e8 f g4
+ c''4. d8 e8 f g4
}
- \new Staff \relative c {
+ \new Staff \relative {
\clef bass
\stemDown
c4 g' f e
@lilypond[quote,verbatim]
\score {
\new Staff {
- \relative c' {
+ \relative {
\time #'(2 2 3) 7/8
- \repeat unfold 7 { c8 } |
+ \repeat unfold 7 { c'8 } |
\time #'(3 2 2) 7/8
\repeat unfold 7 { c8 } |
}
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
indicano i numeri superiori del segno di tempo.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
valori.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
\set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ f'8 f f f f f f
}
}
>>
Quindi la stanghetta successiva si troverà a 9/8 invece che a 5/4.
@lilypond[quote,verbatim]
-\new Voice \relative c' {
+\new Voice \relative {
\set Timing.measureLength = #(ly:make-moment 5/4)
- c1 c4 |
+ c'1 c4 |
c1 c4 |
c4 c
\set Timing.measurePosition = #(ly:make-moment 5/8)
siano già presenti nell'accordo @code{q} stesso.
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\chordRepeats #'(articulation-event)
- { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
+ { <a'-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
q2 c, |
}
@end lilypond
@ref{paper variables for shifts and indents,,@code{@bs{}paper} variables for shifts and indents}.
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
+\relative {
<<
\new Staff \with {
instrumentName = #"Alto Flute in G"
shortInstrumentName = #"Flt."
}
{
- f2 g4 f \break
+ f''2 g4 f \break
g4 f g2
}
\new Staff \with {
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e4 d c2
+ s2 s4. f'8 e4 d c2
}
>>
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e8 d4. c2
+ s2 s4. f'8 e8 d4. c2
}
>>
% inizialmente prende le note e le durate da "one"
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
+ \relative {
+ \repeat volta 2 { b'4 b }
\alternative { { b b } { b c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
+ \relative {
\set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
\unset melismaBusyProperties
c4 c
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\score {
<<
\new Voice = "melody" {
- \relative c' {
+ \relative {
<<
{
\voiceOne
- e4 e8 e
+ e'4 e8 e
}
\new Voice = "splitpart" {
\voiceTwo
@lilypond[verbatim,ragged-right,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
@lilypond[verbatim,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
@c manually adjusted to suit the imposed line length. -td
@lilypond[quote,verbatim,ragged-right]
-music = \relative c'' {
- \repeat unfold 3 { a4 a a a }
+music = \relative {
+ \repeat unfold 3 { a'4 a a a }
}
dialogue = \lyricmode {
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
示しています。
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% This section is homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
ボイスが無音の場所を飛ばすには以下のように空白音符を使用します:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\padText
c4.^"hi there!" d8 e' f g d |
c,4.\fthenp b8 c4 c-. |
とても読み難く、特に最後の行が読み難いです。
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
以下のような結果になります:
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
@code{\tempo} コマンドでセットすることができます:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
以上の要素をすべて集めたちょっとした例をお見せします:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \omit Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
\score {
\new ChoirStaff <<
- \new Staff \relative c'' {
+ \new Staff \relative {
\stemUp
- c4. d8 e8 f g4
+ c''4. d8 e8 f g4
}
- \new Staff \relative c {
+ \new Staff \relative {
\clef bass
\stemDown
c4 g' f e
繰り返しの差し替え部分でも同様です。
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~
}
\alternative {
括弧付きフレット番号の譜刻をキャンセルします:
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~ }
\alternative {
{ g4 f2. }
通常、ハーモニクスにはテキスト マークアップによる説明も付け加えます。
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\clef "treble_8"
\override Staff.NoteHead.style = #'harmonic-mixed
- d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
+ d'^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
}
\score {
- \new Staff \relative g, {
+ \new Staff \relative {
\clef bass
\key g \major
- \repeat unfold 2 { g16( d' b') a b d, b' d, } |
+ \repeat unfold 2 { g,16( d' b') a b d, b' d, } |
\repeat unfold 2 { g,16( e' c') b c e, c' e, } |
}
\header {
}
\score {
- \new Staff \relative b {
+ \new Staff \relative {
\clef bass
\key g \major
\partial 16 b16 |
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
リストの @emph{最後の} 数字が拍子記号の分母になります。
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
また、この関数で指定された値に基づいて自動連桁の設定は調節されます。
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
\set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ f'8 f f f f f f
}
}
>>
次の小節線は 5/4 ではなく 9/8 の位置で引かれます。
@lilypond[quote,verbatim]
-\new Voice \relative c' {
+\new Voice \relative {
\set Timing.measureLength = #(ly:make-moment 5/4)
- c1 c4 |
+ c'1 c4 |
c1 c4 |
c4 c
\set Timing.measurePosition = #(ly:make-moment 5/8)
これにより持ち越されるイベントはすでに和音 @code{q} に存在しているものだけです。
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\chordRepeats #'(articulation-event)
- { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
+ { <a'-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
q2 c, |
}
@end lilypond
を参照してください。
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
+\relative {
<<
\new Staff \with {
instrumentName = #"Alto Flute in G"
shortInstrumentName = #"Flt."
}
{
- f2 g4 f \break
+ f''2 g4 f \break
g4 f g2
}
\new Staff \with {
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e4 d c2
+ s2 s4. f'8 e4 d c2
}
>>
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e8 d4. c2
+ s2 s4. f'8 e8 d4. c2
}
>>
% 最初は "one" の音符に揃えます
@lilypond[quote,ragged-right,verbatim]
{
- \relative c'' { \autoBeamOff
- r8 b c fis, fis c' b e, }
+ \relative { \autoBeamOff
+ r8 b' c fis, fis c' b e, }
\addlyrics { Che_in ques -- ta_e_in quel -- l'al -- tr'on -- da }
\addlyrics { "Che in" ques -- "ta e in" quel -- l'al -- tr'on -- da }
\addlyrics { Che~in ques -- ta~e~in quel -- l'al -- tr'on -- da }
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
+ \relative {
+ \repeat volta 2 { b'4 b }
\alternative { { b b } { b c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
+ \relative {
\set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
\unset melismaBusyProperties
c4 c
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\score {
<<
\new Voice = "melody" {
- \relative c' {
+ \relative {
<<
{
\voiceOne
- e4 e8 e
+ e'4 e8 e
}
\new Voice = "splitpart" {
\voiceTwo
@lilypond[verbatim,ragged-right,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
@c KEEP LY
@lilypond[verbatim,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
@c manually adjusted to suit the imposed line length. -td
@lilypond[quote,verbatim,ragged-right]
-music = \relative c'' {
- \repeat unfold 3 { a4 a a a }
+music = \relative {
+ \repeat unfold 3 { a'4 a a a }
}
dialogue = \lyricmode {
@lilypond[quote,verbatim]
\include "arabic.ly"
-\relative do' {
+\relative {
\set Staff.extraNatural = ##f
- dod dob dosd \dwn dob dobsb dodsd do do
+ dod' dob dosd \dwn dob dobsb dodsd do do
}
@end lilypond
@lilypond[quote,verbatim]
\include "arabic.ly"
\score {
- \relative re' {
+ \relative {
\set Staff.extraNatural = ##f
\set Staff.autoBeaming = ##f
\key re \bayati
\time 10/8
- re4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
+ re'4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
re16 [misb do re] sisb [do] la [sisb sol8] la [sisb] do [re] misb
fa4 fa16 [misb] misb8. [re16] re8 [misb] re [do] sisb
do4 sisb8 misb16 [re do sisb] la [do sisb la] la4 r8
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let flee -- cy flocks the hills a -- dorn,
will not be part of the relative music:
@lilypond[verbatim,quote]
-\relative c' {
- c4 \fixed c { f'' g'' } c |
+\relative {
+ c'4 \fixed c { f'' g'' } c |
c4 \fixed c'' { f g } c
}
@end lilypond
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
permitting a phrasing slur to be drawn over them.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% This section is homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
as here:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\centreText
c4.^"hi there!" d8 e f g d |
c4.\fthenp b8 c4 c-. |
the last line.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.self-alignment-X = #CENTER
c4.^"hi there!" d8 e f g d |
c4._\markup @{
set with the @code{\tempo} command:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
Here is a small example showing all these elements together:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \omit Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
si que m'ès -- tuet fai -- re _ chan -- _ _ çon
}
-triplumNotes = \relative c' {
+triplumNotes = \relative {
\clef "treble_8"
%\set Staff.midiInstrument = "flute"
% \global
\override StemTremolo.beam-thickness = #.125
\override StemTremolo.slope = #1.0
- f8 f4 e8 d c f f f | % 1
+ f'8 f4 e8 d c f f f | % 1
% the \scaleDurations command below makes 5 notes last the
% duration of a dotted quarter
e8 c4 \scaleDurations 3/2 { \tuplet 5/4{e16[ d e d e]} } e8 f4 | % 2
-\version "2.19.2"
+\version "2.19.21"
%\include "example-header.ily"
}
tenor = {
- \new Voice \relative c' {
+ \new Voice \relative {
\global
\repeat volta 2 {
- c16 h c8~ 16 h c g a8 g~ 16 g as es
+ c'16 h c8~ 16 h c g a8 g~ 16 g as es
f16 es f d g as g f es d \tieDown es8~ 16 \tieNeutral f es d
c16 h c g' c h c c, f8. g16 as!4~
16 g as b c h c8 d8. c16 h c d h
pedal = {
\global
\clef "bass"
- \relative c {
+ \relative {
\repeat volta 2 {
r8 c16 d es d es8~ 16 a, h g c h c8
r16 g as f g f g8 c,2
I = \once \override NoteColumn.ignore-collision = ##t
-\version "2.17.30"
+\version "2.19.21"
staffPiano = \new PianoStaff {
\set Score.timing = ##f
\new Staff = "RH" { % Right hand
\clef treble
\key g \major
- \relative c'' {
+ \relative {
\override Staff.NoteCollision.merge-differently-headed = ##t
<<
{
\override Beam.positions = #'(8 . 8)
\hide NoteHead
\override NoteHead.duration-log = #1
- s1 b8[^\markup {
+ s1 b'8[^\markup {
\override #'(baseline-skip . 0.5)
% Add color to markup in top staff
\column { \with-color #red \small { ^ 3 } }
-\version "2.16.0"
+\version "2.19.21"
\include "example-header.ily"
\include "predefined-guitar-fretboards.ly"
\numericTimeSignature
}
-melody = \relative c' {
+melody = \relative {
\global
- d4
+ d'4
g4 b8( a) g4 fis
e e e e
a c8( b) a4 g
-\version "2.17.30"
+\version "2.19.21"
\include "example-header.ily"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\override NoteColumn.ignore-collision = ##t
}
-upperVoiceOne = \relative c'' {
+upperVoiceOne = \relative {
\voiceOne
\hide TupletBracket
- <aes f'>8\([ \tuplet 5/4{g'32( aes g f g]) }
+ <aes' f'>8\([ \tuplet 5/4{g'32( aes g f g]) }
<es aes>8[ \tuplet 5/4{<d bes'>32( c' bes aes bes]) }
<es, aes es'>8 <d fis b d>\) | % end m. 1
%--------------------------------------------------%
\ottava #1 <es es'>16 <f f'> <d d'> \appoggiatura f8 <es es'>16\)
}
-upperVoiceTwo = \relative c'' {
+upperVoiceTwo = \relative {
\voiceTwo
- s8 c8\< <bes, f'>[ <bes aes'> c' <bes, d fis>\!]
+ s8 c''8\< <bes, f'>[ <bes aes'> c' <bes, d fis>\!]
s32 s32_\appassmolto s8. \voiceOne r8 <bes'' es bes'>-> s4
\override Stem.cross-staff = ##t
\override Stem.length = #28
s8 \voiceTwo g,8 aes4 s4
}
-middleVoiceOne = \relative c' {
+middleVoiceOne = \relative {
\override Stem.cross-staff = ##t
\override Stem.length = #32
\override Flag.style = #'no-flag
- d!8\noBeam s8 s8 s8_\crmolto s4 % 1
+ d'!8\noBeam s8 s8 s8_\crmolto s4 % 1
s4 <g bes\arpeggio>8[ <es' g>] \voiceOne e,8( dis16 e) | % 2
\revert Stem.length
\revert Stem.cross-staff
%s2. % beginning m. 3
}
-middleVoiceTwo = \relative c' {
+middleVoiceTwo = \relative {
s2. | % 1
\override Stem.cross-staff = ##t
\override Stem.length = #24
\override Flag.style = #'no-flag
- s2 \voiceTwo e!4 | % 2
+ s2 \voiceTwo e'!4 | % 2
s4 \voiceTwo <bes c es f>8 <f' aes es'>16 d' <bes, f' aes c>8 <bes' fis'> | % 3
}
-lowerVoiceOne = \relative c, {
+lowerVoiceOne = \relative {
\override Staff.NoteCollision.merge-differently-headed = ##t
\override Staff.NoteCollision.merge-differently-dotted = ##t
- bes8 \csm \stemDown <bes'' c es>8 s2
+ bes,,8 \csm \stemDown <bes'' c es>8 s2
\csl \stemUp
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/16)
bes,,8 \csm \stemDown <bes'' c es>8 s2
}
-lowerVoiceTwo = \relative c, {
+lowerVoiceTwo = \relative {
\voiceTwo
- bes2.
+ bes,,2.
\csh
\once \override Beam.damping = #+inf.0
<bes'' es g>8 \csl \slurUp
-\version "2.19.16"
+\version "2.19.21"
#(define (glissando::calc-extra-dy grob)
(let* ((original (ly:grob-original grob))
< gis\4 d'\3 fis\2 >2 < b'\2\harmonic e\harmonic >2\fermata
}
-lower= \relative c {
+lower= \relative {
\set fingeringOrientations = #'(left)
\partial 4. s4.
-\version "2.16.0"
+\version "2.19.21"
\include "example-header.ily"
#(ly:set-option 'point-and-click #f)
\key c \major
}
-cf = \relative c {
+cf = \relative {
\clef bass
\global
c4 c' b a |
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- | dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
Let | flee -- cy flocks the | hills a -- dorn,
@c The following should appear as music without code
@c The three voice styles should be defined in -init
@lilypond[quote,ragged-right]
-\new Staff \relative c'' {
+\new Staff \relative {
\key aes \major
<<
{ % Voice one
\voiceOneStyle
- c2 aes4. bes8
+ c''2 aes4. bes8
}
\\ % Voice two
{ \voiceTwoStyle
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceOne
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\voiceTwo
- c4 d8~ 8 e4( f | g4 a) b-> c |
+ c'4 d8~ 8 e4( f | g4 a) b-> c |
\oneVoice
c,4 d8~ 8 e4( f | g4 a) b-> c |
}
permitting a phrasing slur to be drawn over them.
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' {
+\new Staff \relative {
\voiceOneStyle
% This section is homophonic
- c16^( d e f
+ c'16^( d e f
% Start simultaneous section of three voices
<<
% Continue the main voice in parallel
as here:
@lilypond[quote,ragged-right,verbatim]
-\new Staff \relative c' <<
+\new Staff \relative <<
% Initiate first voice
\new Voice {
\voiceOne
- c16^( d e f g4 f e | d2 e) |
+ c'16^( d e f g4 f e | d2 e) |
}
% Initiate second voice
\new Voice {
@lilypond[quote,verbatim]
<<
\new Voice = "one" {
- \relative c'' {
+ \relative {
\autoBeamOff
\time 2/4
- c4 b8. a16 | g4. f8 | e4 d | c2 |
+ c''4 b8. a16 | g4. f8 | e4 d | c2 |
}
}
\new Lyrics \lyricsto "one" {
@lilypond[quote,verbatim,ragged-right]
<<
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.instrumentName = #"Soprano"
- c2 c
+ c''2 c
}
- \new Staff \relative c' {
+ \new Staff \relative {
\set instrumentName = #"Alto" % Wrong!
- d2 d
+ d'2 d
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Staff.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Staff \relative {
aeses'2 aes
}
- \new Staff \relative c'' {
+ \new Staff \relative {
\set Score.extraNatural = ##f
- aeses2 aes
+ aeses'2 aes
}
>>
@end lilypond
\new Voice \with {
\consists "Ambitus_engraver"
} {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
<<
\new Voice {
- \relative c'' {
+ \relative {
\voiceOne
- c4 a b g
+ c''4 a b g
}
}
\new Voice {
- \relative c' {
+ \relative {
\voiceTwo
- c4 e d f
+ c'4 e d f
}
}
>>
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
r4 d'2 cis4 | b4. b8 fis2 | e4 d a'2 |
}
bassWords = \sopranoWords
-upper = \relative a' {
+upper = \relative {
\clef "treble"
\global
- r4 <a d fis>2 <a e' a>4 |
+ r4 <a' d fis>2 <a e' a>4 |
<d fis d'>4. <d fis d'>8 <a d a'>2 |
<g cis g'>4 <a d fis> <a cis e>2 |
}
-lower = \relative c, {
+lower = \relative {
\clef "bass"
\global
- <d d'>4 <d d'>2 <cis cis'>4 |
+ <d, d'>4 <d d'>2 <cis cis'>4 |
<b b'>4. <b' b'>8 <fis fis'>2 |
<e e'>4 <d d'> <a' a'>2 |
}
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
-violin = \relative c'' {
+violin = \relative {
\repeat volta 2 {
- c4._\dolce b8 a8 g a b |
+ c''4._\dolce b8 a8 g a b |
\padText
c4.^"hi there!" d8 e' f g d |
c,4.\fthenp b8 c4 c-. |
the last line.
@example
-violin = \relative c'' @{
+violin = \relative @{
\repeat volta 2 @{
- c4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
+ c''4._\markup @{ \italic \bold dolce @} b8 a8 g a b |
\once \override TextScript.padding = #5.0
c4.^"hi there!" d8 e' f g d |
c,4.\markup @{
this option to the music above, leads to the following result
@lilypond[quote,ragged-right]
-\transpose f c' \relative c {
+\transpose f c' \relative {
\time 2/4
\set Score.skipBars = ##t
R2*3 |
gezet met het @code{\tempo}-commando:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\time 3/4
\tempo "Andante"
- a4 a a
+ a'4 a a
\time 6/8
\tempo 4. = 96
a4. a
toont:
@lilypond[verbatim,quote]
-\relative c, {
+\relative {
\clef "bass"
\time 3/4
\tempo "Andante" 4 = 120
\clef "bass"
- c2 e8 c'
+ c,2 e8 c'
g'2.
f4 e d
c4 c, r
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \hide Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
@lilypond[quote,verbatim,ragged-right]
\score {
- \relative c'' {
+ \relative {
% Visible tempo marking
\tempo 4=120
- a4 a a
+ a'4 a a
\once \omit Score.MetronomeMark
% Invisible tempo marking to lengthen fermata in MIDI
\tempo 4=80
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
@example
\include "definitions.ily"
-\relative c'' @{
+\relative @{
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
(string?)
#{ <>^\markup \bold \box #string #})
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
}
}
-\relative c'' {
+\relative {
\tempo 4=50
- a4.\mpdolce d8 cis4--\glissando a |
+ a'4.\mpdolce d8 cis4--\glissando a |
b4 bes a2 |
\inst "Clarinet"
cis4.\< d8 e4 fis |
((0) (x11-color 'violet )) ; for B
)))
-\relative c' {
+\relative {
% Arrange to obtain color from color-notehead procedure
\override NoteHead.color = #color-notehead
a2 b | c2 d | e2 f | g2 a |
above the ligature.
@lilypond[quote,ragged-right,verbatim]
-\relative c'' {
- \[ g c, a' f d' \]
+\relative {
+ \[ g' c, a' f d' \]
a g f
\[ e f a g \]
}
@lilypond[quote,ragged-right,verbatim]
\score {
<<
- \new MensuralVoice = "discantus" \relative c'' {
+ \new MensuralVoice = "discantus" \relative {
\hide Score.BarNumber {
- c1\melisma bes a g\melismaEnd
+ c''1\melisma bes a g\melismaEnd
f\breve
\[ f1\melisma a c\breve d\melismaEnd \]
c\longa
@lilypond[quote,verbatim]
ficta = { \once \set suggestAccidentals = ##t }
-\score { \relative c''
+\score { \relative
\new MensuralVoice {
\once \set suggestAccidentals = ##t
- bes4 a2 g2 \ficta fis8 \ficta e! fis2 g1
+ bes'4 a2 g2 \ficta fis8 \ficta e! fis2 g1
}
}
@end lilypond
@lilypond[quote,ragged-right,verbatim]
\score {
- \relative c' {
+ \relative {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
\override NoteHead.style = #'petrucci
\override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
- \[ c'\maxima g \]
+ \[ c''\maxima g \]
\[ d'\longa
\override NoteHead.ligature-flexa = ##t
\once \override NoteHead.flexa-width = #3.2
@code{Mensural_ligature_engraver}, the same music looks as follows:
@lilypond[quote,ragged-right]
-\relative c' {
+\relative {
\set Score.timing = ##f
\set Score.defaultBarType = "-"
\override NoteHead.style = #'petrucci
\override Staff.TimeSignature.style = #'mensural
\clef "petrucci-g"
- \[ c'\maxima g \]
+ \[ c''\maxima g \]
\[ d'\longa
\override NoteHead.ligature-flexa = ##t
\once \override NoteHead.flexa-width = #3.2
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ b \]
+ \[ b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ \cavum b \]
+ \[ \cavum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum
- \[ \linea b \]
+ \[ \linea b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Auctum Ascendens
- \[ \auctum \ascendens b \]
+ \[ \auctum \ascendens b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Auctum Descendens
- \[ \auctum \descendens b \]
+ \[ \auctum \descendens b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum
- \[ \inclinatum b \]
+ \[ \inclinatum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.5\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum Auctum
- \[ \inclinatum \auctum b \]
+ \[ \inclinatum \auctum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Punctum Inclinatum Parvum
- \[ \inclinatum \deminutum b \]
+ \[ \inclinatum \deminutum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Virga
- \[ \virga b \]
+ \[ \virga b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis vel Flexa
- \[ b \flexa g \]
+ \[ b' \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis Aucta Descendens
- \[ b \flexa \auctum \descendens g \]
+ \[ b' \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Clivis Aucta Ascendens
- \[ b \flexa \auctum \ascendens g \]
+ \[ b' \flexa \auctum \ascendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=2.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Cephalicus
- \[ b \flexa \deminutum g \]
+ \[ b' \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Podatus vel Pes
- \[ g \pes b \]
+ \[ g' \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Descendens
- \[ g \pes \auctum \descendens b \]
+ \[ g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Ascendens
- \[ g \pes \auctum \ascendens b \]
+ \[ g' \pes \auctum \ascendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Epiphonus
- \[ g \pes \deminutum b \]
+ \[ g' \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Initio Debilis
- \[ \deminutum g \pes b \]
+ \[ \deminutum g' \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Auctus Descendens Initio Debilis
- \[ \deminutum g \pes \auctum \descendens b \]
+ \[ \deminutum g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus
- \[ a \pes b \flexa g \]
+ \[ a' \pes b \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Auctus Descendens
- \[ a \pes b \flexa \auctum \descendens g \]
+ \[ a' \pes b \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Deminutus
- \[ a \pes b \flexa \deminutum g \]
+ \[ a' \pes b \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Initio Debilis
- \[ \deminutum a \pes b \flexa g \]
+ \[ \deminutum a' \pes b \flexa g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Auctus Descendens Initio Debilis
- \[ \deminutum a \pes b \flexa \auctum \descendens g \]
+ \[ \deminutum a' \pes b \flexa \auctum \descendens g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Torculus Deminutus Initio Debilis
- \[ \deminutum a \pes b \flexa \deminutum g \]
+ \[ \deminutum a' \pes b \flexa \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus
- \[ a \flexa g \pes b \]
+ \[ a' \flexa g \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus Auctus Descendens
- \[ a \flexa g \pes \auctum \descendens b \]
+ \[ a' \flexa g \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Porrectus Deminutus
- \[ a \flexa g \pes \deminutum b \]
+ \[ a' \flexa g \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus
- \[ \virga b \inclinatum a \inclinatum g \]
+ \[ \virga b' \inclinatum a \inclinatum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus Auctus
- \[ \virga b \inclinatum a \inclinatum \auctum g \]
+ \[ \virga b' \inclinatum a \inclinatum \auctum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Climacus Deminutus
- \[ \virga b \inclinatum a \inclinatum \deminutum g \]
+ \[ \virga b' \inclinatum a \inclinatum \deminutum g \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus
- \[ g \pes a \virga b \]
+ \[ g' \pes a \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus Auctus Descendens
- \[ g \pes a \pes \auctum \descendens b \]
+ \[ g' \pes a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Scandicus Deminutus
- \[ g \pes a \pes \deminutum b \]
+ \[ g' \pes a \pes \deminutum b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Quilisma
- \[ g \pes \quilisma a \pes b \]
+ \[ g' \pes \quilisma a \pes b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Quilisma Pes Auctus Descendens
- \[ g \quilisma a \pes \auctum \descendens b \]
+ \[ g' \quilisma a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Oriscus
- \[ \oriscus b \]
+ \[ \oriscus b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Quassus
- \[ \oriscus g \pes \virga b \]
+ \[ \oriscus g' \pes \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Pes Quassus Auctus Descendens
- \[ \oriscus g \pes \auctum \descendens b \]
+ \[ \oriscus g' \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Salicus
- \[ g \oriscus a \pes \virga b \]
+ \[ g' \oriscus a \pes \virga b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Salicus Auctus Descendens
- \[ g \oriscus a \pes \auctum \descendens b \]
+ \[ g' \oriscus a \pes \auctum \descendens b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Stropha
- \[ \stropha b \]
+ \[ \stropha b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Stropha Aucta
- \[ \stropha \auctum b \]
+ \[ \stropha \auctum b' \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Bistropha
- \[ \stropha b \stropha b \]
+ \[ \stropha b' \stropha b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Tristropha
- \[ \stropha b \stropha b \stropha b \]
+ \[ \stropha b' \stropha b \stropha b \]
}
\layout { \neumeDemoLayout }}
@end lilypond
@lilypond[staffsize=26,line-width=1.0\cm]
\include "gregorian.ly"
\score {
- \relative c'' {
+ \relative {
% Trigonus
- \[ \stropha b \stropha b \stropha a \]
+ \[ \stropha b' \stropha b \stropha a \]
}
\layout { \neumeDemoLayout }
}
@lilypond[verbatim,ragged-right]
\include "gregorian.ly"
-chant = \relative c' {
+chant = \relative {
\clef "G_8"
\set Score.timing = ##f
\hide Stem
- c\breve \hide NoteHead c c c c c
+ c'\breve \hide NoteHead c c c c c
\undo \hide NoteHead
\undo \hide Stem \stemUp c4 b4 a
\hide Stem c2 c4 \divisioMaior
@code{s} @q{notes}.
@lilypond[verbatim,quote]
-spiritus = \relative c' {
+spiritus = \relative {
\time 1/4
\override Lyrics.LyricText.X-extent = #'(0 . 3)
- d4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
+ d'4 \tuplet 3/2 { f8 a g } g a a4 g f8 e
d4 f8 g g8 d f g a g f4 g8 a a4 s
\tuplet 3/2 { g8 f d } e f g a g4
}
\tempo \markup { \bold #tempotext }
#})
-\relative c'' {
+\relative {
\tempo \markup { "Low tempo" }
- c4 d e f g1
+ c''4 d e f g1
\tempoPadded #4.0 "High tempo"
g4 f e d c1
}
\score {
\new ChoirStaff <<
- \new Staff \relative c'' {
+ \new Staff \relative {
\stemUp
- c4. d8 e8 f g4
+ c''4. d8 e8 f g4
}
- \new Staff \relative c {
+ \new Staff \relative {
\clef bass
\stemDown
c4 g' f e
the second alternative of a repeat.
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~
}
\alternative {
engraving fret numbers in parentheses:
@lilypond[quote,ragged-right,verbatim]
-ties = \relative c' {
+ties = \relative {
\repeat volta 2 {
- e2. f4~
+ e'2. f4~
2 g2~ }
\alternative {
{ g4 f2. }
text markup.
@lilypond[quote,ragged-right,verbatim]
-\relative c' {
+\relative {
\clef "treble_8"
\override Staff.NoteHead.style = #'harmonic-mixed
- d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
+ d'^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
}
@end lilypond
}
\score {
- \new Staff \relative g, {
+ \new Staff \relative {
\clef bass
\key g \major
- \repeat unfold 2 { g16( d' b') a b d, b' d, } |
+ \repeat unfold 2 { g,16( d' b') a b d, b' d, } |
\repeat unfold 2 { g,16( e' c') b c e, c' e, } |
}
\header {
}
\score {
- \new Staff \relative b {
+ \new Staff \relative {
\clef bass
\key g \major
\partial 16 b16 |
@lilypond[quote,verbatim]
\score {
\new Staff {
- \relative c' {
+ \relative {
\time #'(2 2 3) 7/8
- \repeat unfold 7 { c8 } |
+ \repeat unfold 7 { c'8 } |
\time #'(3 2 2) 7/8
\repeat unfold 7 { c8 } |
}
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
before it, the top numbers.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
automatic beaming settings will be adjusted depending on the values.
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
\set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ f'8 f f f f f f
}
}
>>
The next bar line then falls at 9/8 rather than 5/4.
@lilypond[quote,verbatim]
-\new Voice \relative c' {
+\new Voice \relative {
\set Timing.measureLength = #(ly:make-moment 5/4)
- c1 c4 |
+ c'1 c4 |
c1 c4 |
c4 c
\set Timing.measurePosition = #(ly:make-moment 5/8)
present on the @code{q} chord itself.
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\chordRepeats #'(articulation-event)
- { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
+ { <a'-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
q2 c, |
}
@end lilypond
settings, see @ref{paper variables for shifts and indents,,@code{@bs{}paper} variables for shifts and indents}.
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
+\relative {
<<
\new Staff \with {
instrumentName = #"Alto Flute in G"
shortInstrumentName = #"Flt."
}
{
- f2 g4 f \break
+ f''2 g4 f \break
g4 f g2
}
\new Staff \with {
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e4 d c2
+ s2 s4. f'8 e4 d c2
}
>>
<<
\new Staff <<
\time 2/4
- \new Voice = "one" \relative c'' {
+ \new Voice = "one" \relative {
\voiceOne
- c4 b8. a16 g4. r8 a4 ( b ) c2
+ c''4 b8. a16 g4. r8 a4 ( b ) c2
}
- \new Voice = "two" \relative c' {
+ \new Voice = "two" \relative {
\voiceTwo
- s2 s4. f8 e8 d4. c2
+ s2 s4. f'8 e8 d4. c2
}
>>
% takes durations and alignment from notes in "one" initially
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b }
+ \relative {
+ \repeat volta 2 { b'4 b }
\alternative { { b b } { b c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
+ \relative {
\set melismaBusyProperties = #'()
- \repeat volta 2 { b4 b ~}
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
\unset melismaBusyProperties
c4 c
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\new Staff {
\time 2/4
\new Voice = "melody" {
- \relative c'' {
- \repeat volta 2 { b4 b ~}
+ \relative {
+ \repeat volta 2 { b'4 b ~}
\alternative { { b b } { b \repeatTie c } }
c4 c
}
\score {
<<
\new Voice = "melody" {
- \relative c' {
+ \relative {
<<
{
\voiceOne
- e4 e8 e
+ e'4 e8 e
}
\new Voice = "splitpart" {
\voiceTwo
@lilypond[verbatim,ragged-right,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
@lilypond[verbatim,quote]
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
@c manually adjusted to suit the imposed line length. -td
@lilypond[quote,verbatim,ragged-right]
-music = \relative c'' {
- \repeat unfold 3 { a4 a a a }
+music = \relative {
+ \repeat unfold 3 { a'4 a a a }
}
dialogue = \lyricmode {
@lilypond[quote,verbatim]
\include "arabic.ly"
-\relative do' {
+\relative {
\set Staff.extraNatural = ##f
- dod dob dosd \dwn dob dobsb dodsd do do
+ dod' dob dosd \dwn dob dobsb dodsd do do
}
@end lilypond
@lilypond[quote,verbatim]
\include "arabic.ly"
\score {
- \relative re' {
+ \relative {
\set Staff.extraNatural = ##f
\set Staff.autoBeaming = ##f
\key re \bayati
\time 10/8
- re4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
+ re'4 re'8 re16 [misb re do] sisb [la sisb do] re4 r8
re16 [misb do re] sisb [do] la [sisb sol8] la [sisb] do [re] misb
fa4 fa16 [misb] misb8. [re16] re8 [misb] re [do] sisb
do4 sisb8 misb16 [re do sisb] la [do sisb la] la4 r8
-\version "2.19.2"
+\version "2.19.21"
\header {
lsrtags = "rhythms, simultaneous-notes, tweaks-and-overrides"
doctitle = "Making an object invisible with the 'transparent property"
}
-\relative c'' {
+\relative {
\time 2/4
<<
{
\once \hide Stem
\once \override Stem.length = #8
- b8 ~ 8\noBeam
+ b'8 ~ 8\noBeam
\once \hide Stem
\once \override Stem.length = #8
g8 ~ 8\noBeam
-\version "2.19.7"
+\version "2.19.21"
\header {
lsrtags = "contemporary-notation, pitches, really-cool, staff-notation, version-specific"
}
-\relative c' {
+\relative {
\set Staff.keyAlterations = #`((6 . ,FLAT)
(5 . ,FLAT)
(3 . ,SHARP))
- c4 d e fis
+ c'4 d e fis
aes4 bes c2
}
"
}
-\version "2.17.6"
+\version "2.19.21"
-\relative c'' {
+\relative {
\time 3/4
% FIXME: standard vs default, alteration-FOO vs FOO-alteration
\override Staff.Accidental.glyph-name-alist = #standard-alteration-glyph-name-alist
- cis^\markup { \typewriter default } c ces
+ cis''^\markup { \typewriter default } c ces
\override Staff.Accidental.glyph-name-alist = #alteration-hufnagel-glyph-name-alist
cis^\markup { \typewriter hufnagel } c ces
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Several automatic accidental rules
\layout { ragged-right = ##t }
\score {
- \relative c'' {
+ \relative {
\accidentalStyle dodecaphonic
- gis4 a g gisis
+ gis'4 a g gisis
\accidentalStyle neo-modern
gis8 a gis gis g' gis gis,, a'
\accidentalStyle neo-modern-cautionary
}
\score {
- \relative c'' {
+ \relative {
\set Staff.autoAccidentals = #'()
\set Staff.autoCautionaries = #'()
- gis!4 a! g! gisis!
+ gis'!4 a! g! gisis!
gis!8 a gis! gis g'! gis! gis,,! a'
eis! fis! eis? eis g?2
\key e \major
-\version "2.17.0"
+\version "2.19.21"
\header {
texidoc = "Horizontal @code{Fingering} grobs should not collide with
"
}
-\relative c' {
+\relative {
\time 2/4
\set fingeringOrientations = #'(left)
<a-3 cis-4> <a-3 cis!-4> |
}
-\version "2.17.15"
+\version "2.19.21"
\layout
{
ragged-right = ##t
}
-\new PianoStaff \relative c' <<
+\new PianoStaff \relative <<
\accidentalStyle piano
\new Staff { ges'4 ges4 }
\new Staff { r8 gis r8 gis }
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Accidental padding works for all accidentals, including
those modifying the same pitch."
}
-\relative c' {
+\relative {
\override Staff.AccidentalPlacement.padding = #2
- <ces cis>1
+ <ces' cis>1
<ces des>1
}
}
-\version "2.17.25"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c'' {
+\relative {
\time 2/4
\set suggestAccidentals = ##t
- cis^> gis'-!
+ cis''^> gis'-!
\override AccidentalSuggestion.parenthesized = ##t
cis,_"paren" gis'
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "The @code{\\applyOutput} expression is the most flexible way to
))))
))))
-\new Voice \relative c' {
+\new Voice \relative {
\set autoBeaming = ##f
- <d f g b>8
+ <d' f g b>8
\applyOutput #'Voice #mc-squared
<d f g b>8
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Arpeggios do not overshoot the highest note head.
@code{'positions} for comparison with the correct behaviour."
}
-\relative c' {
+\relative {
% simulate overshoot for comparison
\once \override Arpeggio.positions = #'(-3 . 1)
- <c e g b>1\arpeggio
+ <c' e g b>1\arpeggio
<c e g b>1\arpeggio
<f a c>2\arpeggio <g b d f>\arpeggio
}
-\version "2.17.26"
+\version "2.19.21"
\header {
texidoc = "Span arpeggios that are not cross-staff do not have
{
\consists "Span_arpeggio_engraver"
}
-\relative c''
+\relative
{
\set Staff.connectArpeggios = ##t
<<
- {r2. <ges aes c ges'>4\arpeggio |}
+ {r2. <ges' aes c ges'>4\arpeggio |}
\\
{\repeat unfold 12 aes,16 <ees aes c>4\arpeggio |}
>>
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Automatic beams are ended early if a breathing sign is
encountered."
}
-\relative c' {
+\relative {
\time 1/1
- \repeat unfold 8 c8
+ \repeat unfold 8 c'8
c8 c
\breathe
c8 c c c c
texidoc="Autobeaming works properly in partial measures."
}
-\version "2.16.0"
+\version "2.19.21"
-\relative c'' {
+\relative {
\time 6/8
\partial 2
- a8 a a a |
+ a'8 a a a |
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "In 4/4 time, the first and second and third and fourth
}
\layout { ragged-right = ##t }
-\relative c'' {
- \repeat unfold 8 { a8} |
+\relative {
+ \repeat unfold 8 { a'8} |
a8 a a a16 a a8 a a16 a a8 |
r16 a8. a8 a16 a r8. a16 a8 a16 a |
}
-\version "2.19.12"
+\version "2.19.21"
forcedLastBreak = {} %% { \break } if needed to match original breaks
}
-sarabandeA = \context Voice \relative c {
+sarabandeA = \context Voice \relative {
\override Staff.NoteCollision.merge-differently-dotted = ##t
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "The @code{barNumberVisibility} property controls at what
"
}
-music = \relative c' {
- \repeat unfold 3 { c2 \bar "" \break \repeat unfold 5 c2 }
+music = \relative {
+ \repeat unfold 3 { c'2 \bar "" \break \repeat unfold 5 c2 }
}
{
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Bar numbers can automatically reset at volta repeats.
#(define-music-function (parser location n)
(integer?)
#{
- \relative c' {
+ \relative {
\override Score.BarNumber.break-visibility = ##(#t #t #t)
\repeat volta 28 {
- c1 |
+ c'1 |
c |
c |
}
-\version "2.17.6"
+\version "2.19.21"
\header {
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override Score.BarNumber.break-visibility = #all-visible
- \partial 4 c4
+ \partial 4 c''4
c1 c c
\set Score.currentBarNumber = #99999
\override Score.BarNumber.padding = #3
beamlets on the same height."
}
-\version "2.17.6"
+\version "2.19.21"
\paper {
raggedright = ##t
}
-\relative c' {
+\relative {
\time 1/4
\override Beam.breakable = ##t
- r16 r16. c32[ c16 \break c8. ] r16
+ r16 r16. c'32[ c16 \break c8. ] r16
}
\layout {
ragged-right = ##t
}
-\version "2.16.0"
+\version "2.19.21"
-\relative c'' {
+\relative {
\time 5/16
\set beatStructure = #'(2 3)
- c8[^"(2+3)" c16 c8]
+ c''8[^"(2+3)" c16 c8]
\set beatStructure = #'(3 2)
c8[^"(3+2)" c16 c8]
}
"
}
-\version "2.17.6"
+\version "2.19.21"
\layout { ragged-right= ##t }
-\relative c'' {
+\relative {
\override Score.Beam.breakable = ##t
- \time 3/16 c16-[ d e \break f-]
+ \time 3/16 c''16-[ d e \break f-]
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc="Some classic examples of broken beams, all taken from
ragged-right = ##t
}
-music = \relative c'' {
+music = \relative {
\override Beam.breakable = ##t
- r2. f8[ c \break
+ r2. f''8[ c \break
e c f,] r8 r4 a'8[ e \break
g d g,] r8 r4 f'8[ a, \break
e' g, bes] r8 r4 <a' a,>8 [ d, \break
-\version "2.17.15"
+\version "2.19.21"
\header {
texidoc = "Manual beams do not collide with notes."
}
indent = #0.0
}
-\relative c' \new Staff {
+\relative \new Staff {
<<
\new Voice {
\voiceOne
- \repeat unfold 8 { c8[ c] }
+ \repeat unfold 8 { c'8[ c] }
}
- \new Voice \relative c'' {
+ \new Voice \relative {
\voiceThree
\autoBeamOff
- f r e r
+ f'' r e r
d r c r
b r a r
g r f r
\voiceOne
\repeat unfold 8 { c8[ c] }
}
- \new Voice \relative c'' {
+ \new Voice \relative {
\voiceThree
\autoBeamOff
- f f e e
+ f'' f e e
d d c c
b b a a
g g f f
<<
\new Voice {
- \repeat unfold 8 \relative c' {
+ \repeat unfold 8 \relative {
\voiceOne
- c8[
+ c'8[
\voiceTwo
c'']
}
}
- \new Voice \relative c' {
+ \new Voice \relative {
\voiceFour
- s8 f
+ s8 f'
s8 g
s8 a
s8 b
\break
<<
\new Voice {
- \repeat unfold 8 \relative c' {
+ \repeat unfold 8 \relative {
\voiceOne
%% We must use a wider interval, otherwise the beam will be
c'']
}
}
- \new Voice \relative c' {
+ \new Voice \relative {
\voiceFour
\autoBeamOff
- \stemUp f' \stemDown f,
+ \stemUp f'' \stemDown f,
\stemUp e' \stemDown g,
\stemUp d' \stemDown a
\stemUp c \stemDown b
-\version "2.17.15"
+\version "2.19.21"
\header {
texidoc = "Manual beams do not collide with notes."
}
indent = #0.0
}
-\relative c' \new Staff {
+\relative \new Staff {
<<
\new Voice {
\voiceOne
- \repeat unfold 4 { c8[ c] }
+ \repeat unfold 4 { c'8[ c] }
}
- \new Voice \relative c'' {
+ \new Voice \relative {
\voiceThree
\autoBeamOff
- b r a r
+ b' r a r
g r f r
}
>>
\voiceOne
\repeat unfold 4 { c16[ c] }
}
- \new Voice \relative c'' {
+ \new Voice \relative {
\voiceThree
\autoBeamOff
- b r a r
+ b' r a r
g r f r
}
>>
\new Staff
{
% Stockhausen (without hemiolas)
- \relative c''' {
+ \relative {
\stemUp
- a8[ \clef bass es,,,,
+ a''8[ \clef bass es,,,,
r8 <b' g'>
\clef G
gis''']
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Beams do not collide with flags.
"
}
-\relative c' <<
- { \voiceOne c'8 r } \\
+\relative <<
+ { \voiceOne c''8 r } \\
{ \voiceThree c,8.[ c'16] }
>>
<<
\relative { e''16[ f] }
\\
- \relative c''' { \autoBeamOff g b }
+ \relative { \autoBeamOff g'' b }
>>
c16 b c e g <e b'> |
}
-rachmaninovBeams = \relative c' \new Voice {
+rachmaninovBeams = \relative \new Voice {
\voiceOne
\time 4/4
\key c \minor
- <c' e c'>8[ <g c g'> <c f> <ees, ees'>] ~
+ <c'' e c'>8[ <g c g'> <c f> <ees, ees'>] ~
<ees ees'>8[ <c c'> <des des'> <d d'>]
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Cross staff (kneed) beams do not cause extreme slopes."
}
\context PianoStaff <<
\new Staff = "up"
- \relative c'' <<
+ \relative <<
{
\stemDown
- f16( d b \change Staff = down \stemUp
+ f''16( d b \change Staff = down \stemUp
\clef treble g ~ < g e>8)
e[ \change Staff = up
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Beamed stems have standard lengths if possible. Quantization
is switched off in this example."
}
-\relative c' {
+\relative {
\override Beam.skip-quanting = ##t
- f4 f8[ f] f16[ f] f32[ f] f64[ f] f128[ f]
+ f'4 f8[ f] f16[ f] f32[ f] f64[ f] f128[ f]
}
-\version "2.17.11"
+\version "2.19.21"
\header{
texidoc="
Beams should behave reasonably well, even under extreme circumstances.
ragged-right = ##t
}
-extreme = \relative c'' {
+extreme = \relative {
\stemNeutral
- g8[ c c,]
+ g'8[ c c,]
c16[ c'' a f]
\stemUp
c,,32[ c'' a f]
-\version "2.17.30"
+\version "2.19.21"
\header {
texidoc="In feathered beams, stems in knees reach up to the feathered part correctly.
\layout { ragged-right = ##t}
-\relative c' {
+\relative {
\override Beam.grow-direction = #-1
% \hide Beam
\override Stem.direction = #UP
- c32[
+ c'32[
\override Stem.direction = #DOWN
c''32 c32
}
-\version "2.17.11"
+\version "2.19.21"
\paper {
ragged-right = ##t
% a linear decrease instead?
%
-\featherDurations #(ly:make-moment 3/4) \relative c'' {
+\featherDurations #(ly:make-moment 3/4) \relative {
\override Beam.grow-direction = #LEFT
- c16[
+ c''16[
c c c
c c c c ]
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "In French style beaming, the stems do not go between beams."
\layout { ragged-right= ##t }
-\relative c'
+\relative
{
\override Stem.french-beaming = ##t
- c16[ c c c]
+ c'16[ c c c]
c8[ c16 e16 f16 g16 g8]
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc=" Funky kneed beams with beamlets also work. The beamlets
\layout { ragged-right = ##t}
-\relative c' {
+\relative {
\once \override Stem.direction = #UP
- c16
+ c'16
\once \override Stem.direction = #DOWN
c''8 c,,16
\layout { ragged-right = ##t}
-\relative c'
+\relative
{
\override Beam.auto-knee-gap = #7
\set subdivideBeams = ##t
\time 8/8
- c,16[ g'''16
+ c16[ g'''16
c,,,16 g'''16
c,,,16 g'''16
c,,,16 g'''16 ]
\layout {
ragged-right = ##t
}
-\version "2.17.6"
+\version "2.19.21"
-\relative c'' {
+\relative {
\override Stem.max-beam-connect = #1
- c16[ c16]
+ c''16[ c16]
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "
"
}
-\relative c'' {
+\relative {
\tuplet 3/2 {
- c8. c16 c8
+ c''8. c16 c8
}
\tuplet 3/2 {
c8 c16 c8.
-\version "2.17.6"
+\version "2.19.21"
\header {
ragged-right = ##T
}
-\relative c'' {
+\relative {
\override Score.SpacingSpanner.shortest-duration-space = #3.0
- c4-\bendAfter #+5
+ c''4-\bendAfter #+5
c4-\bendAfter #+4
c4-\bendAfter #+3
c4-\bendAfter #+2
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Breathing signs are positioned correctly on custom staves
which use @code{line-positions}."
}
-\relative c' {
+\relative {
\override Staff.StaffSymbol.line-positions = #'(-7 -5 -3 -1)
b2 \breathe b
\override BreathingSign.direction = #DOWN
-\version "2.18.0"
+\version "2.19.21"
\header {
texidoc = "Chord change detection in repeat alternatives
\chordmode { \repeat volta 3 { g1 | }
\alternative { {c |} {c4 g c c |} {g2 c |} } } }
\new Voice {
- \relative c'' {
- \repeat volta 3 { g4 f e d | }
+ \relative {
+ \repeat volta 3 { g'4 f e d | }
\alternative { {c r r r |} {c g c r |} {b g c2 |} } }
\bar "|." }
>>
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "
s2
}
-left = \relative c' {
+left = \relative {
% This tremolo contains just two notes (but three lilypond events/commands!)
- \repeat tremolo 4 { f,16 \change Staff = "right" f'}
+ \repeat tremolo 4 { f16 \change Staff = "right" f'}
}
\score {
}
-\version "2.16.0"
+\version "2.19.21"
\paper{
ragged-right = ##t
}
-\relative c {
+\relative {
\stemDown
\repeat tremolo 16 { d32 a'32 }
}
-\version "2.17.18"
+\version "2.19.21"
\header {
\layout { ragged-right = ##t }
-\relative c' {
+\relative {
\override Staff.ClefModifier.break-visibility = #all-invisible
\clef "treble_8"
- c2 c |
+ c'2 c |
c c | \break
c \clef "tenor" c |
\revert Staff.ClefModifier.break-visibility
}
-\version "2.16.0"
+\version "2.19.21"
#(ly:set-option 'clip-systems)
#(define output-suffix "1")
origScore = \score{
- \relative c' {
+ \relative {
\set Staff.instrumentName = #"bla"
- c1
+ c'1
d
\grace c16
e1
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "If dotted note heads must remain on the left side,
\layout { ragged-right = ##t }
-\relative c {
+\relative {
\clef bass
\override Staff.NoteCollision.prefer-dotted-right = ##t
- << <b g' >4 ^"prefer-dotted-right = #t" \\ { c8. d16 } >>
+ << <b, g' >4 ^"prefer-dotted-right = #t" \\ { c8. d16 } >>
<< <b g' >4 \\ { d8. d16 } >>
<< <b g' >4 \\ { f'8. d16 } >>
<< <c a' >4 \\ { g'8. d16 } >>
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc =
\layout { ragged-right= ##t }
-\context Staff \relative c'' <<
+\context Staff \relative <<
{
\override Staff.NoteCollision.merge-differently-headed = ##t
- c2 c8 c4.
+ c''2 c8 c4.
c2
}\\
{
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Mixed collisions with whole and longer notes
}
\layout{ragged-right=##t}
-\relative c'' {
+\relative {
\override Score.NoteHead.style = #'altdefault
<<
- { c1 c2*2 c1 c4*4 c1 c\breve*1/2 c\breve*1/2 b\breve*1/2 }
+ { c''1 c2*2 c1 c4*4 c1 c\breve*1/2 c\breve*1/2 b\breve*1/2 }
\\
{ c2*2 c1 c4*4 c1 c\breve*1/2 c1 b\breve*1/2 c\breve*1/2 }
>>
-\version "2.17.6"
+\version "2.19.21"
\header{
texidoc = "Each grob can have a color assigned to it.
\paper { ragged-right = ##t }
-\relative c' {
+\relative {
\override Accidental.color = #darkgreen
\override Beam.color = #cyan
\override NoteHead.color = #darkyellow
- c4
+ c'4
\override NoteHead.color = #red
f
\override NoteHead.color = #darkmagenta
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "
}
}
-\context Staff \relative f {
+\context Staff \relative {
\time 9/8
\set completionUnit = #(ly:make-moment 3/8)
g'1.. r2
-\version "2.19.16"
+\version "2.19.21"
\header {
texidoc = "Simple-fraction components of a compound time signature are numeric regardless of the time signature style.
"
}
-\relative b' {
- \compoundMeter #'(2 2) b1
+\relative {
+ \compoundMeter #'(2 2) b'1
\compoundMeter #'(4 4) b1
\compoundMeter #'((1 1) (2 2)) b\breve
\compoundMeter #'((2 2) (4 4)) b\breve
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Create compound time signatures. The argument is a Scheme list
-\relative c' {
+\relative {
\override Staff.TimeSignature.break-visibility = ##(#f #t #t)
\compoundMeter #'(1 2 3 4 8)
- \repeat unfold 10 c8 \repeat unfold 20 c16 \break
+ \repeat unfold 10 c'8 \repeat unfold 20 c16 \break
\time 3/4
\repeat unfold 6 c8 \repeat unfold 12 c16 \break
\version "2.19.21"
-instrument = \relative c' {
- \repeat unfold 40 { c8 }
+instrument = \relative {
+ \repeat unfold 40 { c'8 }
}
\addQuote "instrQuote" \instrument
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Clefs for cue notes at the start of a score should print the
standard clef plus a small cue clef after the time/@/key signature."
}
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+vI = \relative { \clef "treble" \repeat unfold 40 g'4 }
\addQuote vIQuote { \vI }
Solo = \relative c'' {
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Clefs for cue notes should not influence the printed key signature."
}
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+vI = \relative { \clef "treble" \repeat unfold 40 g'4 }
\addQuote vIQuote { \vI }
\score {
\new Staff {
line plus an additional cue clef after the time/@/key signature."
}
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+vI = \relative { \clef "treble" \repeat unfold 40 g'4 }
\addQuote vIQuote { \vI }
Solo = \relative {
by using parentheses or brackets around the transposition number."
}
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+vI = \relative { \clef "treble" \repeat unfold 40 g'4 }
\addQuote vIQuote { \vI }
Solo = \relative {
texidoc = "Transposition for clefs for cue notes."
}
-vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
+vI = \relative { \clef "treble" \repeat unfold 40 g'4 }
\addQuote vIQuote { \vI }
Solo = \relative {
notes and a canceling clef after the cue notes."
}
-vI = \relative c'' { \clef "treble" \repeat unfold 16 g4 }
+vI = \relative { \clef "treble" \repeat unfold 16 g'4 }
\addQuote vIQuote { \vI }
Solo = \relative {
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Dots move to the right when a collision with the (up)flag happens."
}
\layout { ragged-right = ##t}
-\relative c''
+\relative
{
\time 8/4
\set Staff.autoBeaming = ##f
- a,16.
+ a16.
g''16.
a,4. a8 a8. a16. c,16. g16.
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "For volte, the style of double repeats can be set
using @code{doubleRepeatType}."
}
-\relative c' {
+\relative {
\repeat volta 1 {
- c1
+ c'1
}
\mark "default"
\repeat volta 1 {
\bar ":|.:"
c1
}
- \new Staff \relative c' {
- \repeat unfold 4 { c1 }
+ \new Staff \relative {
+ \repeat unfold 4 { c'1 }
}
>>
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Setting the style of a @code{DynamicTextSpanner} to @code{'none}
"
}
-\relative c'' {
+\relative {
\override DynamicTextSpanner.style = #'none
- c2\cresc g,2
+ c''2\cresc g,2
\break
g2 c'2\f
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Music events can be extracted from a score with event
#CENTER
\override TextSpanner.bound-details.right.text =
\markup { \draw-line #'(0 . -1) }
-\relative c' {
+\relative {
\key d \major
\tempo 4 = 96
-\version "2.19.12"
+\version "2.19.21"
\header {
texidoc = "LilyPond creates hairpins found in Ferneyhough scores.
"
}
-\relative c'' {
+\relative {
\override Hairpin.stencil = #flared-hairpin
- a4\< a a a\f
+ a'4\< a a a\f
a4\p\< a a a\ff
a4\sfz\< a a a\!
\override Hairpin.stencil = #constante-hairpin
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Scripts right of a chord avoid dots."
}
-\relative c' {
+\relative {
\set fingeringOrientations = #'(right)
- <c-\rightHandFinger #1 >4.. <d-3 f>4. r8.
+ <c'-\rightHandFinger #1 >4.. <d-3 f>4. r8.
}
-\version "2.17.16"
+\version "2.19.21"
\header {
texidoc = "Horizontally-offset @code{Fingerings} align along the Y axis when
"
}
-\relative f'' {
+\relative {
\set fingeringOrientations = #'(left)
- <cis-1 a-1 e-1>4
+ <cis''-1 a-1 e-1>4
<ceses-1 a-1 e-1>4
}
-\version "2.17.10"
+\version "2.19.21"
\header {
texidoc = "Horizontal @code{Fingering} grobs that collide do not intersect.
"
}
-\relative c'' {
+\relative {
\set fingeringOrientations = #'(left)
\override Fingering.staff-padding = #'()
\override Fingering.add-stem-support = ##f
- <d-0 c-3 f,-0>4 <d-0 f,-3 e-0>
+ <d''-0 c-3 f,-0>4 <d-0 f,-3 e-0>
<d^0 c^3 f,-0> <d^0 f,-0> <c^3 f,-0>
<d-0 c-0 b-0 a-0 g-0 f-0>
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Fingering directions in directed and undirected contexts."
\layout { ragged-right= ##t }
{
- \relative c''
+ \relative
\new Voice {
\tempo "\\voiceTwo"
\voiceTwo
- c2^5 <c^5>
+ c''2^5 <c^5>
c_5 <c_5>
c-5 <c-5>
\tempo "\\oneVoice"
texidoc = "When broken, glissandi can span multiple lines."
}
-\version "2.17.6"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override Glissando.breakable = ##t
\override Glissando.after-line-breaking = ##t
- d1\glissando
+ d''1\glissando
\break s1
\break s1
\break s1
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Broken glissandi anticipate the pitch on the next line."
}
\score {
- \relative c' {
+ \relative {
\override Glissando.after-line-breaking = ##t
\override Glissando.breakable = ##t
- c1\glissando
+ c'1\glissando
\break
c'1
\break
}
\score {
- \relative c' {
+ \relative {
\override Glissando.after-line-breaking = ##t
\override Glissando.breakable = ##t
- c1\glissando
+ c'1\glissando
\break
c'1
\break
texidoc = "If broken, Glissandi anticipate on the pitch of the next line."
}
-\version "2.17.6"
+\version "2.19.21"
\paper {
ragged-right = ##T }
-\relative c'' {
+\relative {
\override Glissando.breakable = ##t
- d1 \glissando |
+ d''1 \glissando |
\break
c,1
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Individual glissandi within a chord can be tweaked."
}
-\relative c' {
+\relative {
\once \override Voice.Glissando.style =
#(lambda (grob)
(if (= 1 (ly:grob-property grob 'glissando-index)) 'zigzag 'default))
- <d f a>1 \glissando s1 <f a c>
+ <d' f a>1 \glissando s1 <f a c>
}
finishing the grace section."
}
-\version "2.16.0"
+\version "2.19.21"
-\relative c''' {
+\relative {
\voiceOne
- c4
+ c'''4
\grace d8 c4
}
-\version "2.17.5"
+\version "2.19.21"
\header {
\layout { ragged-right= ##t }
-\relative c' {
+\relative {
\repeat volta 2 {
- c1
+ c'1
}
\repeat volta 2 {
\grace {c8 } c4
-\version "2.17.6"
+\version "2.19.21"
\header {
\layout { ragged-right = ##t }
-\relative c'' {
+\relative {
\override Hairpin.circled-tip = ##t
- c1\< d\! d\> c\!
+ c''1\< d\! d\> c\!
\override Hairpin.to-barline = ##f
e\> c\< d\! \break
c\< \break
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc ="Hairpin crescendi may be dashed. "
}
-\relative c' {
+\relative {
\override Hairpin.style = #'dashed-line
- f2\< g c1 d4\> b a gis\! }
+ f'2\< g c1 d4\> b a gis\! }
-\version "2.17.6"
+\version "2.19.21"
\header {
\layout { ragged-right = ##t }
-\relative c'' {
+\relative {
\override Score.PaperColumn.keep-inside-line = ##f
- c4 \> c4 c4\! c4_\ff \> c4 c4\!\p
+ c''4 \> c4 c4\! c4_\ff \> c4 c4\!\p
<<
{ c\< c\! }
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Bound padding for hairpins also applies before following
"
}
-\relative c' {
+\relative {
\override Hairpin.to-barline = ##f
- c2\>
+ c'2\>
\dimTextDim
c2\>
\dimHairpin
>>
\new GrandStaff <<
\new Staff \relative { a'^\< a a a a a a a a a a a\! }
- \new Staff \relative c'' { \repeat unfold 12 a4 }
+ \new Staff \relative { \repeat unfold 12 a'4 }
>>
\new GrandStaff <<
\new Staff \relative { a'4 a a a s1 a4 a a a }
}
-\version "2.17.6"
+\version "2.19.21"
-\relative c'' {
+\relative {
\override Hairpin.bound-padding = #1.0
- c4\< c2. c4\!
+ c''4\< c2. c4\!
}
-\version "2.17.6"
+\version "2.19.21"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "Harp pedal diagram contains dividers at positions ~a. Normally, there is only one divider after the third pedal.") '(1 3 5))
a warning is printed out, but they should still look okay."
}
-\relative c'' {
+\relative {
\override Score.PaperColumn.keep-inside-line = ##f
% Sanity checks: #pedals != 7:
- c1^\markup \harp-pedal #"^-v|--"
+ c''1^\markup \harp-pedal #"^-v|--"
% Sanity checks: no divider, multiple dividers, divider on wrong position:
c1^\markup \harp-pedal #"^-v--v^"
c1^\markup \harp-pedal #"^|-v|--|v^"
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Harp pedals can be tweaked through the size, thickness and
harp-pedal-details properties of TextScript."
}
-\relative c'' {
+\relative {
\override Score.PaperColumn.keep-inside-line = ##f
\override Voice.TextScript.harp-pedal-details.box-width = #1
\once \override Voice.TextScript.size = #1.5
\once \override Voice.TextScript.thickness = #7
- c1^\markup \harp-pedal #"o^ovo-|vovo-o^"
+ c''1^\markup \harp-pedal #"o^ovo-|vovo-o^"
c1^\markup \override #'(harp-pedal-details . (
(box-width . 0.6)
(box-height . 0.3)
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "
indent = 0\cm
}
-\relative c' {
+\relative {
\set Staff.shortInstrumentName = "foo"
- f1 | f1 | f1 |
+ f'1 | f1 | f1 |
f1\< | f1 | f1\! |
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Instrument names are also printed on partial starting measures."
}
-\relative c'' { \set Staff.instrumentName = "foo" \partial 4 c4 c1 }
+\relative { \set Staff.instrumentName = "foo" \partial 4 c''4 c1 }
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Moving the @code{Volta_engraver} to the @code{Staff}
context does not affect @code{InstrumentName} alignment."
}
-testMusik = \relative c'' {
+testMusik = \relative {
\repeat volta 2 {
- c1 \break
+ c''1 \break
} \alternative {
{ c1 \break }
{ c1 \break }
}
\score {
- \new Staff \relative c' {
+ \new Staff \relative {
\set Staff.shortInstrumentName = #"Instr."
\repeat volta 2 {
- c1 \break
+ c'1 \break
}
\alternative {
{ c1 \break }
-\version "2.19.7"
+\version "2.19.21"
\header {
texidoc = "When a custom key signature has entries which are
"
}
-\relative c' {
+\relative {
\set Staff.keyAlterations = #`(((0 . 3) . ,SHARP)
((0 . 5) . ,FLAT)
((0 . 6) . ,FLAT))
- fis fis as bes
+ fis' fis as bes
fis' as, as bes
}
-\version "2.19.7"
+\version "2.19.21"
\header { texidoc = "By setting @code{Staff.keyAlterations} directly,
key signatures can be set invidually per pitch.
\layout {
ragged-right = ##T
}
-\relative c'
+\relative
\new Staff {
\set Staff.keyAlterations = #`(((0 . 3) . ,FLAT) ((1 . 2) . ,SHARP))
- f8 a c e
+ f'8 a c e
\set Staff.keyAlterations = #`(((0 . 4) . ,DOUBLE-SHARP) ((1 . 2) . ,FLAT))
e a, g a
}
-\version "2.19.7"
+\version "2.19.21"
\header{
texidoc="
Key signatures may appear on key changes, even without a barline.
ragged-right = ##T
}
-\relative c'
+\relative
{
\set Staff.createKeyOnClefChange = ##t
- \key bes \major c2
+ \key bes \major c'2
% \key c \major % \minor
\key es \major % \minor
c2
texidoc = "Arrows can be applied to text-spanners and line-spanners (such as the Glissando)"
}
-\version "2.17.6"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override TextSpanner.bound-padding = #1.0
\override TextSpanner.style = #'line
\override TextSpanner.bound-details.right.arrow = ##t
\override Glissando.arrow-length = #0.5
\override Glissando.arrow-width = #0.25
- a8\startTextSpan gis8 a4 b4\glissando
+ a'8\startTextSpan gis8 a4 b4\glissando
b,4 | g' c\stopTextSpan c
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Cover all line styles available."
}
-\relative c'' {
+\relative {
\override Glissando.breakable = ##t
s2
- d2 \glissando d'2
+ d''2 \glissando d'2
\override Glissando.style = #'dashed-line
d,2 \glissando d'2
\override Glissando.style = #'dotted-line
-\version "2.19.2"
+\version "2.19.21"
\header {
texidoc = "With the @code{\\lyricsto} mechanism, individual lyric
lines can be associated with one melody line. Each lyric line
<<
- \new Voice = "bla" \relative c'' {
+ \new Voice = "bla" \relative {
\autoBeamOff
- c2( d4) e8[ c b c] f4
+ c''2( d4) e8[ c b c] f4
}
\new Lyrics \lyricsto "bla" { bla ab blob blob }
\new Lyrics \lyricsto "bla" {
}
-\version "2.17.15"
+\version "2.19.21"
<<
- \relative c' \new Voice = "lahlah" {
+ \relative \new Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\new Voice = "alternative" {
\voiceOne
-m = \relative c'' {
+m = \relative {
\autoBeamOff
- g8( a) r8 \tuplet 3/2 { g'8( f e) } r8 \grace { d16[ c b] } e4
+ g'8( a) r8 \tuplet 3/2 { g'8( f e) } r8 \grace { d16[ c b] } e4
\textLengthOff
d8.^"melisma" \melisma c16
\melismaEnd
-\version "2.19.2"
+\version "2.19.21"
\header {
<<
-\new Staff \relative c' {
+\new Staff \relative {
\new Voice = "upper" {
\voiceTwo
g'1( |
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Melismata may be entered manually by substituting
@code{_} for lyrics on notes that are part of the melisma."
}
-\relative c' {
+\relative {
\set melismaBusyProperties = #'()
- c4 d( e) f
+ c'4 d( e) f
f4( e) e e
}
\addlyrics {
-\version "2.19.2"
+\version "2.19.21"
\header {
texidoc = "
<<
- \relative c' \new Voice = "bla" {
+ \relative \new Voice = "bla" {
\autoBeamOff
- c4( c16 d c b) c4
+ c'4( c16 d c b) c4
d16[ e f g]
}
-\version "2.16.0"
+\version "2.19.21"
\header {
title = "Aligned-above lyrics should stay close to their staff"
\paper { ragged-last-bottom = ##f }
-tune = \relative c { \repeat unfold 2 { c4( e) g2 | \break c1 }
+tune = \relative { \repeat unfold 2 { c4( e) g2 | \break c1 }
\bar "|." }
\score {
-\version "2.19.2"
+\version "2.19.21"
\header
{
texidoc = "Melismata are triggered by manual beams. Notes in a
<<
\new Staff
- \relative c'' {
+ \relative {
\set Staff.autoBeaming = ##f
- g4 d8[ b8 d8 g8] g4
+ g'4 d8[ b8 d8 g8] g4
}
\new Lyrics \lyricsto "" { bla blaa -- bla }
>>
texidoc = "Use \\score block as markup command."
}
-\version "2.17.11"
+\version "2.19.21"
tuning = \markup {
\score {
subsubtitle = \markup { "Originalstimmung:" \tuning }
}
-\relative c'' {
+\relative {
\time 4/8
- \tuplet 3/2 { c8 d e } \tuplet 3/2 {c d e}
+ \tuplet 3/2 { c''8 d e } \tuplet 3/2 {c d e}
\tuplet 3/2 { c8 d e } \tuplet 3/2 {c d e}
g8 a8 g8 a
g8 a8 g8 a
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Metronome marks respect symbol order in
ragged-right = ##t
}
-\relative c' {
+\relative {
\override Staff.KeySignature.break-align-anchor-alignment = #LEFT
\override Score.MetronomeMark.break-align-symbols = #'(time-signature key-signature)
\key c \minor
\tempo "Time"
- c1
+ c'1
\key as \major
\tempo "Key"
c1
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "@code{\\tempo} marks are aligned with the time signature
line-width = 50\mm
}
-\relative c' {
+\relative {
\tempo "T-first"
- c1
+ c'1
\mark \default
\tempo "T-note"
c1 \break
-\version "2.16.0"
+\version "2.19.21"
\header{
texidoc="
"
}
-\relative c'' {
+\relative {
\tempo 4=60
- c1
+ c''1
\tempo "" 4=80
c1
}
-\version "2.16.0"
+\version "2.19.21"
\header{
texidoc="
"
}
-\relative c'' {
- \tempo "Allegro" c1
+\relative {
+ \tempo "Allegro" c''1
\tempo "Allegro" c1
$(make-event-chord (list (make-music 'TempoChangeEvent
'text "blah")))
}
-\version "2.16.0"
+\version "2.19.21"
\score {
- \relative c' {
+ \relative {
\set midiMinimumVolume = #0.0
\set midiMaximumVolume = #1.0
- c\ff c\pppp
+ c'\ff c\pppp
c\ff\> c c c c\!\pppp
c\< c c c c\! \ff
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "@cindex Midi Volume Equaliser
The full orchestra plays a note, where groups stop one after
%}
-flauti = \relative c' {
+flauti = \relative {
\set Staff.midiInstrument = #"flute"
- c1\f R1*10
+ c'1\f R1*10
}
-oboi = \relative c' {
+oboi = \relative {
\set Staff.midiInstrument = #"oboe"
- R1*1 c1\f R1*9
+ R1*1 c'1\f R1*9
}
-clarinetti = \relative c' {
+clarinetti = \relative {
\set Staff.midiInstrument = #"clarinet"
- R1*2 c1\f R1*8
+ R1*2 c'1\f R1*8
}
-fagotti = \relative c' {
+fagotti = \relative {
\set Staff.midiInstrument = #"bassoon"
\clef bass
- R1*3 c1\f R1*7
+ R1*3 c'1\f R1*7
}
-corni = \relative c' {
+corni = \relative {
\set Staff.midiInstrument = #"french horn"
- R1*4 c1\f R1*6
+ R1*4 c'1\f R1*6
}
-trombe = \relative c' {
+trombe = \relative {
\set Staff.midiInstrument = #"trumpet"
\clef bass
- R1*5 c1\f R1*5
+ R1*5 c'1\f R1*5
}
-timpani = \relative c' {
+timpani = \relative {
\set Staff.midiInstrument = #"timpani"
- R1*6 c1\f R1*4
+ R1*6 c'1\f R1*4
}
-violinoI = \relative c' {
+violinoI = \relative {
\set Staff.midiInstrument = #"violin"
- R1*7 c1\f R1*3
+ R1*7 c'1\f R1*3
}
-violinoII = \relative c' {
+violinoII = \relative {
\set Staff.midiInstrument = #"violin"
- R1*8 c1\f R1*2
+ R1*8 c'1\f R1*2
}
-viola = \relative c' {
+viola = \relative {
\set Staff.midiInstrument = #"viola"
\clef alto
- R1*9 c1\f R1*1
+ R1*9 c'1\f R1*1
}
-violoncello = \relative c' {
+violoncello = \relative {
\set Staff.midiInstrument = #"cello"
%\set Staff.midiInstrument = #"contrabass"
\clef bass
- R1*10 c1\f
+ R1*10 c'1\f
}
% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out/initial-key.midi
-\version "2.16.0"
+\version "2.19.21"
\layout {
\context {
>>
-trackBchannelA = \relative c {
+trackBchannelA = \relative {
\set Staff.instrumentName = "trackB:voiceA"
d'4 e f g
% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/option-key.midi
-\version "2.16.0"
+\version "2.19.21"
\layout {
\context {
>>
-trackBchannelA = \relative c {
+trackBchannelA = \relative {
\set Staff.instrumentName = "trackB:voiceA"
f'4 g a bes
% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/rest.midi
-\version "2.16.0"
+\version "2.19.21"
\layout {
\context {
>>
-trackBchannelA = \relative c {
+trackBchannelA = \relative {
r4
\set Staff.instrumentName = "trackB:voiceA"
- a r4 a
+ a, r4 a
| % 2
}
<<
\context Staff = "treble" <<
\set Score.midiChannelMapping = #'instrument
- \context Voice="one" \relative c'' {
+ \context Voice="one" \relative {
\time 4/4
\key c \minor
\voiceOne
%comes
%7
- f8 es16 d c16 bes ! as g f8 as' g f
+ f''8 es16 d c16 bes ! as g f8 as' g f
%8 es8 d es f b, c d b |
f,16 g as4 g16 f e2 |
}
- \context Voice="two" \relative c'' {
+ \context Voice="two" \relative {
\voiceTwo
%dux
%7
- c4 r4 r8 f es d |
+ c''4 r4 r8 f es d |
%8 r8 as g f g f16 es f8 d |
<b, d>8 r <b d> r <g c>2 |
}
<<
\context Staff = "treble" <<
\set Score.midiChannelMapping = #'voice
- \context Voice="one" \relative c'' {
+ \context Voice="one" \relative {
\time 4/4
\key c \minor
\voiceOne
%comes
%7
- f8 es16 d c16 bes ! as g f8 as' g f
+ f''8 es16 d c16 bes ! as g f8 as' g f
%8 es8 d es f b, c d b |
f,16 g as4 g16 f e2 |
}
- \context Voice="two" \relative c'' {
+ \context Voice="two" \relative {
\voiceTwo
%dux
%7
- c4 r4 r8 f es d |
+ c''4 r4 r8 f es d |
%8 r8 as g f g f16 es f8 d |
<b, d>8 r <b d> r <g c>2 |
}
% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/voice-2.midi
-\version "2.16.0"
+\version "2.19.21"
\layout {
\context {
>>
-trackBchannelA = \relative c {
+trackBchannelA = \relative {
\voiceOne
\set Staff.instrumentName = ":1"
}
-trackBchannelB = \relative c {
+trackBchannelB = \relative {
\voiceTwo
f' f f f
| % 2
% Lily was here -- automatically converted by ../../../scripts/midi2ly.py from out-www/voice-4.midi
-\version "2.16.0"
+\version "2.19.21"
\layout {
\context {
>>
-trackBchannelA = \relative c {
+trackBchannelA = \relative {
\voiceOne
\set Staff.instrumentName = ":1"
}
-trackBchannelB = \relative c {
+trackBchannelB = \relative {
\voiceThree
c''4. d8 e4 f
| % 2
}
-trackBchannelC = \relative c {
+trackBchannelC = \relative {
\voiceFour
d'1
| % 2
}
-trackBchannelD = \relative c {
+trackBchannelD = \relative {
\voiceTwo
c'4 c2 c4
| % 2
>>
-trackBchannelA = \relative c {
+trackBchannelA = \relative {
\voiceOne
\set Staff.instrumentName = ":1"
}
-trackBchannelB = \relative c {
+trackBchannelB = \relative {
\voiceThree
c''4. d8 e4 f
| % 2
}
-trackBchannelC = \relative c {
+trackBchannelC = \relative {
\voiceFour
d'1
| % 2
}
-trackBchannelD = \relative c {
+trackBchannelD = \relative {
\voiceTwo
c'4 c2 c4
| % 2
c[ c c] c[ c c]
}
-rondo = \relative c' {
+rondo = \relative {
\partial 8
\time 6/8
\key c \major
-\version "2.17.15"
+\version "2.19.21"
% possible rename to staff-something. -gp
\header{ texidoc = "@cindex Staff Remove
ragged-right = ##t
}
-\relative c' \new Staff \with {
+\relative \new Staff \with {
\remove "Staff_symbol_engraver"
\consists "Pitch_squash_engraver"
\remove "Clef_engraver"
} {
- c4 d4 e8 d8
+ c'4 d4 e8 d8
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "A sublist of grob property lists may be overridden within a callback.
of the right bound of the glissando spanner."
}
-\relative c' {
+\relative {
\override Glissando.after-line-breaking =
#(lambda (grob)
(ly:grob-set-nested-property! grob '(bound-details right Y) 3))
- c1 \glissando
+ c'1 \glissando
d1
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Sublist of grob property lists may be also tuned. In the
grob is tweaked."
}
-\relative c' {
+\relative {
\override Stem.details.beamed-lengths = #'(6 10 8)
- c8[ c] c16[ c] c32[ c]
+ c'8[ c] c16[ c] c32[ c]
\revert Stem.details.beamed-lengths
c8[ c] c16[ c] c32[ c]
}
-\version "2.16.0"
+\version "2.19.21"
\header {
\book {
\score {
- \new Staff \relative c' {
+ \new Staff \relative {
%% 19: ideally cramped
%% Calculating page breaks...[6][11][16]
%%\repeat unfold 19 { a b c d \break }
-\version "2.16.0"
+\version "2.19.21"
\header {
\book {
\score {
- \new Staff \relative c' {
+ \new Staff \relative {
\repeat unfold 18 { a b c d \break }
}
}
-\version "2.16.0"
+\version "2.19.21"
\book {
\score {
- \relative c'' {
+ \relative {
\repeat unfold 10 {
- \repeat unfold 4 {c4}
+ \repeat unfold 4 {c''4}
}
}
\header {piece = "Piece I"}
\layout {line-width = 13\cm}
}
\score {
- \relative c'' {
+ \relative {
\repeat unfold 10 {
- \repeat unfold 4 {c4}
+ \repeat unfold 4 {c''4}
}
}
\header {
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Page layout and stretching work with system-count enabled."
\book {
\score {
<<
- \relative c'' { \repeat unfold 10 c1 }
- \relative c'' { \repeat unfold 10 c1 }
- \relative c'' { \repeat unfold 10 c1 }
+ \relative { \repeat unfold 10 c''1 }
+ \relative { \repeat unfold 10 c''1 }
+ \relative { \repeat unfold 10 c''1 }
>>
}
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "By default, we start with page 1, which is on the right hand side
\book {
\score {
- \relative c' {\repeat unfold 60 {a b c d}}
+ \relative {\repeat unfold 60 {a b c d}}
}
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "The page-turn engraver will not count potential page
}
\score {
- \relative c' {
+ \relative {
\set Score.skipBars = ##t
% this should be kept on one page
\repeat volta 2 {
-\version "2.16.0"
+\version "2.19.21"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "margins do not fit with line-width, setting default values"))
are set and a warning is printed."
}
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
left-margin = 20 \mm
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Here only left-margin is given, right-margin will remain default."
}
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
#(set-paper-size (ly:get-option 'paper-size))
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "If only line-width is given, systems are horizontally centered."
}
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
line-width = 100 \mm
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "All checks can be avoided by setting check-consistency to ##f in \paper."
}
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
left-margin = 20 \mm
-\version "2.16.0"
+\version "2.19.21"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "systems run off the page due to improper paper settings, setting default values"))
#(set-default-paper-size "a4")
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
left-margin = 20 \mm
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Here only right-margin is given, left-margin will remain default."
}
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
#(set-paper-size (ly:get-option 'paper-size))
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Paper margin settings do not have to be complete.
are specified, default values are used."
}
-someNotes = \relative c' { \repeat unfold 40 { c4 d e f } }
+someNotes = \relative { \repeat unfold 40 { c'4 d e f } }
\paper {
#(set-paper-size (ly:get-option 'paper-size))
-\version "2.19.12"
+\version "2.19.21"
\header {
texidoc = "Setting individual nested paper properties does not
system-system-spacing = #'((basic-distance . 12) (minimum-distance . 8))
system-system-spacing.padding = #1
}
- \relative c' {
+ \relative {
\repeat unfold 10 { a4 d e f }
}
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "In two-sided mode, a binding offset can be specified, which is added
to the inner margin automatically."
}
-someNotes = \relative c' { \repeat unfold 200 { c4 d e f } }
+someNotes = \relative { \repeat unfold 200 { c'4 d e f } }
\paper {
two-sided = ##t
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Two-sided mode allows you to use different margins for
odd and even pages."
}
-someNotes = \relative c' { \repeat unfold 200 { c4 d e f } }
+someNotes = \relative { \repeat unfold 200 { c'4 d e f } }
\paper {
two-sided = ##t
\layout { ragged-right = ##t }
-mI = \relative c'' {
+mI = \relative {
\set Score.partCombineTextsOnNote = ##t
- g4 \partcombineSoloI r4 c2 |
+ g'4 \partcombineSoloI r4 c2 |
\partcombineSoloII R1*2 |
}
mII = \relative {
\new Staff <<
\partcombine
- \relative c'' {
+ \relative {
r2
- \tuplet 3/2 { g8[ g g] }
+ \tuplet 3/2 { g'8[ g g] }
\tuplet 3/2 { g[ g g] } g1
}
\relative { R1 g'1 }
\paper { ragged-right = ##T }
-\version "2.17.11"
+\version "2.19.21"
\score {
<<
\new Staff {
\partcombine
- \relative c'' {
- \tuplet 3/2 { d4 d d ~ } d2
+ \relative {
+ \tuplet 3/2 { d''4 d d ~ } d2
}
- \relative c'' {
- \tuplet 3/2 { b4 a g ~ } g2
+ \relative {
+ \tuplet 3/2 { b'4 a g ~ } g2
}
}
>>
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "@code{\\partial} works with polymetric staves."
}
\score {
- \relative c' <<
+ \relative <<
\new Staff {
\partial 4
- c4 |
+ c'4 |
c4 c c c |
}
\new Staff {
-\version "2.16.0"
+\version "2.19.21"
\header {
be placed at spacer rests." }
\score {
- \relative c'' {
+ \relative {
\set Staff.pedalSustainStyle = #'bracket
- c4 d <e f b,> \sustainOn b c c, \sustainOff \sustainOn d8[ c] e8[
+ c''4 d <e f b,> \sustainOn b c c, \sustainOff \sustainOn d8[ c] e8[
e \sustainOff \sustainOn] f4 r \sustainOff
g \sustainOn bes bes, \sustainOff c'
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Phrasing slurs do not collide with tuplet numbers."
}
-\relative c'' {
+\relative {
\voiceOne
\tuplet 3/2 {
- c8\( b c
+ c''8\( b c
}
a2.\)
}
-\version "2.19.2"
+\version "2.19.21"
\header {
texidoc = "Nested properties may be overridden using Scheme list
syntax. This test performs two property overrides: the first
"
}
-\relative c' {
+\relative {
\once \override TextSpanner.bound-details.left.text = #"foo"
- c4\startTextSpan
+ c'4\startTextSpan
\once \override Tie.details.note-head-gap = #1
c4 ~ 4 c\stopTextSpan
-\version "2.17.11"
+\version "2.19.21"
\header {
}
-foo = \relative c' {
- \tuplet 3/2 { c4 c c } \tuplet 3/2 { c4 c c }
+foo = \relative {
+ \tuplet 3/2 { c'4 c c } \tuplet 3/2 { c4 c c }
}
\addQuote "foo" { \foo }
the alignment depends on which symbols are visible."
}
-\version "2.17.6"
+\version "2.19.21"
-\relative c' {
+\relative {
\override Score.RehearsalMark.break-align-symbols = #'(clef key-signature staff-bar)
- c1
+ c'1
\clef "bass"
\mark "clef"
\noBreak
texidoc = "Notes are entered using absolute octaves,
octaves relative to the previous note, or relative to a fixed octave."
}
-\version "2.19.20"
+\version "2.19.21"
\new Staff {
- \relative c'' { c4 g \absolute { c'' } e' \fixed c'' { g1 }}
- \fixed c'' { c4 \fixed c' { g } c e \relative c''' { g1 } }
- \clef bass \relative c { c4 g c e g1 }
+ \relative { c''4 g \absolute { c'' } e' \fixed c'' { g1 }}
+ \fixed c'' { c4 \fixed c' { g } c e \relative { g''1 } }
+ \clef bass \relative { c4 g c e g1 }
\fixed c { c4 g, c e g1 }
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "
Percent repeat counters can be shown at regular
"
}
-\relative c'' {
+\relative {
\set countPercentRepeats = ##t
\set repeatCountVisibility = #(every-nth-repeat-count-visible 5)
- \repeat percent 10 { c1 } \break
+ \repeat percent 10 { c''1 } \break
\set repeatCountVisibility = #(every-nth-repeat-count-visible 2)
\repeat percent 6 { c1 d1 }
}
-\version "2.17.15"
+\version "2.19.21"
\header {
texidoc = "Percent repeats are also centered when there is a grace note in a parallel staff. "
ragged-right =##t
}
-\relative c' <<
- \new Staff { \repeat percent 3 c1}
+\relative <<
+ \new Staff { \repeat percent 3 c'1}
\new Staff { c1 c \grace b8 c1 }
>>
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Beat repeats for patterns containing mixed durations use
a double percent symbol."
}
-\relative c' {
+\relative {
\repeat percent 4 {
- c8. <d f>16
+ c'8. <d f>16
}
\repeat percent 2 {
\tuplet 3/2 {
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Beat repeats for patterns containing identical durations
shorter than an eighth note use multiple slashes."
}
-\relative c' {
- \repeat percent 2 { c16 d e f }
+\relative {
+ \repeat percent 2 { c'16 d e f }
\repeat percent 4 { c32 e g e }
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "A tremolo repeat containing only one note (no sequential music)
\paper { ragged-right = ##t }
\score {
- \new Staff \relative c'' {
- \repeat tremolo 4 { a16 }
+ \new Staff \relative {
+ \repeat tremolo 4 { a'16 }
\repeat tremolo 4 { a16\f }
\repeat tremolo 4 a16
\repeat tremolo 4 a16\f |
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "A tremolo can have more than two notes. Also check that
\paper { ragged-right = ##t }
\score {
- \new Staff \relative c' {
+ \new Staff \relative {
\time 3/4
\repeat tremolo 16 { a64 c e } |
\repeat tremolo 8 { a,64 c e }
-\version "2.16.0"
+\version "2.19.21"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "More alternatives than repeats. Junking excess alternatives"))
Unfolded behavior:"
}
-\context Voice \relative c'' {
- \repeat unfold 3 { c^"3x 0a" d }
+\context Voice \relative {
+ \repeat unfold 3 { c''^"3x 0a" d }
%% less alts than body
\repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
%% more alts than body
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "When too few alternatives are present, the first
\paper { ragged-right = ##t }
-\relative c'' \context Voice {
- \repeat volta 3 c1
+\relative \context Voice {
+ \repeat volta 3 c''1
\alternative { d f } e4
}
-\version "2.16.0"
+\version "2.19.21"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "More alternatives than repeats. Junking excess alternatives"))
%% no alts.
-\context Voice \relative c'' {
+\context Voice \relative {
%% repeat non aligning with barlines.
- \repeat volta 3 { c^"3x 0alt" d e }
+ \repeat volta 3 { c''^"3x 0alt" d e }
%% less alts than body
\repeat volta 4 { c^"4x 2alt" d } \alternative { e f }
%% more alts than body
account properly."
}
-\version "2.17.6"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c''' {
+\relative {
\override Rest.direction = #UP
- \stemDown b8[ r b]
+ \stemDown b''8[ r b]
\override Rest.direction = #DOWN
\stemDown b8[ r b]
}
collision."
}
-\version "2.16.0"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c''' {
- \stemDown b8[ r b]
+\relative {
+ \stemDown b''8[ r b]
\stemUp b,,8[ r b]
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Horizontal scripts don't have @code{avoid-slur} set."
ragged-right = ##t
}
-\relative c'' {
+\relative {
\set fingeringOrientations = #'(right)
- < a-1 d-2>2
+ < a'-1 d-2>2
< a-1 d-2>2
< a-1 d-2>2(
< a-1 d-2>2)
"
}
-\version "2.19.16"
-\relative c''
+\version "2.19.21"
+\relative
{
\override Script.toward-stem-shift = #1.0
- a4^> c_>
+ a'4^> c_>
\override Script.toward-stem-shift = #0.0
a4^> c_>
"
}
-\version "2.17.15"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c'
+\relative
{
\set stringNumberOrientations = #'(left)
\set fingeringOrientations = #'(left)
\set strokeFingerOrientations = #'(left)
- <cis-1\4
+ <cis'-1\4
-\rightHandFinger #1 f>\arpeggio
}
-\version "2.17.15"
+\version "2.19.21"
\header {
and then return to the previous value."
}
-\relative c' {
+\relative {
\set fingeringOrientations = #'(left)
- <e-1>1 |
+ <e'-1>1 |
\once \set fingeringOrientations = #'(right)
<e-1> |
<e-1> -"left" |
}
-\version "2.17.11"
+\version "2.19.21"
\paper {
ragged-right = ##T
}
-\new Staff \relative c' {
+\new Staff \relative {
\set Score.skipTypesetting = ##t
- \tuplet 3/2 { c8 c c } \tuplet 3/2 { c c c }
+ \tuplet 3/2 { c'8 c c } \tuplet 3/2 { c c c }
\tuplet 3/2 { c c c } \tuplet 3/2 { c c c}
\set Score.skipTypesetting = ##f
d1 \break
\layout {ragged-right = ##t}
-\version "2.17.6"
-\relative c''' {
+\version "2.19.21"
+\relative {
\override Score.PaperColumn.keep-inside-line = ##f
\override TextScript.outside-staff-priority = #2
\override DynamicLineSpanner.outside-staff-priority = #1
- c
+ c'''
\once \override TextScript.self-alignment-X = #CENTER
a,^"this doesn't collide with the c"
b^"this goes above the previous markup"
texidoc = "Some composers use slurs both above and below chords.
This can be typeset by setting @code{doubleSlurs}"
}
-\version "2.16.0"
+\version "2.19.21"
\layout { ragged-right = ##t }
-\relative c' {
+\relative {
\set doubleSlurs = ##t
- <c e>4 ( <d f> <c e> <d f> )
+ <c' e>4 ( <d f> <c e> <d f> )
}
-\version "2.17.6"
+\version "2.19.21"
\header {
ragged-right = ##t
}
-baseWalk = \relative c {
+baseWalk = \relative {
\time 6/4
\stemDown
\slurUp
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Slurs take flag extents into account.
"
}
-\relative c'' {
+\relative {
\stemUp
\slurUp
- b8( c)
+ b'8( c)
}
the given pair. "
}
-\version "2.17.6"
+\version "2.19.21"
\paper { ragged-right = ##T }
-\relative c' {
+\relative {
\override Slur.positions = #'(-4 . -5)
- e( f g)
+ e'( f g)
}
}
-\version "2.17.11"
+\version "2.19.21"
\paper {
ragged-right = ##t
% #(define debug-slur-scoring #t)
}
-\relative c' {
+\relative {
\slurUp
\override TupletBracket.bracket-visibility = ##f
\override Slur.details.region-size = #6
\tuplet 3/2
{
- c( g' c,)
+ c'( g' c,)
}
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Outside staff callbacks that no longer apply to grobs
"
}
-\relative c'' {
+\relative {
\set strokeFingerOrientations = #'(up)
\override StrokeFinger.avoid-slur = #'outside
\autoBeamOff
- <a-\rightHandFinger #2 >16 b
+ <a'-\rightHandFinger #2 >16 b
<a-\rightHandFinger #2 >16( b)
}
-\version "2.17.15"
+\version "2.19.21"
\header {
texidoc="Festival song synthesis output supports
reordered lyrics.
\festival #"song-reordering.xml" { \tempo 4 = 100 }
<<
- \relative c' \context Voice = "lahlah" {
+ \relative \context Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
\context Voice = alternative {
\voiceOne
-\version "2.17.15"
+\version "2.19.21"
\header {
texidoc="Festival song synthesis output supports
reordered lyrics.
\festival #"song-reordering2.xml" { \tempo 4 = 100 }
<<
- \relative c' \context Voice = "lahlah" {
+ \relative \context Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
<<
{
\voiceTwo
-\version "2.17.15"
+\version "2.19.21"
\header {
texidoc="Festival song synthesis output supports
slurs.
\festival #"song-slurs.xml" { \tempo 4 = 100 }
<<
- \relative c' \context Voice = "lahlah" {
+ \relative \context Voice = "lahlah" {
\set Staff.autoBeaming = ##f
- c4
+ c'4
\slurDotted
f8.[( g16])
a4
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Accidentals do not influence the amount of stretchable space.
\layout {
line-width = 18.\cm
}
-\relative c'' {
+\relative {
\accidentalStyle piano-cautionary
\time 2/4
- d16 d d d d d cis d dis dis dis dis
+ d''16 d d d d d cis d dis dis dis dis
}
}
-\version "2.17.6"
+\version "2.19.21"
\layout{
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
\override Score.NonMusicalPaperColumn.layer = #2
\time 2/4
\stemUp
s2
- c4 r4
+ c''4 r4
cis4 r4
}
}
-\version "2.17.6"
+\version "2.19.21"
\layout{
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
\override Score.NonMusicalPaperColumn.layer = #2
\time 2/4
\stemDown
s2
- e4 s4
+ e''4 s4
e,4 s4
}
}
-\version "2.17.6"
+\version "2.19.21"
\layout{
ragged-right=##t
}
-\new Staff \relative c' {
+\new Staff \relative {
\override Score.NonMusicalPaperColumn.stencil = #ly:paper-column::print
\override Score.NonMusicalPaperColumn.layer = #1
\time 4/4
s1
- c2. c4
+ c'2. c4
\time 3/4
s2.
c2.
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Clefs are also folded under cross staff constructs."
}
\context PianoStaff <<
\new Staff = "up"
- \relative c'' <<
+ \relative <<
{
\stemDown
- f16[ \change Staff = down \stemUp
+ f''16[ \change Staff = down \stemUp
\clef treble g,]
} \\
texidoc = "accidentals may be folded under preceding notes."
}
-\version "2.16.0"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c''' {
- \stemUp c4...*1/2
+\relative {
+ \stemUp c'''4...*1/2
ceses,,!
eses!
}
\new PianoStaff <<
- \new Staff \relative c' {
+ \new Staff \relative {
\tuplet 3/2 { g'4 a2 }
}
\new Staff \relative {
}
-\version "2.17.6"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c''
+\relative
{
\override Score.RehearsalMark.break-visibility = #begin-of-line-invisible
- c1
+ c''1
\mark "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "
}
-\version "2.17.11"
+\version "2.19.21"
\header{
\paper {ragged-right = ##f }
-\relative c' {
+\relative {
\context StaffGroup <<
\new Staff \context Voice {
- \tuplet 10/8 { c8[ c c c c c c c c c] }
+ \tuplet 10/8 { c'8[ c c c c c c c c c] }
}
\new Staff \context Voice {
\tuplet 8/8 { c8[ c c c c c c c] }
-\version "2.16.0"
+\version "2.19.21"
\header {
ragged-right = ##t
}
-\relative c'' \context Staff {
+\relative \context Staff {
\set autoBeaming = ##f
- a8[ a8 a8 a8]
+ a'8[ a8 a8 a8]
a8 a8 a8 a8
}
"
}
-\version "2.17.6"
+\version "2.19.21"
-\relative c' {
+\relative {
\override Score.SpacingSpanner.packed-spacing = ##t
- c2 d4 f8[ g] a
+ c'2 d4 f8[ g] a
}
}
-\version "2.17.11"
+\version "2.19.21"
\paper { ragged-right = ##t }
-\relative c''
+\relative
<<
\set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
- \new Staff { c8[ c c c c c] c4 c2 r2 }
+ \new Staff { c''8[ c c c c c] c4 c2 r2 }
\new Staff { c2 \tuplet 3/2 { c8 c c } c4 c1 }
>>
-\version "2.16.0"
+\version "2.19.21"
\header {
ragged-last = ##t
}
-\relative c'' \new Staff { \repeat unfold 20 { c1 } }
+\relative \new Staff { \repeat unfold 20 { c''1 } }
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Upstem notes before a barline are printed with some extra
\layout { ragged-right = ##t}
-\relative e'
+\relative
{
\override Score.PaperColumn.layer = #1
\override Score.PaperColumn.stencil = #ly:paper-column::print
\time 2/8
\stemUp
- e8[ e]
+ e'8[ e]
e'[ e]
}
-\version "2.17.6"
+\version "2.19.21"
\header{
}
-\context Voice \relative c {
+\context Voice \relative {
\override Score.PaperColumn.layer = #1
\override Score.PaperColumn.stencil = #ly:paper-column::print
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "For juxtaposed chords with the same direction, a
slight optical correction is used. It is constant, and works only if
\layout { ragged-right = ##t}
-\relative c'' {
+\relative {
\override Score.PaperColumn.layer = #1
\override Score.PaperColumn.stencil = #ly:paper-column::print
\stemDown
\time 12/4
- f8[
+ f''8[
e f e] f[ d f d] f[ c f c] f[ b, f' b,] f'[ a, f' a,]
}
}
-\version "2.17.28"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
}
-\relative c''
+\relative
<<
\override Score.SpacingSpanner.strict-note-spacing = ##t
\set Score.proportionalNotationDuration = #(ly:make-moment 1/16)
\new Staff {
- c8[ c \clef alto c c \grace { d16 } c8 c] c4 c2
+ c''8[ c \clef alto c c \grace { d16 } c8 c] c4 c2
\grace { c16 c16 }
c2 }
\new Staff {
}
-\version "2.17.11"
+\version "2.19.21"
-\relative c''
+\relative
<<
\override Score.SpacingSpanner.uniform-stretching = ##t
\new Staff {
- c16[ c c c c c c c c c16]
+ c''16[ c c c c c c c c c16]
}
\new Staff {
\tuplet 7/6 { c16 c c cis c c c }
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "The visibility of left-broken line spanners and hairpins
\paper { ragged-right = ##t }
-\relative c' {
+\relative {
\override TextSpanner.bound-details =
#'((left
(Y . 0)
(text . #f))
(right-broken
(text . #f)))
- c1\startTextSpan\< \break
+ c'1\startTextSpan\< \break
\override Hairpin.to-barline = ##f
\override Hairpin.after-line-breaking = ##f
c2\stopTextSpan\!
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "The @code{break-overshoot} property sets the amount that
\paper { ragged-right = ##t }
-\relative c'' {
+\relative {
\override Beam.break-overshoot = #'(1.0 . 2.0)
\override TupletBracket.break-overshoot = #'(1.0 . 2.0)
\override TupletBracket.bracket-visibility = ##t
\override Beam.breakable = ##t
- c2.. \tuplet 3/2 { c8.[ \break c8.] }
+ c''2.. \tuplet 3/2 { c8.[ \break c8.] }
}
}
{
- \new Voice \relative c'' {
+ \new Voice \relative {
\voiceOne
- g8-. a-. b-. c-.
+ g'8-. a-. b-. c-.
a-. b-. c-. d-.
b8[-. a-. g b]
e,-. f-. g-. a-.
\stemDown
e,-. d-. c-. b-. a-. g-.
}
- \relative c'' {
+ \relative {
\stemUp
- d-> c-> b-> a-> g-> f-> e-> d->
+ d''-> c-> b-> a-> g-> f-> e-> d->
d'
d-. c-. b-. a-. g-. f-. e-. d-.
}
up to avoid the ledger line (just as with uncustomized ledger lines)."
}
-\version "2.19.17"
+\version "2.19.21"
-\new Staff \relative c' {
+\new Staff \relative {
\override Staff.StaffSymbol.line-positions = #'(-3 0 3)
\override Staff.StaffSymbol.ledger-positions = #'(-3 0)
\override Staff.StaffSymbol.ledger-extra = #1
- f,4. g a b c d g' a b c d e
+ f4. g a b c d g' a b c d e
}
later by setting the @code{ledger-extra} property."
}
-\version "2.17.6"
+\version "2.19.21"
-\new Staff \relative c' {
+\new Staff \relative {
\override Staff.StaffSymbol.line-positions = #'(-5 -2 -1 2 5 6)
\override Staff.StaffSymbol.ledger-positions = #'(-5 (-2 -1) 2)
\override Staff.StaffSymbol.ledger-extra = #1
}
-\version "2.17.6"
+\version "2.19.21"
-\new Staff \relative c' {
+\new Staff \relative {
\override Staff.StaffSymbol.line-positions = #'(-7 -2 0 3 9)
g c f b e a
}
}
-\version "2.17.6"
-\relative c'' \new Voice \with {
+\version "2.19.21"
+\relative \new Voice \with {
\consists "Melody_engraver"
\override Stem.neutral-direction = #'()
} {
- c4 b c b
+ c''4 b c b
c c c c
b a b a
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "Stem length and stem-begin-position can be set manually.
"
}
-\relative c' {
+\relative {
\autoBeamOff
\stemUp
a8 aes''8
-\version "2.16.0"
+\version "2.19.21"
\header {
}
-\relative c'' {
- \stemDown d c b a g f e
+\relative {
+ \stemDown d'' c b a g f e
\stemNeutral
\stemUp a b c d e f g a
\stemNeutral
}
-\version "2.17.6"
+\version "2.19.21"
\layout { ragged-right = ##t }
-\relative c' {
+\relative {
\override Stem.stemlet-length = #0.75
- c8[ r8 c16 r16 c8]
+ c'8[ r8 c16 r16 c8]
c4
}
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc = "Tremolo works even when a stem is forced in a
}
\layout { ragged-right = ##t }
-\relative c
+\relative
{
\clef bass
\stemUp f4 : 32
-\version "2.17.6"
+\version "2.19.21"
\header{
texidoc="Stem tremolos count in a note column's horizontal skyline.
"
}
-\relative c'' {
+\relative {
\autoBeamOff
\override NoteHead.stencil = #(ly:make-stencil '() '(0 . 0) '(0 . 0))
- \repeat unfold 8 { b8:32 }
+ \repeat unfold 8 { b'8:32 }
}
\header { texidoc = "A heavy-bar system start delimiter may be created by tuning the @code{SystemStartBar} grob."
}
-\version "2.17.15"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
<<
\new StaffGroup
- \relative c' <<
+ \relative <<
\set StaffGroup.systemStartDelimiter = #'SystemStartBar
\override StaffGroup.SystemStartBar.thickness = #8
\override StaffGroup.SystemStartBar.padding = #0.2
- \new Staff { c1 }
+ \new Staff { c'1 }
\new Staff { c1 }
>>
\new Staff { c1 }
created with the @code{systemStartDelimiterHierarchy} property."
}
-\version "2.17.15"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
\new StaffGroup
-\relative c' <<
+\relative <<
\set StaffGroup.systemStartDelimiterHierarchy
= #'(SystemStartSquare (SystemStartBracket a (SystemStartSquare b)) d)
- \new Staff { c1 }
+ \new Staff { c'1 }
\new Staff { c1 }
\new Staff { c1 }
\new Staff { c1 }
c'1 ~ \break c2 ~ 2
}
-thirdpart = \relative c' {
+thirdpart = \relative {
\repeat volta 2 {
- < c\3 e\2 g\1 >4 < c\3 e\2 g\1 > ~ < c\3 e\2 g\1 >\laissezVibrer r
+ < c'\3 e\2 g\1 >4 < c\3 e\2 g\1 > ~ < c\3 e\2 g\1 >\laissezVibrer r
c4. d8 e2 ~
}
\alternative { { e2 r } { e2\repeatTie e2^\fermata } }
-\version "2.16.0"
+\version "2.19.21"
#(ly:set-option 'warning-as-error #f)
#(ly:expect-warning (_ "No open string for pitch ~a") "#<Pitch f >")
"
}
-mymusic = \relative c {
+mymusic = \relative {
\set minimumFret = #1
<d-0 d'-2 f-3 a-1>1
<f-0>
-\version "2.16.0"
+\version "2.19.21"
\header {
texidoc= "Text spanners should not repeat start text when broken."
}
ragged-right = ##t
}
-\relative c'' {
+\relative {
\set crescendoText = #"cresc."
\set crescendoSpanner = #'text
- c1\< c \break
+ c''1\< c \break
c1 c\! \break
}
" }
-\version "2.17.6"
+\version "2.19.21"
\paper {
debug-tie-scoring = ##t
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override Tie.layer = #2
- a ~ <fis a>
+ a' ~ <fis a>
}
% EOF
-\version "2.17.6"
+\version "2.19.21"
\header {
line-width = 40.0\mm
}
-\relative c' {
+\relative {
\override Tie.minimum-length = #5
- f2. f16 f f f ~ | \break
+ f'2. f16 f f f ~ | \break
f1
}
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "If using integers, the tie will vertically tuned for
as the exact location."
}
-\relative c'' {
+\relative {
\override Tie.staff-position = #3
- d4 ~
+ d''4 ~
\override Tie.staff-position = #3.0
d ~
d
-\version "2.19.16"
+\version "2.19.21"
\header {
texidoc = "This test covers the mensural and neomensural time signature styles."
\layout { indent = 0 }
-testMusic = \relative f' {
- \time 4/4 \partial 4 f4
+testMusic = \relative {
+ \time 4/4 \partial 4 f'4
\time 2/2 \partial 4 f4
\time 6/4 \partial 4 f4
\time 6/8 \partial 4 f4
-\version "2.19.16"
+\version "2.19.21"
\header {
texidoc = "The numbered time signature style prints a fraction."
}
\new Staff {
- \relative d' {
+ \relative {
\override Staff.TimeSignature.style = #'numbered
- \time 4/4 d1
+ \time 4/4 d'1
\time 3/4 d2.
\time 2/2 d1
\time 16/128 d8
-\version "2.19.16"
+\version "2.19.21"
\header {
texidoc = "The single-digit time signature style prints the numerator only."
}
\new Staff {
- \relative d' {
+ \relative {
\override Staff.TimeSignature.style = #'single-digit
- \time 1/2 d2
+ \time 1/2 d'2
\time 2/4 d4 d
\time 3/4 d2.
\time 16/4 d\longa
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "In combination with a beam, the bracket of the tuplet
}
\layout { ragged-right= ##t }
-\context Voice\relative c'' {
- \tuplet 3/2 { r c8[ c8] }
+\context Voice\relative {
+ \tuplet 3/2 { r c''8[ c8] }
\tuplet 3/2 { c8[ c c] }
\tuplet 3/2 { c16[ c16] c8[ c8] }
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "@code{TupletBracket} grobs avoid @code{Fingering} grobs.
"
}
-\relative d'' {
+\relative {
\override TupletBracket.direction = #UP
- \tuplet 3/2 { d4 a8-4 }
+ \tuplet 3/2 { d''4 a8-4 }
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Tuplet brackets avoid scripts by default.
"
}
-\relative c'' {
- \tuplet 3/2 { a8^\espressivo r a^\espressivo }
+\relative {
+ \tuplet 3/2 { a'8^\espressivo r a^\espressivo }
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "@code{TupletBracket} grobs avoid @code{StringNumber} grobs.
"
}
-\relative d'' {
+\relative {
\override TupletBracket.direction = #UP
- \tuplet 3/2 { d4 <a\4>8 }
+ \tuplet 3/2 { d''4 <a\4>8 }
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Tuplet brackets' outside staff priority can be
}
-\relative c'' {
+\relative {
\override TupletBracket.avoid-scripts = ##f
% Plain old tuplet
- \tuplet 3/2 { a8 r a }
+ \tuplet 3/2 { a'8 r a }
% With nothing set, collisions abound both horizontally and
% vertically
\tuplet 3/2 { a8^\espressivo r a^\espressivo }
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Tuplet brackets do not push objects with outside-staff-priority
"
}
-\relative c' {
+\relative {
\override TupletBracket.direction = #UP
\tuplet 1/1 { a^"foo" a' a' a' }
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "The default behavior of tuplet-bracket visibility is to print a bracket
"
}
-music = \relative c'' {
- \tuplet 3/2 { c16[ d e } f8]
+music = \relative {
+ \tuplet 3/2 { c''16[ d e } f8]
\tuplet 3/2 { c8 d e }
\tuplet 3/2 { c4 d e }
}
}
-\version "2.17.11"
+\version "2.19.21"
\paper {
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override TupletNumber.text = #tuplet-number::calc-fraction-text
\override TupletBracket.edge-text = #(cons
#:arrow-head X LEFT #f)
(markup #:arrow-head X RIGHT #f))
\tuplet 19/11 {
- c4 c4 c4 c4
+ c''4 c4 c4 c4
\bar "-" \break
c4 c4 c4 c4
c4 c4 c4 c4
start of the next non-tuplet note. "
}
-\version "2.17.11"
+\version "2.19.21"
\paper { ragged-right = ##t
indent = 0.0
}
-\relative c'' \new Voice \with {
+\relative \new Voice \with {
\remove Forbid_line_break_engraver
\override Beam.breakable = ##t
}
{
\set tupletFullLength = ##t
- c4
+ c''4
\tuplet 3/2 { c8[ c c] }
\tuplet 3/2 { c8[ c \bar "-" \break c] }
<< \tuplet 3/2 { c8[ c c] }
}
-\version "2.17.11"
+\version "2.19.21"
\layout {
indent = 0.0\mm
}
-\relative c'' {
+\relative {
\override TupletNumber.text = #tuplet-number::calc-fraction-text
- \tuplet 12/17 { c8 c4 c8 c8}
+ \tuplet 12/17 { c''8 c4 c8 c8}
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Broken nested tuplets avoid each other correctly.
\score {
\new Staff
<<
- \relative c'' {
+ \relative {
\override Score.Beam.breakable = ##t
r2
\tuplet 3/4 {
- \tuplet 3/2 { c8[ c c] }
+ \tuplet 3/2 { c''8[ c c] }
\tuplet 3/2 { c8[ c c] }
\tuplet 3/2 { c8[ c c] }
}
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc=" Tuplets may be nested."
indent = 0.0
}
-\relative c'' {
+\relative {
\tuplet 3/4 {
- \tuplet 3/2 { c8[ c c] }
+ \tuplet 3/2 { c''8[ c c] }
\tuplet 3/2 { c8[ c c] }
\tuplet 3/2 { c8[ c c] }
}
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers are positioned correctly on kneed French-style beams."
bottom = \change Staff = "2"
music =
-\relative c' {
+\relative {
\time 3/4
\override Beam.auto-knee-gap = 1
\override Stem.french-beaming = ##t
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "In tuplets with an even number of stems, the number
ragged-right = ##t
}
-\relative c' {
+\relative {
\time 2/4
\override Beam.auto-knee-gap = 1
\tuplet 6/4 4 {
- c16 c'' c,, c'' c,, c''
+ c'16 c'' c,, c'' c,, c''
\once \override TupletNumber.direction = #UP
c,,16 c'' c,, c'' c,, c''
}
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers are placed next to the beam unless there is
}
\score {
- \relative c' {
+ \relative {
\time 2/4
\override Beam.auto-knee-gap = 1
\tuplet 6/4 4 {
\once \override TupletNumber.text =
#tuplet-number::calc-fraction-text
- c16 c'' c,, c'' c,, c''
+ c'16 c'' c,, c'' c,, c''
\once \override TupletNumber.text =
#(tuplet-number::fraction-with-notes "16" "16")
c,,16 c'' c,, c'' c,, c''
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "A tuplet number associated with a kneed beam is not placed between
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override Beam.auto-knee-gap = 1
\tuplet 3/2 4 {
- c8 c''' cis,,,
+ c''8 c''' cis,,,
c8 c'''' c,,,
c''8 c c,,
c,8 c,,, c'''
-\version "2.19.4"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers are placed next to kneed beams when
top = \change Staff = "1"
bottom = \change Staff = "2"
-music = \relative c {
+music = \relative {
\override Beam.auto-knee-gap = 1
\tuplet 3/2 4 {
c8 \top e'' \bottom g,,
-\version "2.17.11"
+\version "2.19.21"
\header {
}
-\relative c'' {
+\relative {
\override TupletBracket.outside-staff-priority = #1
\override TupletNumber.font-size = #5
- \tuplet 3/2 { a4\trill a\trill^"foo" a\trill }
+ \tuplet 3/2 { a'4\trill a\trill^"foo" a\trill }
}
\ No newline at end of file
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers' outside staff priority can be
}
-\relative c'' {
+\relative {
\override TupletBracket.avoid-scripts = ##f
- \tuplet 3/2 { a8\trill a\trill a\trill }
+ \tuplet 3/2 { a'8\trill a\trill a\trill }
\override TupletNumber.outside-staff-priority = #1
\tuplet 3/2 { a8\trill a\trill a\trill }
\override Script.outside-staff-priority = #2
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers will maintain a constant distance from
ragged-right = ##f
}
-\relative c' {
+\relative {
\tuplet 3/2 4 {
- c8 g''' a
+ c'8 g''' a
\once \offset X-offset 2 TupletNumber
c,,, g''' a
\once \offset X-offset #-2 TupletNumber
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers associated with kneed beams will
top = \change Staff = "1"
bottom = \change Staff = "2"
-music = \relative c {
+music = \relative {
\override Beam.auto-knee-gap = 1
\tuplet 5/4 4 {
c16[ \top g'' e' \bottom fis,, \top c']
-\version "2.19.3"
+\version "2.19.21"
\header {
texidoc = "Tuplet numbers are positioned next to kneed beams."
top = \change Staff = "1"
bottom = \change Staff = "2"
-music = \relative c {
+music = \relative {
\time 3/4
\override Beam.auto-knee-gap = 1
\tuplet 3/2 4 {
-\version "2.17.30"
+\version "2.19.21"
\header {
texidoc = "Tuplet bracket formatting supports numerous options,
"
}
-\context Voice \relative c'' {
+\context Voice \relative {
- \tuplet 3/2 { c'8 c,, c }
+ \tuplet 3/2 { c'''8 c,, c }
\tuplet 3/2 { c'8 c'' c,, }
\tuplet 3/2 { c8[^"NB" c c] }
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Tuplets may contain rests. "
}
-\context Voice \relative c'' {
+\context Voice \relative {
\time 2/4
- \tuplet 3/2 { r c,,, c''' }
+ \tuplet 3/2 { r c, c''' }
\tuplet 3/2 { r c c }
\tuplet 3/2 { r c r }
\tuplet 3/2 { r r r }
texidoc = "Show tuplet numbers also on single-note tuplets (otherwise the timing would look messed up!), but don't show a bracket. Make sure that tuplets without any notes don't show any number, either."
}
-\version "2.17.11"
+\version "2.19.21"
\paper { ragged-right = ##t
indent = 0.0 }
\new Staff <<
- \new Voice \relative c'' {
- \tuplet 6/4 { c2.:8 } \tuplet 3/2 { g4.:8 } \tuplet 3/2 { a,4.:8 } \tuplet 6/4 {} \bar"|."
+ \new Voice \relative {
+ \tuplet 6/4 { c''2.:8 } \tuplet 3/2 { g4.:8 } \tuplet 3/2 { a,4.:8 } \tuplet 6/4 {} \bar"|."
}
>>
ragged-right = ##t
}
-\version "2.17.11"
+\version "2.19.21"
\new Voice {
- \relative c'' {
- \tuplet 3/2 { c4 d e}
+ \relative {
+ \tuplet 3/2 { c''4 d e}
\tuplet 3/2 { c4 d e}
}
- \relative c' {
+ \relative {
\tuplet 5/4 { a'4 as g fis f }
\tuplet 5/4 { fis4 e es d des }
\tuplet 5/4 { fis,4 e es d des }
-\version "2.17.11"
+\version "2.19.21"
\header {
texidoc = "Horizontal tuplet brackets are shifted vertically
\layout { ragged-right= ##t }
-\context Voice\relative c'' {
- \tuplet 3/2 { b'4 b b }
+\context Voice\relative {
+ \tuplet 3/2 { b''4 b b }
\tuplet 3/2 { f4 f f }
\tuplet 3/2 { g4 g g }
\tuplet 3/2 { a4 a a }
-\version "2.17.11"
+\version "2.19.21"
\header {
"
}
-\relative c'' {
+\relative {
\set subdivideBeams = ##t
\set baseMoment = #(ly:make-moment 1/8)
\set beatStructure = #'(2 2 2 2)
\repeat unfold 8 {
- \tuplet 3/2 { c16 e d }
+ \tuplet 3/2 { c''16 e d }
}
}
-\version "2.17.11"
+\version "2.19.21"
\header{
texidoc="Non-standard tuplet texts: Printing other tuplet fractions than the ones actually assigned."
}
\layout { ragged-right= ##t }
-\context Voice \relative c'' {
+\context Voice \relative {
\once \override TupletNumber.text = #(tuplet-number::non-default-tuplet-denominator-text 7)
- \tuplet 3/2 { c4. c4. c4. c4. }
+ \tuplet 3/2 { c''4. c4. c4. c4. }
\once \override TupletNumber.text = #(tuplet-number::non-default-tuplet-fraction-text 12 7)
\tuplet 3/2 { c4. c4. c4. c4. }
\once \override TupletNumber.text = #(tuplet-number::append-note-wrapper (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
-\version "2.17.11"
+\version "2.19.21"
\header{
texidoc="Non-standard tuplet texts: Printing a tuplet fraction with note durations assigned to both the denominator and the numerator."
}
-\context Voice \relative c'' {
+\context Voice \relative {
\once \override TupletNumber.text = #(tuplet-number::fraction-with-notes "4." "8")
- \tuplet 3/2 { c4. c4. c4. c4. }
+ \tuplet 3/2 { c''4. c4. c4. c4. }
\once \override TupletNumber.text = #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
\tuplet 3/2 { c4. c4. c4. c4. }
}
-\version "2.17.11"
+\version "2.19.21"
\header{
texidoc="Non-standard tuplet texts: Appending a note value to the normal text and to the fraction text."
}
\layout { ragged-right= ##t }
-\context Voice \relative c'' {
+\context Voice \relative {
\once \override TupletNumber.text = #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
- \tuplet 3/2 { c8 c8 c8 c8 c8 c8 }
+ \tuplet 3/2 { c''8 c8 c8 c8 c8 c8 }
\once \override TupletNumber.text = #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
\tuplet 3/2 { c8 c8 c8 c8 c8 c8 }
}
-\version "2.17.11"
+\version "2.19.21"
\header{
texidoc="
\layout { ragged-right= ##t }
-\context Voice \relative c'' {
- \tuplet 3/2 { a8 b c }
+\context Voice \relative {
+ \tuplet 3/2 { a'8 b c }
\tuplet 3/2 { r8 b[ f] }
\override TupletBracket.bracket-flare = #'(0.5 . 0.5)
\tuplet 3/2 { r8 b r8 }
-\version "2.17.6"
+\version "2.19.21"
\header {
texidoc = "unpure-pure containers take two arguments: an unpure property and
"
}
-\relative c'' {
+\relative {
\stemUp \autoBeamOff
- d,8 eis'
+ d'8 eis'
\once \override Flag.Y-offset =
#(ly:make-unpure-pure-container ly:flag::calc-y-offset 8)
d,8 eis'!
-\version "2.17.15"
+\version "2.19.21"
\header {
value for just one timestep and then return to the previous value."
}
-\relative c' {
+\relative {
\set fingeringOrientations = #'(left)
- <e-1>1 |
+ <e'-1>1 |
\once \unset fingeringOrientations
<e-1>-"default" |
<e-1>-"left" |
-\version "2.16.0"
+\version "2.19.21"
\header { texidoc= "
ragged-right = ##t
}
-\relative c'
+\relative
\context PianoStaff <<
\set PianoStaff.followVoice = ##t
\new Staff = "one" \context Voice {
- c1
+ c'1
\change Staff=two
b2 a
}
-\version "2.17.6"
+\version "2.19.21"
\header { texidoc = "If the 'whiteout property of a
grob is set to #t, that part of all objects in lower
"
}
-\relative c' {
+\relative {
\time 3/4
\override Staff.StaffSymbol.layer = #4
\once \override Tie.layer = #2
markup. "
}
-\version "2.17.6"
+\version "2.19.21"
\paper
{
ragged-right = ##t
}
-\relative c'' {
+\relative {
\override TextScript.layer = #'2
\override TextScript.extra-offset = #'(2 . 4)
- c4-\markup { \whiteout \pad-markup #0.5 foo } c
+ c''4-\markup { \whiteout \pad-markup #0.5 foo } c
}