@lilypond[fragment,verbatim]
-\relative c'' { \key c \minor; r8 c16 b c8 g as c16 b c8 d | g,4 }
+\relative c'' { \key c \minor r8 c16 b c8 g as c16 b c8 d | g,4 }
@end lilypond
The output looks very good: the font and the layout algorithms were
%\property Voice.textNonEmpty = ##f
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c'' {
-\key d \major;
-\time 4/4;
+\key d \major
+\time 4/4
<d4_"notation" a fis> r
{ \property Grace.Stem \override #'flag-style = ##f
\grace g16 }
fis8 e16 fis
{ \property Grace.Stem \override #'flag-style = ##f
\grace a16 }
-g8 fis16 g | a4 \bar "||"; }
+g8 fis16 g | a4 \bar "||" }
\notes\relative c'' {
-<d4_"performance" a fis> r g16 () fis e fis a () g fis g | a4 \bar "||"; }
+<d4_"performance" a fis> r g16 () fis e fis a () g fis g | a4 \bar "||" }
@end lilypond
An appoggiatura may have more notes preceding the main note.
\emptyText
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c'' {
- \key as \major;
- \time 2/4;
+ \key as \major
+ \time 2/4
\grace { bes16 } as8_"notation" as16 bes as8 g |
\grace { [as16 ( bes] } < ) c4 as >
- \grace { [as16 ( bes] } < ) c4 as > \bar "||";
+ \grace { [as16 ( bes] } < ) c4 as > \bar "||"
\grace { bes16 } as8_"performance" as16 bes as8 g |
< \context Voice = va { \stemUp as32 bes c8. as32 bes c8. }
\context Voice = vb { \stemDown as16 ~ as8. as16 ~ as8. } >
- \bar "||";
+ \bar "||"
}
@end lilypond
@lilypond[13pt,eps]
\notes \context PianoStaff <
\context Staff = SA \relative c'' {
- \time 4/4;
- \clef treble;
+ \time 4/4
+ \clef treble
r8 g16 c e g, c e r8 g,16 c e g, c e |
- r8 a,16 d f a, d f r8 a,16 d f a, d f \bar "||"; }
+ r8 a,16 d f a, d f r8 a,16 d f a, d f \bar "||" }
\context Staff = SB \relative c' {
- \clef bass;
+ \clef bass
< \context Voice = va {
\stemUp
r16 e8. () e4 r16 e8. () e4 |
@
@lilypond[13pt,eps]
-\key g \major;
-\time 4/4;
-\notes\relative c'' { g4 c b a | g1 \bar "||";}
-\time 3/8;
-\notes\relative c'' { g8 d' c | b c a | g4. \bar "||";}
+\key g \major
+\time 4/4
+\notes\relative c'' { g4 c b a | g1 \bar "||"}
+\time 3/8
+\notes\relative c'' { g8 d' c | b c a | g4. \bar "||"}
@end lilypond
@item bind
@lilypond[13pt,eps]
\notes\context GrandStaff <
- \relative c''\context Staff = SA { \clef treble; g4 e c2 }
- \relative c \context Staff = SB { \clef bass; c1 \bar "|."; } >
+ \relative c''\context Staff = SA { \clef treble g4 e c2 }
+ \relative c \context Staff = SB { \clef bass c1 \bar "|." } >
@end lilypond
@lilypond[13pt,eps]
\context StaffGroup <
-% \property StaffGroup.minVerticalAlign = 12
- \notes\relative c'' \context Staff = SA { \clef treble; g4 e c2 }
- \notes\relative c \context Staff = SB { \clef bass; c1 \bar "|."; } >
+% \property StaffGroup.minVerticalAlign = #12
+ \notes\relative c'' \context Staff = SA { \clef treble g4 e c2 }
+ \notes\relative c \context Staff = SB { \clef bass c1 \bar "|." } >
@end lilypond
@item brass
\property Score.LyricText \set #'font-style = #'large
\addlyrics
\context Staff \notes\relative c' {
- \clef soprano; c1
- \clef mezzosoprano; c
- \clef alto; c
- \clef tenor; c
- \clef baritone; c
+ \clef soprano c1
+ \clef mezzosoprano c
+ \clef alto c
+ \clef tenor c
+ \clef baritone c
}
\context Lyrics \lyrics {
Soprano Mezzosoprano Alto Tenor Baritone
\property Score.barNonAuto = ##t
\property Voice.textNonEmpty = ##t
\property Voice.TextScript \set #'font-style = #'large
-\time 4/4;
+\time 4/4
\notes\relative c'' {
<g1_"major" b d>
<g_"minor" bes d>
@
@lilypond[13pt,eps]
-\key g \major; \time 4/4;
-\notes\relative c'' { g4 g g a | b2 a | g4 b a a | g1 \bar "||"; }
+\key g \major \time 4/4
+\notes\relative c'' { g4 g g a | b2 a | g4 b a a | g1 \bar "||" }
@end lilypond
@item consonance
\property Score.TimeSignature \override #'style = #'C2/2
\notes\context PianoStaff <
\context Staff = SA \relative c' {
- \key bes \major;
- \time 4/4;
- \clef treble;
+ \key bes \major
+ \time 4/4
+ \clef treble
< \context Voice = rha {
\stemUp
r1 | r2 r8 g'8 bes d, |
>
}
\context Staff = SB \relative c' {
- \clef bass;
- \key bes \major;
+ \clef bass
+ \key bes \major
< \context Voice = lha {
\stemUp
r8 d es g, fis4 g | r8 a16 bes c8 bes16 a bes4 g |
@
@lilypond[13pt,eps]
-\key g \major; \time 4/4;
-\notes\relative c'' { g4 \< a b c | \! d1 \bar "|."; }
+\key g \major \time 4/4
+\notes\relative c'' { g4 \< a b c | \! d1 \bar "|." }
@end lilypond
@item cue-notes
@lilypond[13pt,eps]
\property Voice.TextScript \set #'font-style = #'large
-\key g \major; \time 4/4;
-\notes\relative c'' { d1 | g,4^\segno a b c | b a g2_"d.s." \bar "|."; }
+\key g \major \time 4/4
+\notes\relative c'' { d1 | g,4^\segno a b c | b a g2_"d.s." \bar "|." }
@end lilypond
@item decrescendo
@
@lilypond[13pt,eps]
-\context Staff \notes\relative c'' {\key g \major; \time 4/4;
- d4 \> c b a | \! g1 \bar "|."; }
+\context Staff \notes\relative c'' {\key g \major \time 4/4
+ d4 \> c b a | \! g1 \bar "|." }
@end lilypond
@item descending interval
@
@lilypond[13pt,eps]
-\key a \major;
-\time 4/4;
+\key a \major
+\time 4/4
\notes\relative c' {
- \partial 8; e8 | a4. gis8 b a e cis |
- fis2 d4. \bar "||"; }
+ \partial 8 e8 | a4. gis8 b a e cis |
+ fis2 d4. \bar "||" }
@end lilypond
@item dissonant interval; dissonance
\property Lyrics.LyricText \set #'font-style = #'large
\addlyrics
\notes\relative c {
-% \clef "F3";
- \clef varbaritone;
+% \clef "F3"
+ \clef varbaritone
f1
- \clef bass;
+ \clef bass
f1
- \clef subbass;
+ \clef subbass
f1
- \clef "F^8";
+ \clef "F^8"
f1
- \clef "F_8";
+ \clef "F_8"
f1
}
\context Lyrics \lyrics {
@lilypond[13pt,eps]
-\time 4/4;
+\time 4/4
\notes\relative c'' {
-a4 b c2^\fermata \bar "|."; }
+a4 b c2^\fermata \bar "|." }
@end lilypond
@item fifth
\property Lyrics.LyricText \set #'font-style = #'large
\addlyrics
\notes\relative c'' {
- \clef french;
+ \clef french
g1
- \clef treble;
+ \clef treble
g
- \clef "G^8";
+ \clef "G^8"
g
- \clef "G_8";
+ \clef "G_8"
g
}
\context Lyrics \lyrics {
@lilypond[13pt,eps]
\notes\context PianoStaff <
\context Staff = SA \relative c'' {
- \time 4/4;
- \clef treble;
- \partial 4; < c4 g e > | < c a f > < b g d > < c2 g e > }
+ \time 4/4
+ \clef treble
+ \partial 4 < c4 g e > | < c a f > < b g d > < c2 g e > }
\property Lyrics.LyricText \set #'font-style = #'large
\addlyrics
\context Staff = SB \relative c {
- \clef bass;
- \partial 4; c4 | f, g c2
- \bar "|."; }
+ \clef bass
+ \partial 4 c4 | f, g c2
+ \bar "|." }
\context Lyrics \lyrics { T S D T } >
@end lilypond
\property Score.barNonAuto = ##t
\property Score.TextScript \set #'font-style = #'large
\context Staff \notes\relative c'' {
- < g1_"second" a > s < g'_"seventh" a, > s \bar "||";
- < g,_"third" b > s < g'_"sixth" b, > s \bar "||";
- < g,_"fourth" c > s < g'_"fifth" c, > s \bar "||";
+ < g1_"second" a > s < g'_"seventh" a, > s \bar "||"
+ < g,_"third" b > s < g'_"sixth" b, > s \bar "||"
+ < g,_"fourth" c > s < g'_"fifth" c, > s \bar "||"
}
@end lilypond
\property Lyrics.LyricText \set #'font-style = #'large
\addlyrics
\notes\relative c'' {
- c4( d )e \bar "||";
- c4-- d-- e-- \bar "||";
- c4-.( d-. )e-. \bar "||";
- c4-. d-. e-. \bar "||";
+ c4( d )e \bar "||"
+ c4-- d-- e-- \bar "||"
+ c4-.( d-. )e-. \bar "||"
+ c4-. d-. e-. \bar "||"
}
\context Lyrics \lyrics { a "" "" b "" "" c "" "" d }
@end lilypond
@lilypond[13pt,eps]
\notes\relative c'' {
- \time 3/4;
- \key f \major;
- c es d | c bes8 a bes4 | c es d | c2 \bar "||";}
+ \time 3/4
+ \key f \major
+ c es d | c bes8 a bes4 | c es d | c2 \bar "||"}
@end lilypond
@lilypond[13pt,eps]
\notes\relative c' {
- \time 6/8;
- \key f \major;
+ \time 6/8
+ \key f \major
f8 f f f a16 g a f |
- c'8 c c c e16 d e c \bar "||";}
+ c'8 c c c e16 d e c \bar "||"}
@end lilypond
@lilypond[13pt,eps]
\notes\relative c'' {
- \time 5/4;
- \key g \major;
+ \time 5/4
+ \key g \major
d4 b8 g b d d c a4 |
- g8 g16 g g8 g16 g g8 fis16 g a8 fis16 e d4 \bar "||";}
+ g8 g16 g g8 g16 g g8 fis16 g a8 fis16 e d4 \bar "||"}
@end lilypond
@item metronome
\property Score.barNonAuto = ##t
\property Staff.Clef \set #'full-size-change = ##t
\notes\relative c' {
- \clef bass; c1 s
- \clef alto; c s
- \clef treble; c s
+ \clef bass c1 s
+ \clef alto c s
+ \clef treble c s
}
@end lilypond
\emptyText
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c'' {
- \time 4/4;
- \key g \major;
- \partial 8; g16_"------" fis |
+ \time 4/4
+ \key g \major
+ \partial 8 g16_"------" fis |
g8 d16_"------" c d8 g16 fis g8 b,16 a b8 g'16 fis |
g8 g,16 a b8 cis d16 s
}
\emptyText
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c'' {
- \time 4/4;
- g4._"pointed" g8 g2 | g4 () g8 g g2 \bar "||";
- g4.._"double pointed" g16 g2 | g4 () g8 () g16 g g2 \bar "||"; }
+ \time 4/4
+ g4._"pointed" g8 g2 | g4 () g8 g g2 \bar "||"
+ g4.._"double pointed" g16 g2 | g4 () g8 () g16 g g2 \bar "||" }
@end lilypond
Alternatively note values may be subdivided by other ratios. Most common is
\property Voice.TextScript \set #'font-style = #'large
\emptyText
\notes\relative c'' {
- \time 4/4;
- \times 2/3 {g8_"triplets" g g} g4 g8 g g4 \bar "||";
- \times 2/5 {g8_"quintuplets" g g g g} g4 g8 g g4 \bar "||";
- \time 3/4;
+ \time 4/4
+ \times 2/3 {g8_"triplets" g g} g4 g8 g g4 \bar "||"
+ \times 2/5 {g8_"quintuplets" g g g g} g4 g8 g g4 \bar "||"
+ \time 3/4
\times 3/2 {g4_"duplets" g} |
- g4 g g \bar "||";
+ g4 g g \bar "||"
\times 6/4 {g8_"quadruplets" g g g} |
- g8 g g g g4 \bar "||";}
+ g8 g g g g4 \bar "||"}
@end lilypond
@
\emptyText
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c'' {
- c2._"pre-1850" b4\trill | c1 \bar "||";
- c2._"post-1850" b4\trill | c1 \bar "||";
+ c2._"pre-1850" b4\trill | c1 \bar "||"
+ c2._"post-1850" b4\trill | c1 \bar "||"
}
}
\notes\relative c'' {
\emptyText
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c'' {
- a4_"turn" b\turn c2 \bar "||";
- g4_"mordent" a b\mordent a \bar "||";
- e'4_"prall" d\prall c2 \bar "||";
+ a4_"turn" b\turn c2 \bar "||"
+ g4_"mordent" a b\mordent a \bar "||"
+ e'4_"prall" d\prall c2 \bar "||"
}
}
\notes\relative c'' {
\property Score.barNonAuto = ##t
\property Voice.TextScript \set #'font-style = #'large
\notes\relative c' {
- \key es \major;
+ \key es \major
es1_"e flat major" f g as bes c d es
- \bar "||"; s16
- \key es \major;
- c,1_"c minor" d es f g a! b! c \bar "||";
+ \bar "||" s16
+ \key es \major
+ c,1_"c minor" d es f g a! b! c \bar "||"
}
@end lilypond
@
@lilypond[13pt,eps]
-\key g \major;
-\time 4/4;
+\key g \major
+\time 4/4
\notes\relative c'' {
\repeat volta 2 {g4 g d' d | e e d2 | c4 c b b | a a g2 }
}
\emptyText
\property Score.barNonAuto = ##t
\property Lyrics.LyricText \set #'font-style = #'large
-%\property Lyrics.minVerticalAlign = 8
+%\property Lyrics.minVerticalAlign = #8
\addlyrics
\notes\relative c' {
c1 d e f g a b c }
@
@lilypond[13pt,eps]
-\key d \major;
-\time 4/4;
+\key d \major
+\time 4/4
\notes\relative c'' {
- \partial 8; a8 |
+ \partial 8 a8 |
d4-\staccato cis-\staccato b-\staccato cis-\staccato |
- d2. \bar "||"; }
+ d2. \bar "||" }
@end lilypond
@item staff
@lilypond[13pt,eps]
\emptyText
\property Voice.TextScript \set #'font-style = #'large
-\time 4/4;
+\time 4/4
\notes\relative c' {
- \partial 4;
+ \partial 4
d8 dis |
e c'4 e,8 c'4 e,8 c' ( | ) c2
}
@lilypond[13pt,eps]
\context GrandStaff <
\notes\relative c'' {
- \time 4/4;
- \key es \major;
- \clef treble;
+ \time 4/4
+ \key es \major
+ \clef treble
< \context Voice = rha {
\stemUp
es4 d c bes | bes }
}
\property Voice.TextScript \set #'font-style = #'large
\property Lyrics.LyricText \set #'font-style = #'Large
- \property Lyrics.minVerticalAlign = 6
+ \property Lyrics.minVerticalAlign = #6
\addlyrics
\notes\relative c' {
- \clef bass;
- \key es \major;
+ \clef bass
+ \key es \major
es8 c () c bes () bes as () as g16 f | es4
}
\context Lyrics \lyrics {
@lilypond[13pt,eps]
\context Staff {
- \time 3/4;
+ \time 3/4
\notes\relative c'' {
- \key g \major;
- d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|."; }
+ \key g \major
+ d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|." }
\transpose bes\relative c'' {
- \key g \major;
- d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|."; }
+ \key g \major
+ d4 g,8 a b c | d4 g, g | e' c8 d e fis | g4 g, g \bar "|." }
}
@end lilypond
@
@lilypond[13pt,eps]
-\key f \major;
-\time 4/4;
+\key f \major
+\time 4/4
\notes\relative c' {
- \partial 4; f4 | bes4. a8 bes4 c |
- bes () a g f | bes4. a8 bes4 c | f,2. \bar "||"; }
+ \partial 4 f4 | bes4. a8 bes4 c |
+ bes () a g f | bes4. a8 bes4 c | f,2. \bar "||" }
@end lilypond
@item voice
During these stages different types of data play the the main role:
during parsing, @strong{Music} objects are created. During the
-interpretation, @strong{context} is constructed, and with this context
-af network of @strong{graphical objects} (``grobs'') is created. The
+interpretation, @strong{context}s are constructed, and with these contexts
+a network of @strong{graphical objects} (``grobs'') is created. These
grobs contain unknown variables, and the network forms a set of
equations. After solving the equations and filling in these variables,
the printed output (in the form of @strong{molecules}) is written to an
These threemanship of tasks (parsing, translating, typesetting) and
data-structures (music, context, graphical objects) permeates the entire
design of the program. This manual is ordered in terms of user
-tasks. With each concept will be explained to which of the three parts
+tasks. For each concept, it will be explained to which of the three parts
it belongs.
@lilypond[]
\score {
\notes \relative c'' {
- \breve \autoBeamOff
+ a\breve \autoBeamOff
a1 a2 a4 a8 a16 a32 a64 a64
r\longa r\breve
r1 r2 r4 r8 r16 r32 r64 r64
\paper {
\translator {
\StaffContext
- \remove "Clef_engraver";
- \remove "Staff_symbol_engraver";
- \remove "Time_signature_engraver";
- \consists "Pitch_squash_engraver";
+ \remove "Clef_engraver"
+ \remove "Staff_symbol_engraver"
+ \remove "Time_signature_engraver"
+ \consists "Pitch_squash_engraver"
}
}
}
Note that @code{EasyNotation} overrides a @code{Score} context. You
probably will want to print it with magnification to make it better
-readable.
+readable, see @ref{Output scaling}.
+
@cindex Xdvi
@cindex ghostscript
@example
- \skip @var{duration} @code{;}
+ \skip @var{duration}
s@var{duration}
@end example
@cindex @code{\skip}
Changing the key signature is done with the @code{\key} command.
@example
- @code{\key} @var{pitch} @var{type} @code{;}
+ @code{\key} @var{pitch} @var{type}
@end example
@cindex @code{\minor}
The time signature is changed by the @code{\time} command. Syntax:
@example
- \time @var{numerator}@code{/}@var{denominator} @code{;}
+ \time @var{numerator}@code{/}@var{denominator}
@end example
Internally, this is a shortcut for doing
@example
@cindex repeat bars
@example
- \bar @var{bartype};
+ \bar @var{bartype}
@end example
This is a shortcut for doing
override default measure bars.
@code{whichBar} can also be set directly, using @code{\property} or
-@code{\bar ; }. These settings take precedence over automatic @code{whichBar}
+@code{\bar }. These settings take precedence over automatic @code{whichBar}
settings.
@code{Bar_engraver} creates @code{BarLine} grobs.
@lilypond[fragment,singleline,relative]
\property Voice.autoBeamSettings
\override #'(end * * * *) = #(make-moment 3 8)
- \time 12/8; c'8 c c c16 c c c c c [c c c c] c8 c c4
+ \time 12/8 c'8 c c c16 c c c c c [c c c c] c8 c c4
@end lilypond
It is not possible to specify beaming parameters that act differently in
@code{\)}.
@lilypond[fragment,verbatim,center,relative]
- \time 6/4; c''\((d)e f(e)\)d
+ \time 6/4 c''\((d)e f(e)\)d
@end lilypond
Typographically, the phrasing slur behaves almost exactly like a normal
}
>
\paper {
- linewidth = 5.875\in;
- indent = 0.0;
+ linewidth = 5.875\in
+ indent = 0.0
}
}
@end lilypond
@lilypond[fragment,verbatim]
\context Staff {
\relative c' {
- \partial 4;
+ \partial 4
\repeat volta 3 { e | c2 d2 | e2 f2 | }
\alternative { { g4 g g } { a | a a a a | b2. } }
}
@lilypond[fragment,relative ]
\context RhythmicStaff {
- \time 4/4;
+ \time 4/4
c4 e8 f g2 | r4 g r2 | g1:32 | r1 |
}
@end lilypond
\autochange Staff \context Voice = VA < \relative c' {
g4 a b c d r4 a g } > }
\context Staff = "down" {
- \clef bass;
+ \clef bass
s1*2
} > }
@end lilypond
\context PianoStaff <
\property PianoStaff.connectArpeggios = ##t
\context Voice = one { <c''\arpeggio e g c> }
- \context Voice = other { \clef bass; <c,,\arpeggio e g>}
+ \context Voice = other { \clef bass <c,,\arpeggio e g>}
>
@end lilypond
\translator Staff=two
b2 a
}
- \context Staff=two {\clef bass; \skip 1*2;}
+ \context Staff=two {\clef bass \skip 1*2 }
>
@end lilypond
@lilypond[verbatim,singleline]
\addlyrics \notes \relative c' {
- \time 7/4;
+ \time 7/4
\property Staff.automaticMelismata = ##t
d'2 c4 b2 a2
b2 c4 b4 () a4 g2 }
@lilypond[singleline,verbatim]
\score {
\addlyrics
- \notes \relative c'' \context Voice = duet { \time 3/4;
+ \notes \relative c'' \context Voice = duet { \time 3/4
g2 e4 a2 f4 g2. }
\lyrics \context Lyrics <
\context LyricsVoice = "duet-1" {
@cindex @code{Mark_engraver}
@example
- \mark @var{unsigned};
- \mark @var{string};
- \mark ;
+ \mark @var{unsigned}
+ \mark @var{string}
+ \mark \default
@end example
With this command, you can print a rehearsal mark above the system. You
@lilypond[fragment,verbatim]
\relative c'' {
- c1 \mark "A2";
- c1 \mark ;
- c1 \mark ;
- c1 \mark "12";
- c1 \mark #'(music "scripts-segno") ;
+ c1 \mark "A2"
+ c1 \mark \default
+ c1 \mark \default
+ c1 \mark "12"
+ c1 \mark #'(music "scripts-segno")
c1
}
@end lilypond
\property Staff.instrument = "ploink " { c''4 } }
\paper {
\translator { \StaffContext
- \consists "Instrument_name_engraver"; } } }
+ \consists "Instrument_name_engraver" } } }
@end lilypond
This requires that you add the @code{Instrument_name_engraver} to the
c'' 4 }
\paper {
\translator { \StaffContext
- \consists "Instrument_name_engraver"; } } }
+ \consists "Instrument_name_engraver" } } }
@end lilypond
@lilypond[fragment,verbatim]
\context Staff {
- \clef "F";
- { \key e \major; c d e f }
- \clef "G";
- \transpose des'' { \key e \major; c d e f }
- \transpose cis'' { \key e \major; c d e f }
+ \clef "F"
+ { \key e \major c d e f }
+ \clef "G"
+ \transpose des'' { \key e \major c d e f }
+ \transpose cis'' { \key e \major c d e f }
}
@end lilypond
automatically.
@lilypond[fragment,verbatim]
- \time 3/4; R2.*2 \property Score.skipBars = ##t R2.*17 R2.*4
+ \time 3/4 R2.*2 \property Score.skipBars = ##t R2.*17 R2.*4
@end lilypond
Currently, there is no way to condense multiple rests into a single
\context Staff = SB { c4 d e f \break R1 }
>
\paper {
- linewidth = 6.\cm ;
+ linewidth = 6.\cm
\translator { \HaraKiriStaffContext }
}
}
\paper {
\translator {
\StaffContext
- \consists Custos_engraver;
- Custos \override #'style = #'mensural;
+ \consists Custos_engraver
+ Custos \override #'style = #'mensural
}
}
}
\paper @{
\translator @{
\StaffContext
- \consists Custos_engraver;
- Custos \override #'style = #'mensural;
+ \consists Custos_engraver
+ Custos \override #'style = #'mensural
@}
@}
@end example
@refbugs
-Relative size is not linked to any real size. There is no mechanism to
-select magnifications of fonts, meaning that you can not scale fonts
-continuoussly. There is no style sheet provided for other fonts besides
-the @TeX{} family.
+Relative size is not linked to any real size.
+
+There is no mechanism to select magnification of particular fonts,
+meaning that you don't have access to continuously scaled fonts. You
+can scale the entire output, of course, see @ref{Output scaling}.
+
+There is no style sheet provided for other fonts besides the @TeX{}
+family.
@cindex font selection
@cindex font magnification
a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
}
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator{
\ScoreContext
TextScript \override #'font-shape = #'upright
\score {
\notes\relative c'' {
- \time 6/4;
+ \time 6/4
a b c b \blanknotes c \unblanknotes d
}
}
Rhythm exercise: make staff invisible and squash pitches:
@lilypond[singleline,verbatim]
\score {
- \notes { \time 3/4; c4 c c8 c | c4 c c8 c }
+ \notes { \time 3/4 c4 c c8 c | c4 c c8 c }
\paper {
\translator {
\StaffContext
- \remove Staff_symbol_engraver;
- \consists Pitch_squash_engraver;
- \remove Clef_engraver;
+ \remove Staff_symbol_engraver
+ \consists Pitch_squash_engraver
+ \remove Clef_engraver
}
}
}
\translator {
\StaffContext
whichBar = #""
- \remove "Time_signature_engraver";
+ \remove "Time_signature_engraver"
}
}
}
s2
a'1
}
- \paper { linewidth = 70 * \staffspace; }
+ \paper { linewidth = 70*\staffspace }
}
@end lilypond
* Paper size::
* Line break::
* Page break::
+* Output scaling::
@end menu
@c . {Paper block}
where each of the items is one of
@itemize @bullet
- @item An assignment. The assignment must be terminated by a
- semicolon.
+ @item An assignment.
@item A context definition. See @ref{Notation Contexts} for
more information on context definitions.
will set the paper variables @code{hsize} and @code{vsize} (used by
@code{ly2dvi})
-
-
-
-
-
-
@c . {Line break}
@node Line break
@subsection Line break
this by specifying @code{\break}. This will force a line break at this
point. Do remember that line breaks can only occur at places where there
are barlines. If you want to have a line break where there is no
-barline, you can force an invisible barline by entering @code{\bar "";}.
+barline, you can force an invisible barline by entering @code{\bar ""}.
Similarly, @code{\noBreak} forbids a line break at a certain point.
details, see the example file @file{input/test/between-systems.ly}
+
+@c . {Output scaling}
+@node Output scaling
+@subsection Output scaling
+
+[TODO]
+
+@example
+dvips ...
+@end example
+
+@example
+pstops ...
+@end example
+
+
+@refbugs
+There is no mechanism to select magnification of particular fonts,
+meaning that you don't have access to continuously scaled fonts.
+
+
+
@c . {Output formats}
@node Output formats
@section Output formats
c'4 c'4 }
\paper {
\translator { \StaffContext
- \remove Clef_engraver;
+ \remove Clef_engraver
} } }
@end lilypond
This is an example:
@example
\translator @code{
- \type "Engraver_group_engraver";
- \name "SimpleStaff";
- \alias "Staff";
- \consists "Staff_symbol_engraver";
- \consists "Note_head_engraver";
- \consistsend "Axis_group_engraver";
+ \type "Engraver_group_engraver"
+ \name "SimpleStaff"
+ \alias "Staff"
+ \consists "Staff_symbol_engraver"
+ \consists "Note_head_engraver"
+ \consistsend "Axis_group_engraver"
}@
@end example
Other modifiers are
@itemize @bullet
- @item @code{\alias} @var{alternate-name} @code{;}
+ @item @code{\alias} @var{alternate-name}
This specifies a different name. In the above example,
@code{\property Staff.X = Y} will also work on @code{SimpleStaff}s
- @item @code{\consistsend} @var{engravername} @code{;}
+ @item @code{\consistsend} @var{engravername}
Analogous to @code{\consists}, but makes sure that
@var{engravername} is always added to the end of the list of
engravers.
removes engravers. This command is usually not needed for
end-users.
- @item @code{\accepts} @var{contextname} @code{;}
+ @item @code{\accepts} @var{contextname}
Add @var{contextname} to the list of context this context can
contain. The first listed context is the context to create by
default.
completeness, but is never used in practice.
- @item @code{\name} @var{contextname} @code{;}
+ @item @code{\name} @var{contextname}
This sets name of the context, e.g. @code{Staff}, @code{Voice}. If
the name is not specified, the translator won't do anything.
@end itemize
The syntax is
@example
- \header @{ @var{key1} = @var{val1};
- @var{key2} = @var{val2}; @dots{} @}
+ \header @{ @var{key1} = @var{val1}
+ @var{key2} = @var{val2} @dots{} @}
@end example
It is customary to put the @code{\header} at the top of the file.
the input-types listed above. Identifier assignments can appear at top
level in the LilyPond file, but also in @code{\paper} blocks.
-Semicolons are forbidden after top level assignments, but mandatory in
-other places. The rules about semicolons and assignments are very
-confusing, but when LilyPond input evolves more towards Scheme, we hope
-that this problem will grow smaller.
-
An identifier can be created with any string for its name, but you will
only be able to refer to identifiers whose names begin with a letter,
being entirely alphabetical. It is impossible to refer to an identifier
@itemize @bullet
@item The assignment
- @example
+@example
foo = bar
@end example
-
- can be interpreted as making a string identifier @code{\foo}
+ is interpreted as the string identifier assignment. However,
+it can also be interpreted as making a string identifier @code{\foo}
containing @code{"bar"}, or a music identifier @code{\foo}
- containing the syllable `bar'.
-
- @item The assignment
-
- @example
-foo = -6
-@end example
-
- can be interpreted as making an integer identifier
- containing -6, or a Request identifier containing the
- fingering `6' (with neutral direction).
+ containing the syllable `bar'.
@item If you do a nested repeat like
@code{\alternative} belongs. This is the classic if-then-else
dilemma. It may be solved by using braces.
- @item (an as yet unidentified ambiguity :-)
+ @item The parser is not sophisticated enough to distinguish at the
+right time between
+ @code{c4*2 / 3 } and @code{c4*2 / g} (in chord mode).
+
+[checkme]
+
@end itemize
@subsection Version information
@cindex @code{\version}
@example
- \version @var{string} ;
+ \version @var{string}
@end example
Specify the version of LilyPond that a file was written for. The
+\version "1.3.146"
% ASCII Art output
%
% Process as:
\score {
\notes\relative c'' {
- \time 3/8;
+ \time 3/8
a8 a a
- \time 5/8;
+ \time 5/8
a a a a a
%a16 a a a a a a a a a
}
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator {
\StaffContext
StaffSymbol \override #'molecule-callback = #(lambda (x) '())
+\version "1.3.146"
% ASCII Art output
%
% Process as:
\score {
\notes\relative c'' {
- \time 4/4;
+ \time 4/4
g1 a b c
g2 a b c
g4 a b c
+\version "1.3.146"
% ASCII Art output
%
% Process as:
\score {
\notes\relative c'' {
- \time 4/4;
+ \time 4/4
g1 a b c
g2 a b c
g4 a b c
+\version "1.3.146"
% ASCII Art output
%
% Process as:
+\version "1.3.146"
% ASCII Art output
%
% Process as:
\score {
\context StaffGroup <
\context Staff=upper \notes\relative c{
- \key f \major;
- \time 3/4;
+ \key f \major
+ \time 3/4
r8^"Moderato" %\pp
<g'-. c-.> <c-. es-.> <g-. c-.> <c-. es-.> <g-. c-.> |
r8 <as-. c-.> <c-. es-.>
}
\context Staff=lower \notes\relative c{
- \key f \major;
- \time 3/4;
- \clef "bass";
+ \key f \major
+ \time 3/4
+ \clef "bass"
<c,2 c'> r4
<as2 as'> r4
}
>
\paper {
- indent=4.0\char;
- linewidth=78.0\char;
+ indent=4.0\char
+ linewidth=78.0\char
\translator { \StaffContext Bar \override #'bar-size = #5 }
\translator {
\VoiceContext
+\version "1.3.146"
% ASCII Art output
% Process as:
\score {
\context GrandStaff <
\context Staff=upper \notes\relative c{
- \key f \major;
- \time 3/4;
+ \key f \major
+ \time 3/4
r8^"Moderato" %\pp
<g'-. c-.> <c-. es-.> <g-. c-.> <c-. es-.> <g-. c-.> |
r8 <as-. c-.> <c-. es-.>
}
\context Staff=lower \notes\relative c{
- \key f \major;
- \time 3/4;
- \clef "bass";
+ \key f \major
+ \time 3/4
+ \clef "bass"
<c,2 c'> r4
<as2 as'> r4
}
>
\paper {
- indent=4.0\char;
- linewidth=78.0\char;
+ indent=4.0\char
+ linewidth=78.0\char
\translator {
\VoiceContext
% horizontal beams
+\version "1.3.146"
% ASCII Art output
%
% Process as:
\header{
-filename = "twinkle.ly";
-title = "Twinkle Twinkle Little Star";
-composer = "Traditional";
-enteredby = "hwn and jcn";
-copyright = "public domain";
+filename = "twinkle.ly"
+title = "Twinkle Twinkle Little Star"
+composer = "Traditional"
+enteredby = "hwn and jcn"
+copyright = "public domain"
}
\include "paper-as5.ly"
melody = \notes \relative c'' {
- \time 2/4;
+ \time 2/4
c4 c | g' g | a a | g g |
%{
f f | e e | d d8.( e16 | )c2 |
}
accompany = \notes \relative c {
- \clef "bass";
- \time 2/4;
+ \clef "bass"
+ \time 2/4
c4 c' | e c | f c | e c |
%{
d b | c a | f g | c,2 |
\context Staff=lower \accompany
>
\paper{
- \translator { \GrandStaffContext \accepts "Lyrics"; }
- indent=4.0\char;
- linewidth=78.0\char;
+ \translator { \GrandStaffContext \accepts "Lyrics" }
+ indent=4.0\char
+ linewidth=78.0\char
}
}
+\version "1.3.146"
one = \notes\relative c{
c'' d e f
}
two = \notes\relative c{
- \clef "bass";
+ \clef "bass"
c'2 g2
}
+\version "1.3.146"
\header {
- filename = "just-friends.ly";
- title = "Just Friends";
- description = "Jazz chords example with bar lines";
- opus = "";
- source = "mutex@gmd.de";
- composer = "";
- enteredby = "jcn";
- copyright = "Public Domain";
+ filename = "just-friends.ly"
+ title = "Just Friends"
+ description = "Jazz chords example with bar lines"
+ opus = ""
+ source = "mutex@gmd.de"
+ composer = ""
+ enteredby = "jcn"
+ copyright = "Public Domain"
}
%{
}
}
\paper{
- indent = 0.0\mm;
- linewidth = 100.0\mm;
+ indent = 0.0\mm
+ linewidth = 100.0\mm
\translator{
\ChordNamesContext
- barNonAuto = ##f;
- \consists Bar_engraver;
- \consists "Volta_engraver";
+ barNonAuto = ##f
+ \consists Bar_engraver
+ \consists "Volta_engraver"
}
}
}
+\version "1.3.146"
%{
You should preprocess this file with the C preprocessor. The one with
\header{
- composer = "ARTHUR GRAY";
- title = "LES N\\'ER\\'EIDES";
- subtitle = "THE NEREIDS";
- enteredby = "JCN";
- %piece = "Allegretto scherzando";
- copyright = "public domain";
- description = "Nastiest piece of competition at http://www.orphee.com/comparison/study.html, see http://www.orphee.com/comparison/gray.pdf";
- comment = "LilyPond (1.3.93) can't really do this yet, I guess";
+ composer = "ARTHUR GRAY"
+ title = "LES N\\'ER\\'EIDES"
+ subtitle = "THE NEREIDS"
+ enteredby = "JCN"
+ %piece = "Allegretto scherzando"
+ copyright = "public domain"
+ description = "Nastiest piece of competition at http://www.orphee.com/comparison/study.html, see http://www.orphee.com/comparison/gray.pdf"
+ comment = "LilyPond (1.3.93) can't really do this yet, I guess"
}
%% cpp: don't start on first column
#(define (make-text-checker text)
(lambda (elt)
- ;; huh, string-match undefined?
- ;; (string-match text (ly-get-grob-property elt 'text))
+ huh, string-match undefined?
+ (string-match text (ly-get-grob-property elt 'text))
(equal? text (ly-get-grob-property elt 'text))
))
global = \notes{
- \partial 2;
- \key a \major;
- \skip 2;
- \skip 1*2;
+ \partial 2
+ \key a \major
+ \skip 2
+ \skip 1*2
#ifndef FAKE_GRACE /* First run this through cpp. See head les-nereides.ly */
- \skip 1;
+ \skip 1
#else % FAKE_GRACE
- \skip 2.; \partial 32*24;
- \skip 32*24;
+ \skip 2. \partial 32*24
+ \skip 32*24
#endif % FAKE_GRACE
- \bar "||";
+ \bar "||"
}
treble = \context Voice=treble \notes\relative c''{
\property Voice.Stem \revert #'direction
\property Voice.Stem \override #'direction = #-1
<b,,4 b,>
- \clef treble;
+ \clef treble
\property Voice.Stem \revert #'direction
\property Voice.Stem \override #'direction = #0
<
%urg: staff-change: ! on dis
<cis''\arpeggio a fis dis!>
-% { s8. \clef bass;}
+% { s8. \clef bass}
>
#ifndef FAKE_GRACE
%Hmm
- %\grace { s16 s s s s32 s s s s \clef bass; s }
- \clef bass;
+ %\grace { s16 s s s s32 s s s s \clef bass s }
+ \clef bass
\grace { <e,,,32( e,> } <)gis'2 e>
#else
- s4 s8 s32 s s \clef bass;
+ s4 s8 s32 s s \clef bass
\property Score.PaperColumn \override #'space-factor = #0.6
\property Score.PaperColumn \override #'to-musical-spacing-factor = #0.1
\property Voice.NoteHead \override #'font-relative-size = #-1
}
bassTwo = \context Voice=bassTwo \notes\relative c{
- \skip 2;
- \skip 1*2;
- \skip 2;
+ \skip 2
+ \skip 1*2
+ \skip 2
#ifdef FAKE_GRACE
- \skip 32*16;
+ \skip 32*16
#endif
\property Voice.Stem \revert #'direction
\middleDynamics
>
\context Staff=bass <
- \clef bass;
+ \clef bass
\global
\bass
\bassTwo
>
\paper {
%%BURP
- magnification_italic = 1.;
+ magnification_italic = 1.
\translator {
\ScoreContext
TimeSignature \override #'style = #'C
SpacingSpanner \override #'maximum-duration-for-spacing = #(make-moment 1 4)
- \remove Bar_number_engraver;
+ \remove Bar_number_engraver
}
\translator {
- \type "Engraver_group_engraver";
- \name Dynamics;
- \consists "Output_property_engraver";
+ \type "Engraver_group_engraver"
+ \name Dynamics
+ \consists "Output_property_engraver"
Generic_property_list = #generic-voice-properties
- \consists "Property_engraver";
+ \consists "Property_engraver"
MinimumVerticalExtent = #(cons -3 -3)
VerticalAlignment \override #'threshold = #'(9 . 9)
startUnaChorda = #"una chorda"
stopUnaChorda = #"tre chorde"
- \consists "Piano_pedal_engraver";
- \consists "Script_engraver";
- \consists "Dynamic_engraver";
- \consists "Text_engraver";
+ \consists "Piano_pedal_engraver"
+ \consists "Script_engraver"
+ \consists "Dynamic_engraver"
+ \consists "Text_engraver"
%GURGURGU, text is initialised using TextScript
TextScript \override #'style = #"italic"
%%% TextScript \override #'font-relative-size = #2
- \consists "Skip_req_swallow_translator";
+ \consists "Skip_req_swallow_translator"
- \consistsend "Axis_group_engraver";
+ \consistsend "Axis_group_engraver"
}
\translator {
\PianoStaffContext
- \accepts Dynamics;
+ \accepts Dynamics
VerticalAlignment \override #'threshold = #'(7 . 7)
}
\translator {
+\version "1.3.146"
\header {
- title = "Title";
- subtitle = "Subtitle";
- subsubtitle = "Subsubtitle";
- opus = "Opus 1";
- piece = "Piece";
- composer = "Composer";
- enteredby = "JCN";
- instrument = \instrument;
+ title = "Title"
+ subtitle = "Subtitle"
+ subsubtitle = "Subsubtitle"
+ opus = "Opus 1"
+ piece = "Piece"
+ composer = "Composer"
+ enteredby = "JCN"
+ instrument = \instrument
% mutopia headers.
- mutopiatitle = "";
- mutopiacomposer = "";
- mutopiaopus = "";
- mutopiainstrument = \instrument;
- date = "1807";
+ mutopiatitle = ""
+ mutopiacomposer = ""
+ mutopiaopus = ""
+ mutopiainstrument = \instrument
+ date = "1807"
- source = "Urtext edition";
+ source = "Urtext edition"
- style = "Classical";
- copyright = "Public Domain";
- maintainer = "Jan Nieuwenhuizen";
- maintainer_email = "janneke@gnu.org";
- lastupdated = "2001/Mar/19";
+ style = "Classical"
+ copyright = "Public Domain"
+ maintainer = "Jan Nieuwenhuizen"
+ maintainer_email = "janneke@gnu.org"
+ lastupdated = "2001/Mar/19"
mutopiapublicdomain = "\\parbox{\hsize}{\\thefooter\\quad\\small
\\\\This music is part of the Mutopia project,
\\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset
and placed in the public domain by " + \maintainer +
".\\\\Unrestricted modification and redistribution is permitted
- and encouraged---copy this music and share it.}";
- tagline = \mutopiapublicdomain;
- footer = "pre-Mutopia-2001/mm/dd-nn";
+ and encouraged---copy this music and share it.}"
+ tagline = \mutopiapublicdomain
+ footer = "pre-Mutopia-2001/mm/dd-nn"
}
+\version "1.3.146"
\header{
-filename = "opus-130.ly";
-title = "Quartett";
-description = "";
-composer = "Ludwig van Beethoven (1770-1827)";
-opus = "130";
-enteredby = "JCN";
-copyright = "public domain";
+filename = "opus-130.ly"
+title = "Quartett"
+description = ""
+composer = "Ludwig van Beethoven (1770-1827)"
+opus = "130"
+enteredby = "JCN"
+copyright = "public domain"
}
-% \;
+% \
tempi = \notes {
\property Voice.TextScript \set #'font-style = #'large
}
global = \notes {
- \key g \major;
- \time 3/8;
+ \key g \major
+ \time 3/8
<
\dynamics
s4. * 8
}
viola = \notes\relative c'{
- \clef "alto";
+ \clef "alto"
g8(b)g | b(e,)b' | c,(a')c, | c'(d,)c' | b(d)b |
e(g,)e' | e(e,<)a' c,> | < a(c,> <fis b,> )b,
}
cello = \notes\relative c'{
- \clef "bass";
+ \clef "bass"
g4 r8 | e'4 r8 | c4 r8 | d4 r8 | g,,8 b g | b(e,)b' |
c,(a')d, | d'(d,)g
}
\paper{
\translator { \OrchestralScoreContext }
}
- \midi{ \tempo 4 = 160; }
+ \midi{ \tempo 4 = 160 }
}
+\version "1.3.146"
\header {
- filename = "praeludium-fuga-E.ly";
- title = "praeludium and fuga in E-major";
- opus = "BWV 566";
- composer = "Johann Sebastian Bach (1685-1750)";
- enteredby = "JCN";
- copyright = "public domain";
+ filename = "praeludium-fuga-E.ly"
+ title = "praeludium and fuga in E-major"
+ opus = "BWV 566"
+ composer = "Johann Sebastian Bach (1685-1750)"
+ enteredby = "JCN"
+ copyright = "public domain"
}
%{
description
praeludiumCommands = \notes {
- \time 4/4;
- \key e \major;
+ \time 4/4
+ \key e \major
}
praeludiumRight = \notes {
\praeludiumCommands
- \clef violin;
+ \clef violin
% 13 -- how to type -- where to split -- this more neatly?
\context Staff <
%\stemUp
%{
this is a diversion from the Griepenkerl/Keller
- edition; a hack to avoid collisions
+ edition a hack to avoid collisions
%}
\stemDown
\shiftOn s4 gis }
praeludiumLeft = \notes \relative c {
\praeludiumCommands
- \clef bass;
+ \clef bass
% 13
\context Staff <
praeludiumPedal = \notes \relative c{
\praeludiumCommands
- \clef bass;
+ \clef bass
%13
r4 fis,4-\ltoe e4.-\lheel e'8-\rheel |
fugaIICommands = \notes{
- \time3/4;
- \key e \major; % E-major
+ \time3/4
+ \key e \major % E-major
}
fugaIIRight = \notes \relative c'' {
\fugaIICommands
- \clef violin;
+ \clef violin
%15
\context Staff <
fugaIILeft = \notes {
\fugaIICommands
- \clef bass;
+ \clef bass
%15
\context Staff <
fugaIIPedal = \notes \relative c {
\fugaIICommands
- \clef bass;
+ \clef bass
%15
dis4.-\ltoe e8-\rtoe cis4 |
}
breakmusic = \notes {
- %\time4/4;
+ %\time4/4
r1
}
}
\midi {
- \tempo 4 =96; }
+ \tempo 4 =96 }
}
+\version "1.3.146"
\header{
texidoc="
A sharp sign after a double sharp sign, as well as a flat sign
after a double flat sign is automatically prepended with a
natural sign.
-";
+"
}
-thenotes = \notes \relative cis' { \time 4/4;
+thenotes = \notes \relative cis' { \time 4/4
gisis'4 gis gisis ges |
geses ges geses gis |
gisis g geses g |
gis g ges g |
-\key a \major;
+\key a \major
gisis4 gis gisis ges |
geses ges geses gis |
gisis g geses g |
+\version "1.3.146"
\header{
texidoc="
Accidentals work: the second note does not get a sharp. The third and
fourth show forced and courtesy accidentals.
-";
+"
}
-foo = \notes\relative c'' { \key as \major; dis4 dis dis! dis? }
+foo = \notes\relative c'' { \key as \major dis4 dis dis! dis? }
\score {
+\version "1.3.146"
\score { \notes
\relative c'' \context Staff {
\emptyText
- \repeat volta 2 { \time 4/4; c4^"cuivr\\'e"_\fermata }
+ \repeat volta 2 { \time 4/4 c4^"cuivr\\'e"_\fermata }
\alternative {
{ \property Voice.TextScript \set #'font-style = #'italic d-4_"cantabile" }
{ e } } \grace { c16 }
\property Voice.TextScript \set #'font-style = #'large
- f4-\ff^""^"Largo" \mark "B"; g
+ f4-\ff^""^"Largo" \mark "B" g
}
- \paper { linewidth = -1.0;
+ \paper { linewidth = -1.0
% \translator {\BarNumberingStaffContext} }
}
}
+\version "1.3.146"
\header {
texidoc = "arpeggio stays clear of accidentals and flipped note heads.
-Since Arpeggio engraver is Voice, it does nothing for voice collisions.";
+Since Arpeggio engraver is Voice, it does nothing for voice collisions."
}
hairyChord = \context Staff \notes\relative c' <
\hairyChord
}
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator{
\StaffContext
connectArpeggios = ##t
+\version "1.3.146"
\header{
texidoc="
Arpeggios are supported, both cross-staff and broken single staff.
-";
+"
}
<fis,\arpeggio a c>
}
\context Staff=two \notes\relative c{
- \clef bass;
+ \clef bass
\context Voice < g b d-\arpeggio >
<g\arpeggio b d>
}
+\version "1.3.146"
\header{
texidoc="
The first two a8 notes should not be beamed.
Also, no automatic beaming accross bar lines.
-";
+"
}
\score{
\notes \notes\relative c'' {
-\time 2/8;
+\time 2/8
a8 a
-\time 6/8;
+\time 6/8
a16 cis d a bes g fis4 g8
%a4. fis4 g8
a16 g a bes c d % ees8 d c
}
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\header{
texidoc="
Auto change piano staff switches voices between up and down staffs
-automatically; rests are switched along with the coming note.
-";
+automatically rests are switched along with the coming note.
+"
}
\score {
\autochange Staff \context Voice = VA < \relative c' { g4 a b c d r4 a g } >
}
\context Staff = "down" {
- \clef bass;
+ \clef bass
s1*2
}
+\version "1.3.146"
\header{
-texidoc="Two automatic knees";
+texidoc="Two automatic knees"
}
\score {
[ b, \translator Staff="down" d ]
}
\context Staff = "down" {
- \clef bass;
+ \clef bass
s2.
}
>
\paper{
- linewidth = 40*\staffspace;
+ linewidth = 40*\staffspace
% Now by default
% \translator{
% \VoiceContext
+\version "1.3.146"
\header{
-texidoc="One automatic knee";
+texidoc="One automatic knee"
}
\score {
[c'8 c,,] [c8 e']
}
\paper{
- linewidth = 40*\staffspace;
+ linewidth = 40*\staffspace
% Now by default
% \translator {
% \VoiceContext
+\version "1.3.146"
\header {
-texidoc="Bar number settable and padding adjustable.";
+texidoc="Bar number settable and padding adjustable."
}
\score {
c1 c\break
}
\paper {
- linewidth = 40*\staffspace;
+ linewidth = 40*\staffspace
% \translator { \BarNumberingStaffContext }
}
}
+\version "1.3.146"
\header{
texidoc="
Markings that are attached to (invisible) barlines are
delicate: the are attached to the rest of the score without the score
knowing it. Consequently, they fall over often.
-";
+"
}
onestaff = \context Staff = foo\notes {
\property Staff.instr = instr
- \property Staff.instrument = instrument \mark "B";
- c1 \mark "A"; \break c2 c2 \break
+ \property Staff.instrument = instrument \mark "B"
+ c1 \mark "A" \break c2 c2 \break
}
grstaff = \notes \context GrandStaff <
\property Staff.instr = instr
- \mark "B"; \break c1 \mark "A"; c2 }
+ \mark "B" \break c1 \mark "A" c2 }
\context Staff = bufl { c1 c2 }
>
%\score {\stscore}
\score {\scscore
-\header { title = "bar scripts"; }
+\header { title = "bar scripts" }
}
+\version "1.3.146"
\header{
texidoc="
Beams can be typeset over fixed distance aligned staffs, beam
beautification doesn't really work, but knees do. Beams should be
behave well, wherever the switching point is.
-";
+"
}
\score{
\context PianoStaff <
r2
}
\context Staff=two \notes\relative c'{
- \clef bass;
+ \clef bass
s1
s1
s1
+\version "1.3.146"
\header{
texidoc="
Beams should behave reasonably well, even under extreme circumstances.
Stems may be short, but noteheads should never touch the beam. Note that
-under normal circumstances, these beams would get knees; here
+under normal circumstances, these beams would get knees here
Beam.auto-knee-gap was set to false.
-";
+"
}
\score{
}
\paper{
- linewidth=-1.;
+ linewidth=-1.
\translator {
\VoiceContext
% If we want to test extreme beams,
+\version "1.3.146"
\header{
texidoc="
beams should look the same
-";
+"
}
\score {
+\version "1.3.146"
\header{
texidoc="
Beams should always reach the middle staff line. The second beam
counting from the note head side, should never be lower than the
second staff line. This does not hold for grace note beams.
Override with @code{noStemExtend}.
-";
+"
}
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\header{
texidoc="
Beaming is generated automatically. Beams may cross bar lines. In that
case, line breaks are forbidden. Yet clef and key signatures are
hidden just as with breakable bar lines.
-";
+"
}
\score { \context Staff \notes \relative c'' {
+\version "1.3.146"
\header{
texidoc="
The same mechanism can be used to force pagebreaks.
-";
+"
}
+\version "1.3.146"
\header{
texidoc="
Breaks can be encouraged and discouraged using @code{\break} and
@code{\noBreak}. They are abbrevs for @code{\penalty} commands.
-";
+"
}
c1^"break after this" \break c1 c1
}
- \paper { linewidth = 4.0\cm;}
+ \paper { linewidth = 4.0\cm}
}
+\version "1.3.146"
\header{
texidoc="
Breathing signs, also used for phrasing, do normally not influence
room for the breathing sign. Breathing signs break beams running
through their voice. In the following example, the notes in the first
two measures all have the same distance from each other:
-";
+"
}
\score {
\notes \relative c' {
- \key es \major; \time 3/4;
+ \key es \major \time 3/4
< \context Voice = two { \stemDown es4 bes es }
\context Voice = one { \stemUp g4 as g }
> |
> |
es8 d es f g4 \breathe |
es8 d \breathe es f g f |
- es2 r4 \bar "||";
+ es2 r4 \bar "||"
}
}
+\version "1.3.146"
\header{
texidoc="property chordChanges: only display chord names when
there's a change in the chords scheme, but always display the
chord name after a line break.
-";
+"
}
scheme = \chords {
\context Staff \transpose c'' \scheme
>
\paper{
- linewidth = 40 * \staffspace;
+ linewidth = 40 * \staffspace
}
}
+\version "1.3.146"
\header{
texidoc="
Chord names are generated from a list pitches, and are customisable
from guile. For some unlogical names, guile customisation is used
by default.
-";
+"
}
chord = \notes\transpose c''\chords{
+\version "1.3.146"
\header{
texidoc="
leave a gap. Chord tremolo beams on half notes are not ambiguous,
as half notes cannot appear in a regular beam, and should reach the
stems.
-";
+"
}
\score {
}
\paper {
% ugh, wide
- %linewidth = -1.0;
- linewidth = 40*\staffspace;
+ %linewidth = -1.0
+ linewidth = 40*\staffspace
}
\midi { }
}
+\version "1.3.146"
\header{
texidoc="
size. For octaviated clefs, the ``8'' should appear closely above or
below the clef respectively. The ``8'' is processed in a convoluted
way, so this is fragile as well.
-";
+"
}
\score {
\notes{
- \clef "treble"; c'1^"{treble}" \bar "||";
- \clef "french";c'1^"{french}" \bar "||";
- \clef "soprano";c'1^"{soprano}" \bar "||";
- \clef "mezzosoprano";c'1^"{mezzosoprano}" \bar "||";
- \clef "alto";c'1^"{alto}" \bar "||";
- \clef "tenor";c'1^"{tenor}" \bar "||";
- \clef "baritone";c'1^"{baritone}" \bar "||";
- \clef "varbaritone";c'1^"{varbaritone}" \bar "||";
- \clef "G_8";c'1^"{sub 8?}" c'1 \bar "||";
- \clef "G^8";c'1^"{sup 8?}" c'1 \bar "||";
- \clef "bass";c'1^"{bass}" \bar "||";
- \clef "subbass";c'1^"{subbass}" \bar "||";
+ \clef "treble" c'1^"{treble}" \bar "||"
+ \clef "french"c'1^"{french}" \bar "||"
+ \clef "soprano"c'1^"{soprano}" \bar "||"
+ \clef "mezzosoprano"c'1^"{mezzosoprano}" \bar "||"
+ \clef "alto"c'1^"{alto}" \bar "||"
+ \clef "tenor"c'1^"{tenor}" \bar "||"
+ \clef "baritone"c'1^"{baritone}" \bar "||"
+ \clef "varbaritone"c'1^"{varbaritone}" \bar "||"
+ \clef "G_8"c'1^"{sub 8?}" c'1 \bar "||"
+ \clef "G^8"c'1^"{sup 8?}" c'1 \bar "||"
+ \clef "bass"c'1^"{bass}" \bar "||"
+ \clef "subbass"c'1^"{subbass}" \bar "||"
\property Staff.Clef \override #'transparent = ##t
- \clef "treble"; c'1^"transparent=\#t" \bar "||";
+ \clef "treble" c'1^"transparent=\#t" \bar "||"
\property Staff.Clef \override #'transparent = ##f
\context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
- \clef "french"; c'1^"full-size-change = \#t" \bar "|.";
+ \clef "french" c'1^"full-size-change = \#t" \bar "|."
}
\paper{
\translator{
+\version "1.3.146"
\header{
texidoc="
Normal collisions. We have support for polyphony, where the
middle voices are horizontally shifted.
-";
-filename = "collisions.ly";
-description = "random counterpoint to test collisions";
-enteredby = "HWN,JCN";
-copyright = "public domain";
-Tested = "test the Collision resolution ";
+"
+filename = "collisions.ly"
+description = "random counterpoint to test collisions"
+enteredby = "HWN,JCN"
+copyright = "public domain"
+Tested = "test the Collision resolution "
}
+\version "1.3.146"
\header{
texidoc="
Noteheads can have dots, and rests can too. Augmentation dots should
should go up, but in case of multiple parts, the down stems have down
shifted dots. (Wanske p. 186) In case of chords, all dots should be in
a column. The dots go along as rests are shifted to avoid collisions.
-";
+"
}
\score {
\context Voice \notes\relative c'' {
- \time 6/8;
+ \time 6/8
d4. g,,
<b''4. c d e> <f g a b>
<g b d> <c, g' d' a'>
+\version "1.3.146"
\header{
-texidoc = "Broken crescendi should look be open on one side.";
+texidoc = "Broken crescendi should look be open on one side."
}
\score { \notes \relative c'' {
c1 \< \break \! c1 \> \break \! c1
}
\paper {
- linewidth = 10.\cm;
+ linewidth = 10.\cm
}
}
+\version "1.3.146"
\header{
texidoc=" Dynamics appear below or above the staff. If multiple
dynamics are linked with (de)crescendi, they should be on the same
line. Isolated dynamics may be forced up or down.
- ";
+ "
}
\paper{
}
\midi{
-\tempo 1 = 60;
+\tempo 1 = 60
}
}
+\version "1.3.146"
\header {
-texidoc = "Crescendi may start off-notes. In that case, they should not collapse into flat lines.";
+texidoc = "Crescendi may start off-notes. In that case, they should not collapse into flat lines."
}
\score { \notes { \context Voice {
< f''1 { s4 s4 \< \! s4 \> \! s4 } >
}}
-\paper { linewidth = -1. ;}
+\paper { linewidth = -1. }
}
+\version "1.3.146"
\header {
-texidoc = " Ez-notation prints names in note heads.";
+texidoc = " Ez-notation prints names in note heads."
}
-\include "paper26.ly";
+\include "paper26.ly"
\paper { \paperTwentysix }
\score {
+\version "1.3.146"
\header{
texidoc="
As a last resort, the placement of grobs can be adjusted manually, by
setting the @code{extra-offset} of a grob.
-";
+"
}
\score{
\outputproperty #(make-type-checker 'mark-interface)
#'extra-offset = #'(-1 . 4)
}
- \mark A;
+ \mark A
d1
- \mark;
+ \mark \default
e
}
\paper{
- linewidth=-1.0;
+ linewidth=-1.0
}
}
+\version "1.3.146"
\header{
texidoc="
More specific settings take precendence over less specific settings. The
second slur has slurDirection set to down, overriding the stemup setting.
-";
+"
}
\slurDown
c4 ( )c4
}
- \paper { linewidth = -1.0; }
+ \paper { linewidth = -1.0 }
}
+\version "1.3.146"
\header{
The engraver does no time-keeping, so it involves some trickery to get
< @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} > working correctly.
-";
+"
}
\score{
}
\paper{
- linewidth = 70.\mm;
+ linewidth = 70.\mm
\translator{
\StaffContext
% makes for handier debugging
- % \remove Clef_engraver;
+ % \remove Clef_engraver
}
}
}
+\version "1.3.146"
\header{
texidoc="
Grace notes without beams should have a slash, if @code{flagStyle} is
not set. Main note scripts don't end up on the grace note.
-";
+"
}
\score {\notes \context Voice = VA \relative c'' {
% \grace c16 [c8 c8]
\grace { \property Grace.graceAlignPosition = \right c16} c4
}
-\paper {linewidth = -1.;}
+\paper {linewidth = -1.}
\midi{ }
}
+\version "1.3.146"
\header {
texidoc = "Hairpin dynamics start under notes if there are
no text-dynamics. If there are text dynamics, the hairpin does not run
-into them.";
+into them."
}
\score {
\notes \relative c'' { c4 \> c4 \! c4 c4_\ff \> c4 \! c4 \p }
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
}
+\version "1.3.146"
\header{
texidoc="
Hara kiri staffs kill themselves if they are empty. This example really
contains two staffs, but the second contains only spaces, and is
therefore removed. Also, any staff brackets and braces are removed.
-";
+"
}
zager = \context Staff = zager \notes \relative c'' {
- \clef treble;
+ \clef treble
c1
}
zoger = \context Staff = zoger \notes \relative c'' {
- \clef treble;
- \skip 1* 1;
+ \clef treble
+ \skip 1* 1
}
zagers = \context GrandStaff <
>
>
\paper{
- linewidth = 80.0\mm;
+ linewidth = 80.0\mm
\translator { \HaraKiriStaffContext }
%uh?
+\version "1.3.146"
\header { texidoc = "Key signatures can be set per pitch
individually. This can be done bby setting @code{Staff.keySignature}
-directly.";
+directly."
}
\score { \notes
+\version "1.3.146"
\header{
texidoc="
Key signatures appear on key changes. They may also
appear without barlines. The restoration accidentals are not printed at
the start of the line. If @code{createKeyOnClefChange} is set, they're
also created on a clef change.
-";
+"
}
\notes \relative c''
{
\property Staff. createKeyOnClefChange = ##t
- \key bes \major; c2
-% \key c \major; % \minor;
- \key es \major; % \minor;
+ \key bes \major c2
+% \key c \major % \minor
+ \key es \major % \minor
c2
\break
- \key bes \major; % \major;
- c2 \clef alto; c2 \key d \major; \clef treble; c2
+ \key bes \major % \major
+ c2 \clef alto c2 \key d \major \clef treble c2
\property Staff. keySignature = #'((2 . -1) (6 . -1) (4 . -1))
e2
}
+\version "1.3.146"
\header{
texidoc="
Lyrics can be set to a melody automatically. Excess lyrics will be
@code{\rhythm} ignores any other rhythms in the piece. Hyphens and
extenders do not assume anything about lyric lengths, so they continue
to work.
-";
+"
-filename = "twinkle-pop.ly";
-xtitle = "Ah, vous dirais-je, maman ";
-description = "twinkle twinkle in pop-song-settings";
-composer = "traditional";
-enteredby = "HWN, chords by Johan Vromans";
-copyright = "public domain";
+filename = "twinkle-pop.ly"
+xtitle = "Ah, vous dirais-je, maman "
+description = "twinkle twinkle in pop-song-settings"
+composer = "traditional"
+enteredby = "HWN, chords by Johan Vromans"
+copyright = "public domain"
}
+\version "1.3.146"
\header{
texidoc="Lyric phrasing
@end example
Only lyrics that are followed by '__' while there's a melisma,
- are left-aligned, in this case the third x.";
+ are left-aligned, in this case the third x."
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\addlyrics
\context Voice = "v" \notes \relative c'' {
+\version "1.3.146"
\header{
texidoc="
Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that
lyrics don't collide with barlines.
-";
+"
}
\score {
\context StaffGroup <
\notes \context Staff {
- b1 \bar "|:"; b1 \bar ":|";
+ b1 \bar "|:" b1 \bar ":|"
}
\lyrics\context Lyrics <
\context LyricsVoiceWithBars {
\notes \context Staff = SB { b1 b1 }
>
\paper {
- linewidth = -1.0\cm;
+ linewidth = -1.0\cm
\translator {
\LyricsContext
- \accepts "LyricsVoiceWithBars";
+ \accepts "LyricsVoiceWithBars"
}
\translator {
\LyricsVoiceContext
- \consists "Bar_engraver";
- \name "LyricsVoiceWithBars";
+ \consists "Bar_engraver"
+ \name "LyricsVoiceWithBars"
}
\translator {
\LyricsVoiceContext
+\version "1.3.146"
\header {
-texidoc = "There is limited support for mensural notation: note head shapes are available. Mensural stems are centered on the note heads, both for up and down stems.";
+texidoc = "There is limited support for mensural notation: note head shapes are available. Mensural stems are centered on the note heads, both for up and down stems."
}
\score {\notes { \context Voice {
+\version "1.3.146"
\header{
texidoc="
the signs for four, two, and one measure rest are combined to
produce the graphical representation of rests for up to 10 bars.
The number of bars will be written above the sign.
-";
+"
}
thenotes = \notes \relative cis' {
\property Score. skipBars = ##t
-\time 4/4;
+\time 4/4
R1 |
R1*1 |
R1*2 |
+\version "1.3.146"
\header { texidoc=" You can write molecule callbacks in Scheme, thus
providing custom glyphs for notation elements. A simple example is
The parenthesized beam is less successful due to implementation of the
Beam. The note head is also rather naive, since the extent of the
parens are also not seen by accidentals.
-";
+"
}
(popen (ly-find-glyph-by-name fn "accidentals-("))
(subject (callback grob))
- ;; remember old size
+ ; remember old size
(subject-dims (ly-get-molecule-extent subject 0))
)
- ;; add parens
+ ; add parens
(set! subject
(ly-combine-molecule-at-edge
(ly-combine-molecule-at-edge subject 0 1 pclose 0.2)
0 -1 popen 0.2))
- ;; revert old size.
+ ; revert old size.
(ly-set-molecule-extent! subject 0 subject-dims)
subject
)
}
- \paper { linewidth = -1.; }
+ \paper { linewidth = -1. }
}
+\version "1.3.146"
\header{
texidoc="
Text is set with empty horizontal dimensions. The boolean property
textNonEmpty is used to respect the horizontal size of text.
-";
+"
}
\score { \notes {
\property Voice.TextScript \override #'no-spacing-rods = ##f
}
\paper {
- linewidth = -1.0;
+ linewidth = -1.0
}
}
+\version "1.3.146"
\header{
texidoc="
Note head shapes are settable. The stem endings should be adjusted
Harmonic notes have a different shape and different
dimensions. Nevertheless, noteheads in both styles can be combined, on
either up or down stems.
-";
+"
}
+\include "paper23.ly"
-
-\score { \notes \relative c{
-
-c''4 c2 c8 c16 c16 c1 c\breve
+\score { \notes \relative c''{
+% \property Voice.Stem \override #'thickness = #5.0
+\property Voice.NoteHead \set #'style = #'default
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
\property Voice.NoteHead \set #'style = #'diamond
-c4 c2 c8 c16 c16 c1 c\breve
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
\property Voice.NoteHead \set #'style = #'transparent
-c4 c2 c8 c16 c16 c1 c\breve
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
\property Voice.NoteHead \set #'style = #'cross
-c4 c2 c8 c16 c16 c1 c\breve
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
+\property Voice.NoteHead \set #'style = #'xcircle
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
+\property Voice.NoteHead \set #'style = #'slash
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
\property Voice.NoteHead \set #'style = #'mensural
-c4 c2 c8 c16 c16 c1 c\breve c\longa
+c4 c2 c8 c16 c16 c1 c\breve c\longa b4 b2 b8 b16 b16 b1 b\breve b\longa \break
\property Voice.NoteHead \set #'style = #'harmonic
-c4 c2 c8 c16 c16 c1 c\breve
+c4 c2 c8 c16 c16 c1 c\breve b4 b2 b8 b16 b16 b1 b\breve \break
\property Voice.NoteHead \set #'style = #'baroque
-c4 c2 c8 c16 c16 c1 c\breve c\longa
+c4 c2 c8 c16 c16 c1 c\breve c\longa b4 b2 b8 b16 b16 b1 b\breve b\longa \break
- \context Voice <
+ \context Voice = another <
\context Thread = TA
{
\property Thread.NoteHead \set #'style = #'cross
>
- \context Voice <\context Thread = TA {
- \property Thread.NoteHead \set #'style = #'default
- c4 c4 }
-\context Thread = TB {
- \property Thread.NoteHead \set #'style = #'mensural
- c'4 \stemDown c
+ \context Voice <
+ \context Thread = TA {
+ \property Thread.NoteHead \set #'style = #'cross
+ c4 c4 c4 c4 }
+ \context Thread = TB {
+ \property Thread.NoteHead \set #'style = #'mensural
+ c'4 \stemDown c
+ \property Thread.NoteHead \set #'style = #'slash
+ \stemUp c4 \stemDown c
} >
}
- \paper {
-
-
-}
+ \paper {}
}
+\version "1.3.146"
\header {
texidoc = "Note head lines (eg glissando)
-run between centers of the note heads.";
+run between centers of the note heads."
}
\include "paper20.ly"
\context Staff = up {
\property PianoStaff.connectArpeggios = ##t
\showStaffSwitch
- \clef F;
+ \clef F
c4 d \sd h a g8 f16 e32 d \su g2 \glissando a,4 \sd \break a2. \su g4 \glissando f1
}
\context Staff = down {
- \clef F; s1*4
+ \clef F s1*4
}
>
\paper {
- linewidth = 8.0 \cm;
+ linewidth = 8.0 \cm
}
}
+\version "1.3.146"
\header{
texidoc=" The number of stafflines of a staff can be set. Ledger
lines both on note heads and rests are adjusted. Barlines also are
-adjusted. ";
+adjusted. "
}
+\version "1.3.146"
\header {
-texidoc = "Measure and beat repeats are supported.";
+texidoc = "Measure and beat repeats are supported."
}
-\score { \notes \relative c' \context Voice { \time 4/4;
+\score { \notes \relative c' \context Voice { \time 4/4
\repeat "percent" 2 { c2 }
% the chairman dances
+\version "1.3.146"
\header {
-texidoc="Slurs play well with phrasing slur.";
+texidoc="Slurs play well with phrasing slur."
}
\score {
\notes\relative c'' {
- \time 6/4; c\((d)e f(e)\)d
+ \time 6/4 c\((d)e f(e)\)d
}
\paper {
- linewidth = -1.;
+ linewidth = -1.
}
}
+\version "1.3.146"
\header{
texidoc="
Folded. This doesn't make sense without alternatives, but it works.
-";
+"
}
\score {
+\version "1.3.146"
\header{
texidoc="
Across linebreaks, the left edge of a first and second alternative
bracket should be equal
-";
+"
}
\score {
+\version "1.3.146"
\header{
texidoc="
the number of repeats.
Unfolded behavior:
-";
+"
}
\score {
+\version "1.3.146"
\score { \notes \context Voice {
\repeat volta 3 c1
+\version "1.3.146"
\header{
texidoc="
Volta (Semi folded) behavior. Voltas can start on non-barline moments.
If they don't barlines should still be shown.
-";
+"
}
% no alts.
+\version "1.3.146"
\header{
texidoc="
Rests should not collide with beams, stems and noteheads. Rests may
inside the staff, and by half spaces outside. Notice that the half
and whole rests just outside the staff get ledger lines in different
cases.
-";
+"
}
scale = \notes \relative c' {
+\version "1.3.146"
\header {
texidoc = "whole and half rests moving outside the staff should get
-ledger lines";
+ledger lines"
}
+\version "1.3.146"
\header{
texidoc="
Rests. Note that the dot of 8th, 16th and 32nd rests rest should be
next to the top of the rest. All rests except the whole rest are
centered on the middle staff line.
-";
+"
}
\score { \notes {
- \time 4/4;
+ \time 4/4
r \longa * 1/4 r\breve * 1/2
r1 r2 r4 r8 r16 r32 r64 r128 r128
-\time 6/4;
+\time 6/4
r1. r2. r4. r8. r16. r32. r64. r128. r128.
}}
+\version "1.3.146"
\header{
texidoc="
Fonts are available in a default set of sizes: 11, 13, 16, 20, 23 and
26pt staffheight. Sizes of the text fonts and symbol fonts are made
to match the staff dimensions.
-";
+"
}
\include "paper11.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
+\version "1.3.146"
\include "paper13.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
+\version "1.3.146"
\include "paper16.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
+\version "1.3.146"
\include "paper20.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
+\version "1.3.146"
\include "paper23.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
+\version "1.3.146"
\include "paper26.ly"
-\include "allfontstyle.ly";
+\include "allfontstyle.ly"
+\version "1.3.146"
\header{
texidoc="
Slurs should be attached to note heads, except when they would collide
with beams. Also see: ophee-slurs.
-";
+"
}
\score{
\notes \relative c''{
a4() a8 a
}
\paper{
- indent = 0.0;
- linewidth = 100.\mm;
+ indent = 0.0
+ linewidth = 100.\mm
}
}
+\version "1.3.146"
\header{
texidoc="
just after the preferatory matter, and on the right to the end of the
staff. A slur should follow the same vertical direction it would have
in unbroken state.
-";
+"
}
\score{
\notes \relative c''{
e1( \break) a,
- \time 2/4;
+ \time 2/4
e'2( \break) a,(\break
a2\break
)e'2
}
\paper {
- linewidth=40.\mm;
- indent=0.;
+ linewidth=40.\mm
+ indent=0.
}
}
+\version "1.3.146"
\header{
texidoc="
The same goes for slurs. They behave decently when broken across
linebreak.
-";
+"
}
r1
}
\context Staff=two \notes\relative c'{
- \clef bass;
+ \clef bass
s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
}
>
+\version "1.3.146"
\header{
texidoc="
Slurs should look nice and symmetric. The curvature may increase
only to avoid noteheads, and as little as possible. Slurs never
run through noteheads or stems.
-";
+"
}
\score{
\notes\relative c''{
- \time 3/4;
+ \time 3/4
\slurUp
\stemBoth a ( \stemDown a \stemBoth ) a a( c )a a( e' )a, a( g' )a,
\stemUp a( e' )a,
\stemDown c( f, )c'
}
\paper{
- linewidth = 120.\mm;
+ linewidth = 120.\mm
}
}
+\version "1.3.146"
\score{
\notes\relative c''<
- \time 4/4;
+ \time 4/4
\context Staff{
f8(f f)f f(g g)f f(a a)f f(b b)f
}
}
>
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\score{
\notes\relative c'<
- \time 6/8;
+ \time 6/8
\context Staff{
e8(e)e e(d)e e(c)e e(b)e
}
}
>
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\header{
texidoc="
Loose:
-";
+"
}
\score {
- \notes { \time 2/2; c'2 c'2 \time 2/2; }
- \paper { linewidth = 5.0\cm;
- indent = 0.0;
+ \notes { \time 2/2 c'2 c'2 \time 2/2 }
+ \paper { linewidth = 5.0\cm
+ indent = 0.0
}
}
+\version "1.3.146"
\header{
texidoc="
Natural:
-";
+"
}
\score {
- \notes { \time 2/2; c'2 c'2 \time 2/2; }
- \paper { linewidth = -1.0 \cm;
- indent = 0.0;
+ \notes { \time 2/2 c'2 c'2 \time 2/2 }
+ \paper { linewidth = -1.0 \cm
+ indent = 0.0
}
}
+\version "1.3.146"
\header{
texidoc="
must stretch like the space within the measure.
Tight:
-";
+"
}
\score {
- \notes { \time 2/2; f''2 c'2 \time 2/2; }
- \paper { linewidth = 2.5 \cm;
- indent = 0.0;
+ \notes { \time 2/2 f''2 c'2 \time 2/2 }
+ \paper { linewidth = 2.5 \cm
+ indent = 0.0
}
}
+\version "1.3.146"
\header{
texidoc="
The staccato dot (and all scripts with follow-into-staff set), must
not be on staff lines.
-";
+"
}
\score {
\context Voice \notes\relative c {
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\header{
texidoc="
Staff margins are also markings attached to barlines. They should be
left of the staff, and be centered vertically wrt the staff. They may
be on normal staffs, but also on compound staffs, like the PianoStaff
-";
+"
}
\context Staff = treble {
\property PianoStaff.instrument = "Piano "
\property Staff.instrument = "Right " { c''4 }}
- \context Staff = bass { \property Staff.instrument = "Left " \clef bass; c4 }>
+ \context Staff = bass { \property Staff.instrument = "Left " \clef bass c4 }>
\paper {
-linewidth=-1.0;
+linewidth=-1.0
\translator { \ScoreContext
}
-\translator { \StaffContext \consists "Instrument_name_engraver"; }
-\translator { \PianoStaffContext \consists "Instrument_name_engraver"; }
+\translator { \StaffContext \consists "Instrument_name_engraver" }
+\translator { \PianoStaffContext \consists "Instrument_name_engraver" }
}}
+\version "1.3.146"
\header{
texidoc="
@c FIXME
Similarly, if @code{stem_default_neutral_direction} is set to @code{-1}.
-";
+"
}
\score{
b''4 ~ b8()b8 e4 e,
}
\paper{
- stem_default_neutral_direction=-1.0;
+ stem_default_neutral_direction=-1.0
}
}
+\version "1.3.146"
\header{
texidoc="
Stems, beams, ties and slurs should behave similarly, when placed
on the middle staff line. Of course stem-direction is down for high
notes, and up for low notes.
-";
+"
}
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\header{
texidoc="
In a limited number of cases, LilyPond corrects for optical spacing
effects. In this example, space for opposite pointed stems is adjuste
-";
+"
}
\score {
\context Voice \notes\relative c {
- \time 12/4; c''4 c c c a f' f, a
+ \time 12/4 c''4 c c c a f' f, a
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\header{
texidoc="
Stem tremolos or rolls are tremolo signs that look like beam segments
crossing stems. If the stem is in a beam, the tremolo must be parallel
to the beam. If the stem is invisible (eg. on a whole note), the
tremolo must be centered on the note.
-";
+"
}
+\version "1.3.146"
\header{
texidoc="
boundaries should be explicit.
Pitches can be verified by printing them with the @code{NoteNames} context.
-";
+"
}
thenotes = \notes \relative cis' {
- \time 4/4;
+ \time 4/4
g'2 g ~ |
g g4 gis |
gis2 gis ~ |
g2 gis( |
)g! gis4 gis |
\break
- \key a \major;
+ \key a \major
gis2 gis ~ |
gis4 gis8 ~ gis g4 gis |
gis2 g ~ |
% Btw: I don't even know what the rule is for the second note in the
% next bar, if a reminder accidental was printed. These are really
% not very common cases. Technically, if it is not tied, it
- % should get an accidental; but it looks a bit silly and redundant.
+ % should get an accidental but it looks a bit silly and redundant.
% See last g.
)g! gis4 gis ~ | \break
+\version "1.3.146"
\header{
texidoc="
When tieing chords, the outer slurs point outwards, the inner slurs
point away from the center of the staff. Override with
@code{tieVerticalDirection}.
-";
+"
}
+\version "1.3.146"
\header {
-texidoc = "Ties should not collide with dots.";
+texidoc = "Ties should not collide with dots."
}
-\score{\notes{\time 9/8; \key f \major;\clef bass;
- g4 d8 bes4. ~ bes4 a8 \bar "|";
- a8 gis8 d8 f4. gis,4. \bar "|";
- a,4. ~ a,4 r8 r4 r8 \bar "|";
+\score{\notes{\time 9/8 \key f \major\clef bass
+ g4 d8 bes4. ~ bes4 a8 \bar "|"
+ a8 gis8 d8 f4. gis,4. \bar "|"
+ a,4. ~ a,4 r8 r4 r8 \bar "|"
c4. ~ c8 a8 g8 f8
}}
+\version "1.3.146"
\header{
texidoc="
Ties are strictly horizontal. They are placed in between note heads.
The horizontal middle should not overlap with a staffline.
-";
+"
}
\score{
\notes\relative c''{
%b2~b4~b8~b16~b32~b64 r64\break
%a2~a4~a8~a16~a32~a64 r64
- \time 8/4;
+ \time 8/4
d1 ~ d2~d4~d8~d16~d32~d64 r64\break
a1~ a2~a4~a8~a16~a32~a64 r64
%c2~c4~c8~c16~c32~c64 r64
}
\paper{
- linewidth=0.;
+ linewidth=0.
}
}
+\version "1.3.146"
\header {
texidoc="Simple beams. This broke somewhere < 1.3.110
-";
- title = "Gammes Chromatiques";
- composer = "";
- filename = "gammes_chromatiques.ly";
+"
+ title = "Gammes Chromatiques"
+ composer = ""
+ filename = "gammes_chromatiques.ly"
}
-linebreak = \penalty -1000;
+linebreak = \penalty #-1000
ex = \notes \relative c' {
\repeat "volta" 2 {
+\version "1.3.146"
\header{
texidoc="
Tuplets are indicated by a bracket with a number. There should be no
bracket if there is one beam that matches the length of the tuplet.
The bracket does not interfere with the stafflines, and the number is
centered in the gap in the bracket.
-";
+"
}
\score{
\notes \context Voice \relative c'' {
\times 2/3 { \times 2/3 { a8 b c} c }
\times 3/4 { c4 c4 c4 c4 }
- \time 6/8;
+ \time 6/8
\times 6/9 { c8 c c c c c c c c }
}
+\version "1.3.146"
\header {
-texidoc ="Broken volta spanners behave correctly at left edge in all cases.";
+texidoc ="Broken volta spanners behave correctly at left edge in all cases."
}
%}
voiceB = \notes {
- \clef bass;
+ \clef bass
\property Staff.instrument = "Bass"
\property Staff.instr = "B"
- \key f \minor;
- \time 4/4;
+ \key f \minor
+ \time 4/4
f,2 ( ) f,8 r8 f8 e8
\repeat volta 2
{
>
\paper {
- font_normal = 12.;
+ font_normal = 12.
\translator {
\StaffContext
- \consists Instrument_name_engraver;
+ \consists Instrument_name_engraver
}
}
}
+\version "1.3.146"
\header{
-filename = "rhythm.ly";
-enteredby = "HWN";
-copyright = "public domain";
-TestedFeatures = "multiple meters, beaming, unsynced bars, userdefd engravers";
+filename = "rhythm.ly"
+enteredby = "HWN"
+copyright = "public domain"
+TestedFeatures = "multiple meters, beaming, unsynced bars, userdefd engravers"
}
ritme = \notes\transpose c'' {
- \time 4/4;
- \partial 8;
+ \time 4/4
+ \partial 8
c8 |
[a8~ a8. a8 a16 a16 a16] c4. | % watch the beams!
r32 r32 r16 r8 r4 r2 |
- \time 5/16;
+ \time 5/16
% divide measure in 5 equal parts. Usually it 2+3 or 3+2
[c8 c16 c8 ] | % watch THIS!
\times 5/4 { [ c16 c16 c16 c16] } |
- \time 2/8;
+ \time 2/8
c4 |
c4 c4 c4 c4
- \time 4/4;
+ \time 4/4
c1 c1 c1
% [c16 c16 c16 c16 ] |
another =
- \notes \relative c'' { \time 6/4;
- c1. c1. \time 4/4;c4 c4 c4 c4 c1 c1 c1
+ \notes \relative c'' { \time 6/4
+ c1. c1. \time 4/4c4 c4 c4 c4 c1 c1 c1
}
yanother =
- \notes{ \time 4/4;
+ \notes{ \time 4/4
c1 c1 c1 c4 c4 c4 c4 c1 c1 c1
}
%% remove Timing_engraver and Bar_number_engraver
\translator {
\ScoreContext
- \remove "Timing_engraver";
+ \remove "Timing_engraver"
}
\translator {
\RhythmicStaffContext
- \consists "Timing_engraver";
+ \consists "Timing_engraver"
}
\translator{
\StaffContext
- \consists "Timing_engraver";
+ \consists "Timing_engraver"
}
}
}
+\version "1.3.146"
\paper{
- indent=0.;
- linewidth=188.\mm;
+ indent=0.
+ linewidth=188.\mm
\translator{
\PianoStaffContext
+\version "1.3.146"
%K000.ly LilyPond 1.2.16
\paper {
\translator{\VoiceContext
%% huh?
- %%beamAutoBegin=0;
+ %%beamAutoBegin=0
autoBeamSettings \override #'(end 1 8 * *) = #(make-moment 3 8)
autoBeamSettings \override #'(end 1 16 * *) = #(make-moment 3 8)
autoBeamSettings \override #'(end 1 24 * *) = #(make-moment 1 8)
\score{
\context PianoStaff \notes<
\context Staff=up<
- \key d \major ;
-\time 3/8;
-\clef treble;
+ \key d \major
+\time 3/8
+\clef treble
\autochange Staff
\context Voice=va< \zs
\su
%a5
s8 \rh fis'' s|
%a6
-a''32 s fis'' s d'' s a' s d' s a s \bar "||";
-\key f \major;
+a''32 s fis'' s d'' s a' s d' s a s \bar "||"
+\key f \major
%a7
r16 a' f'8. d'16~
%a8
%a9
r16 a' f'8. d'16~
%a10
-d'16 g' e'8. cis'16 \bar "||";
-\key d \major;
+d'16 g' e'8. cis'16 \bar "||"
+\key d \major
%a11
r16 fis' d'8. g'16~
%a12
%a35
s32 e' cis' a s a' e' cis' s cis'' a' e'|
%a36
-\lh a'32 \rh[e'' cis'' a']\lh cis'' \rh[a'' e'' cis'']\lh a' \rh[a cis' e']\bar "||";
-\time 6/8;
+\lh a'32 \rh[e'' cis'' a']\lh cis'' \rh[a'' e'' cis'']\lh a' \rh[a cis' e']\bar "||"
+\time 6/8
%a37
gis''8 a'' gis'' a'' gis'' a''|
}
}>
>
\context Staff=down<
-\clef bass;
-\key d \major;
+\clef bass
+\key d \major
s4.*38
>>
}
+\version "1.3.146"
%{
Converted from star.mup with the aid of mup2ly.py
-http://www.Arkkra.com/doc/star.html
-http://www.Arkkra.com/doc/star.ps
+http://www.arkkra.com/doc/star.html
+http://www.arkkra.com/doc/star.ps
%}
\header{
- title="The Star Spangled Banner";
- subtitle="The United States National Anthem";
- poet="Text by Francis Scott Key";
- composer="J. S. Smith";
- arranger="Arranged by William J. Krauss";
- enteredby="jcn";
- copyright="public domain";
+ title="The Star Spangled Banner"
+ subtitle="The United States National Anthem"
+ poet="Text by Francis Scott Key"
+ composer="J. S. Smith"
+ arranger="Arranged by William J. Krauss"
+ enteredby="jcn"
+ copyright="public domain"
}
global = \notes {
- \time 3/4;
- \key d \major;
- \partial 4;
+ \time 3/4
+ \key d \major
+ \partial 4
}
staffBVoiceB = \notes {
% Ah, it seems that this context stops to exist just before
% the :| barline is set, and doesn't see its width?
% Ugly fix:
- Whose broad \bar "|.";
+ Whose broad \bar "|."
}
\context LyricsVoice = "one-2"
{
}
}
-\include "paper16.ly";
+\include "paper16.ly"
\score{
\context GrandStaff \notes <
\addlyrics
\context Staff=upper <
\global
- \clef treble;
+ \clef treble
\property Staff.automaticMelismata = ##t
\context Voice = one \transpose c'' {
\voiceOne
\staffBVoiceB
- \bar "|.";
+ \bar "|."
}
\context Voice = two \transpose c'' {
\voiceTwo
\context LyricsVoice = "one-1" \text
\context Staff=lower <
\global
- \clef bass;
+ \clef bass
\property Staff.VoltaBracket = \turnOff
\context Voice = three {
\voiceOne
>
\paper{
\paperSixteen
- textheight = 230.\mm;
- linewidth= 180.\mm;
+ textheight = 230.\mm
+ linewidth= 180.\mm
\translator {
\GrandStaffContext
- \accepts "Lyrics";
+ \accepts "Lyrics"
}
\translator {
\LyricsVoiceContext
- \consists "Bar_engraver";
+ \consists "Bar_engraver"
}
}
\midi {
- \tempo 4 = 60;
+ \tempo 4 = 60
}
}
+\version "1.3.146"
\score{
\notes\relative c''{
\paper{
}
\midi{
-\tempo 1 = 60;
+\tempo 1 = 60
}
}
+\version "1.3.146"
%
% TODO: what's this?
%
global = \notes {
- \key a \minor;
- \time 6/4;
-% \skip 1.*34;
-% \bar ".|";
+ \key a \minor
+ \time 6/4
+% \skip 1.*34
+% \bar ".|"
}
melody = \notes\relative c''{
>
\context Staff=down <
\global
- \clef bass;
+ \clef bass
\autochange Staff \context Voice \accompany
>
>
\paper {
- indent = 8.\mm;
- textheight = 295.\mm;
+ indent = 8.\mm
+ textheight = 295.\mm
\translator{
\PianoStaffContext
\translator{
\StaffContext
% don't auto-generate bars: not a good idea: -> no breakpoints
- % barAuto = "0";
+ % barAuto = "0"
% urg defaultBarType = #""
defaultBarType = #""
- \remove "Time_signature_engraver";
+ \remove "Time_signature_engraver"
Slur \override #'direction = #1
}
}
\midi {
- \tempo 4 = 54;
+ \tempo 4 = 54
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
- \time 3/4;
+ \time 3/4
cisis'' cisis! cisis? |
cis cis! cis? |
c c! c? |
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
- c''4 c4 cis4 cis [c8 c \clef "bass"; f,, f]
+ c''4 c4 cis4 cis [c8 c \clef "bass" f,, f]
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\header {
texidoc= "Using make-music, you can add
various stuff to notes. Here is an example
how to add an extra fingering.
In general, first do a display of the music you want ot
-create, then write a function that will build the structure for you.";
+create, then write a function that will build the structure for you."
}
#(define (make-script x)
+\version "1.3.146"
%{
See scm/chord-names.scm: chord::names-alist-american
#(set! chord::names-alist-american
(append
'(
- ;; any changes here, see scm/chord-name.scm
+ any changes here, see scm/chord-name.scm
)
chord::names-alist-american))
+\version "1.3.146"
\header {
- title = "ancient font test";
- date = "2000";
+ title = "ancient font test"
+ date = "2000"
}
\property Voice.NoteHead \override #'style = #'mensural
\property Voice.Stem \override #'stem-centered = ##t
\property Staff.Custos \override #'style = #'vaticana
- \clef "vaticana_fa2";
+ \clef "vaticana_fa2"
c2 d e f g
% \property Staff.clefGlyph = #"clefs-vaticana_do"
% \property Staff.clefPosition = #1
% \property Staff.clefOctavation = #0
- \clef "vaticana_do2";
+ \clef "vaticana_do2"
a b c'
b a g f
- \clef "vaticana_fa1";
- e d c1 \bar "|";
+ \clef "vaticana_fa1"
+ e d c1 \bar "|"
\property Staff.Custos \override #'style = #'medicaea
- \clef "medicaea_fa2";
+ \clef "medicaea_fa2"
c2 d e f g
- \clef "medicaea_do2";
+ \clef "medicaea_do2"
a b c'
b a g f
- \clef "medicaea_fa1";
- e d c1 \bar "|";
+ \clef "medicaea_fa1"
+ e d c1 \bar "|"
\property Staff.Custos \override #'style = #'hufnagel
- \clef "hufnagel_fa2";
+ \clef "hufnagel_fa2"
c2 d e f g
- \clef "hufnagel_do2";
+ \clef "hufnagel_do2"
a b c'
b a g f
- \clef "hufnagel_fa1";
- e d c1 \bar "||";
+ \clef "hufnagel_fa1"
+ e d c1 \bar "||"
}
>
\property Voice.NoteHead \override #'style = #'mensural
\property Voice.Stem \override #'stem-centered = ##t
\property Staff.Custos \override #'style = #'mensural
- \clef "mensural1_c2";
+ \clef "mensural1_c2"
c2 d e f g
\property Staff.forceClef = ##t
- \clef "mensural1_c2";
+ \clef "mensural1_c2"
a b c'
b a g f
- \clef "mensural2_c2";
- e d c1 \bar "|";
+ \clef "mensural2_c2"
+ e d c1 \bar "|"
- \clef "mensural2_c2";
+ \clef "mensural2_c2"
c2 d e f g
\property Staff.forceClef = ##t
- \clef "mensural3_c2";
+ \clef "mensural3_c2"
a b c'
b a g f
- \clef "mensural3_c2";
- e d c1 \bar "|";
+ \clef "mensural3_c2"
+ e d c1 \bar "|"
- \clef "mensural1_f";
+ \clef "mensural1_f"
c2 d e f g
\property Staff.forceClef = ##t
- \clef "mensural1_f";
+ \clef "mensural1_f"
a b c'
b a g f
- \clef "mensural2_f";
- e d c1 \bar "|";
+ \clef "mensural2_f"
+ e d c1 \bar "|"
\property Staff.forceClef = ##t
- \clef "mensural2_f";
+ \clef "mensural2_f"
c2 d e f g
- \clef "mensural_g";
+ \clef "mensural_g"
a' b' c''
b' a' g' f'
\property Staff.forceClef = ##t
- \clef "mensural_g";
- e' d' c'1 \bar "|";
+ \clef "mensural_g"
+ e' d' c'1 \bar "|"
\property Staff.forceClef = ##t
- \clef "mensural_g";
+ \clef "mensural_g"
c'2 d' e' f' g'
- \clef "hufnagel_do_fa";
+ \clef "hufnagel_do_fa"
a b c'
b a g f
\property Staff.forceClef = ##t
- \clef "hufnagel_do_fa";
- e d c1 \bar "||";
+ \clef "hufnagel_do_fa"
+ e d c1 \bar "||"
}
>
>
\paper {
% \paperTwentysix
- linewidth = 17.25\cm;
- textheight = 26.0\cm;
- indent = 0.0;
+ linewidth = 17.25\cm
+ textheight = 26.0\cm
+ indent = 0.0
\translator {
\StaffContext
- \consists Custos_engraver;
-% Custos \override #'style = #'mensural;
- \remove Time_signature_engraver;
+ \consists Custos_engraver
+% Custos \override #'style = #'mensural
+ \remove Time_signature_engraver
% StaffSymbol \override #'line-count = #4
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
- \time 4/4;
+ \time 4/4
g''1 a2 b4. c8
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
- \time 4/4;
+ \time 4/4
g''1 a2 b4. c8
\repeat "volta" 2 { a4 b c d } \alternative { { c c c c } { d2 d4 [d8 d] } }
+\version "1.3.146"
% test for ascii-art output
\score {
\notes\relative c'{
- \time 4/4;
+ \time 4/4
c8( e g )b
d( d d )d
- \bar "|.";
+ \bar "|."
}
\paper {
- linewidth=65.0\char;
+ linewidth=65.0\char
\translator { \StaffContext barSize = #9 }
%\translator { \VoiceContext beamHeight = #0 }
\translator { \VoiceContext beamHeight = ##f }
+\version "1.3.146"
\score{
\notes\relative c''{
- \time 4/8;
+ \time 4/8
%{
the default for 4/8 (see scm/auto-beam.scm)
+\version "1.3.146"
\score{
\notes \relative c''{
- \time 2/4;
+ \time 2/4
% one beam per measure
c8 c c c
c16 c c c c c c c
+\version "1.3.146"
\score{
\notes\relative c''{
% urg, avoid crash
\translator{
\VoiceContext
- \remove Tuplet_engraver;
+ \remove Tuplet_engraver
}
}
}
+\version "1.3.146"
%{
The auto-beam engraver has presets for common time signatures.
\score{
\notes \relative c''{
%{
- % urg: something breaks in grouping ; see input/bugs/time-grouping.ly
- \time 1/2;
+ % urg: something breaks in grouping see input/bugs/time-grouping.ly
+ \time 1/2
c8 c c c
c16 c c c c c c c
c32 c c c c c c c c c c c c c c c
- \time 1/4;
+ \time 1/4
c8 c
c16 c c c
c32 c c c c c c c
- \time 1/8;
+ \time 1/8
c8
c16 c
c32 c c c
%}
- \time 2/2;
+ \time 2/2
c8 c c c c c c c
c16 c c c c c c c c c c c c c c c
c32 c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c
- \time 2/4;
+ \time 2/4
c8 c c c
c16 c c c c c c c
c32 c c c c c c c c c c c c c c c
- \time 2/8;
+ \time 2/8
c8 c
c16 c c c
c32 c c c c c c c
- \time 3/2;
+ \time 3/2
c8 c c c c c c c c c c c
c16 c c c c c c c c c c c c c c c c c c c c c c c
- \time 3/4;
+ \time 3/4
c8 c c c c c
c16 c c c c c c c c c c c
c32 c c c c c c c c c c c c c c c c c c c c c c c
- \time 3/8;
+ \time 3/8
c8 c c
c16 c c c c c
c32 c c c c c c c c c c c
- \time 4/4;
+ \time 4/4
c8 c c c c c c c
c16 c c c c c c c c c c c c c c c
c32 c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c c
- \time 4/8;
+ \time 4/8
c8 c c c
c16 c c c c c c c
c32 c c c c c c c c c c c c c c c
- \time 6/8;
+ \time 6/8
c8 c c c c c
c16 c c c c c c c c c c c
- \time 9/8;
+ \time 9/8
c8 c c c c c c c c
c16 c c c c c c c c c c c c c c c c c
}
+\version "1.3.146"
% bagpipe music.
\header
{
- title="Flower of Scotland";
+ title="Flower of Scotland"
}
\paper {
- linewidth = 14.0 \cm;
- indent = 0.0 \cm;
+ linewidth = 14.0 \cm
+ indent = 0.0 \cm
\translator {
\GraceContext
%
\score {
- \notes { \time 6/8; \partial 4;
+ \notes { \time 6/8 \partial 4
\tieUp
\slurUp
f4 |
)e8 d4 \gg d4 e8 |
\break
-\time 9/8;
+\time 9/8
\dblf f2.( )f4 d8 |
-\time 6/8;
+\time 6/8
\dblg g'4 a'8 \gg a'4. |
\thrd d4.( )d4 \eg a8 |
-\time 9/8;
+\time 9/8
\dble e4 \lag e8 \gg [e16 d8. e8] \gg f4 g'8 |
\break
-\time 6/8;
+\time 6/8
\gg f4 e8 \thrd d4. |
\eg a4.( )a4 d8 |
\dblg g'4 a'8 \gg a'4. |
+\version "1.3.146"
\header{
-enteredby = "jcn";
-copyright = "public domain";
-TestedFeatures = "Banter named chords";
+enteredby = "jcn"
+copyright = "public domain"
+TestedFeatures = "Banter named chords"
}
% test German (Banter) naming
% {
-#;(define chord::names-alist-banter '())
+#(define chord::names-alist-banter '())
#(set! chord::names-alist-banter
(append
'(
(((0 . 0) (2 . -1) (4 . -1)) . (("m" ("5-" . (type . "super")))))
- ; Co iso Cm5-7-
+ Co iso Cm5-7-
(((0 . 0) (2 . -1) (4 . -1) (6 . -2)) . ("o" (type "super")))
)))
+\version "1.3.146"
\score
{
\notes \relative c'' {
c4
-\bar "|."; c
-\bar "|:";c
-\bar "||";c
-\bar ":|" ; c
-\bar ".|"; c
-\bar ".|."; c
-\bar "|"; c
+\bar "|." c
+\bar "|:"c
+\bar "||"c
+\bar ":|" c
+\bar ".|" c
+\bar ".|." c
+\bar "|" c
}
}
+\version "1.3.146"
\score {
\translator{
\StaffContext
- \consists Bar_number_engraver;
+ \consists Bar_number_engraver
barNumberVisibilityFunction = #end-of-line-invisible
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\score{
}
\paper{
- linewidth = 60.0\mm;
+ linewidth = 60.0\mm
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
fragment = \notes {
a g f
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\score{
\notes\relative c''{
% \stemUp
[a b c d]
}
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\header{
texidoc="
up down down
up up down
-";
+"
}
\score {
[d a]
\property Voice.Beam \set #'dir-function = #beam-dir-majority
- \time 3/8;
+ \time 3/8
[d8 a a]
\property Voice.Beam \set #'dir-function = #beam-dir-mean
[d a a]
+\version "1.3.146"
\header {
texidoc = "
These beam direction functions are defined in @file{scm/beam.scm}. If
your favourite algorithm isn't one of these, you can hook up your own.
-";
+"
}
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
\score { \notes \relative c {
[d''8 a]
\property Voice.Beam \set #'dir-function = #beam-dir-mean
[d a]
}}
\score { \notes \relative c {
- \time 3/8;
+ \time 3/8
[d''8 a a]
\property Voice.Beam \set #'dir-function = #beam-dir-mean
[d a a]
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\score{
\context PianoStaff <
\context Staff=one \notes\relative c'{
s1
}
\context Staff=two \notes\relative c'{
- \clef bass;
+ \clef bass
% no knee
\stemUp [c8 \translator Staff=one \stemDown g'16 f]
s8
}
>
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
fragment = \notes {
[b b]
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\header{
-filename = "beam-pos.ly";
-composer = "jcn";
-enteredby = "jcn";
-copyright = "PD";
+filename = "beam-pos.ly"
+composer = "jcn"
+enteredby = "jcn"
+copyright = "PD"
-TestedFeatures = "beam quant positions";
+TestedFeatures = "beam quant positions"
}
\score{
+\version "1.3.146"
fragment = \notes {
[c'8 c]
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
%{
Have some fun beam quanting
+\version "1.3.146"
\header{
texidoc="
Beams over rests.
-";
+"
}
\score{
}
\paper{
- linewidth =-1;
+ linewidth =-1
}
}
+\version "1.3.146"
fragment = \notes {
[a''8 e' d c]
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\score{
\notes\relative c'{
[g16 a b c]
}
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\score{
\notes\relative c'{
[f8 a' g f]
}
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\score{
\notes\relative c''{
[g16 e f g]
}
\paper{
- linewidth = -1.;
+ linewidth = -1.
}
}
+\version "1.3.146"
\score{
\notes \relative c''{
}
\paper{
- indent = 0.0;
- linewidth = 60.0\mm;
+ indent = 0.0
+ linewidth = 60.0\mm
}
}
+\version "1.3.146"
\header{
-filename = "beams.ly";
-composer = "heu";
-enteredby = "jcn";
-copyright = "PD";
+filename = "beams.ly"
+composer = "heu"
+enteredby = "jcn"
+copyright = "PD"
-TestedFeatures = "beams and beamflags";
+TestedFeatures = "beams and beamflags"
}
\context GrandStaff <
\notes\transpose c' {
- \time 8/4;
+ \time 8/4
\stemUp [c8 c'' a' f']
\stemUp [c16 c'' a' f']
\stemUp [c32 c'' a' f']
<
\notes {
\transpose c' {
- \time 8/4;
+ \time 8/4
\stemDown [a'8 a, c e]
\stemDown [a'16 a, c e]
\stemDown [a'32 a, c e]
+\version "1.3.146"
\header {
texidoc = "overriding the molecule callback can also be used to draw a
TODO: check whether the corners are really correct.
- ";
+ "
}
#(define (box-molecule xext yext)
(ly-make-molecule
+\version "1.3.146"
a,
}
- \context Staff=two { \clef bass; \skip 1*2; }
+ \context Staff=two { \clef bass \skip 1*2 }
>
\paper{
- linewidth = 70.\mm;
+ linewidth = 70.\mm
\translator {
\ScoreContext
followVoice = ##t
+\version "1.3.146"
\header{
-enteredby = "jcn";
-copyright = "PD";
+enteredby = "jcn"
+copyright = "PD"
TestedFeatures = "This file tests Feta embedded slurs" +
- "(Feta definitively is not an abbreviation of Font-En-TjA)";
+ "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
\broken
}
\paper{
- indent = 0.0\pt;
+ indent = 0.0\pt
%for broken!
- linewidth= 30.\mm;
+ linewidth= 30.\mm
}
}
+\version "1.3.146"
\header {
texidoc = " Small caps is available as font-shape caps.
- "; }
+ " }
shapeSC = \property Lyrics.LyricText \override #'font-shape = #'caps
shapeNorm = \property Lyrics.LyricText \revert #'font-shape
\notes \relative c'' { c4 c4 c8 c8 }
\lyrics \context Lyrics {
what4 is4 \shapeSC Bud8 -- dha?8 }>
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
}
+\version "1.3.146"
\header{
texidoc="property chordChanges: only display chord names when
there's a change in the chords scheme, but always display the
chord name after a line break.
-";
+"
}
scheme = \chords {
\context Staff \transpose c'' \scheme
>
\paper{
- linewidth = 40 * \staffspace;
+ linewidth = 40 * \staffspace
\translator {
\ChordNamesContext
chordChanges = ##t
+\version "1.3.146"
\header{
-enteredby = "jcn";
-copyright = "public domain";
-TestedFeatures = "chord inversions";
+enteredby = "jcn"
+copyright = "public domain"
+TestedFeatures = "chord inversions"
}
inversions = \notes\transpose c''\chords{
+\version "1.3.146"
\header{
-filename = "chord-table.ly";
-copyright = "public domain";
-enteredby = "jcn";
+filename = "chord-table.ly"
+copyright = "public domain"
+enteredby = "jcn"
}
tab = \notes\transpose c'''\chords{
\context ChordNames=b \notes\transpose b,\tab
>
\paper{
- textheight = \vsize - 4.0 * \staffheight;
+ textheight = \vsize - 4.0 * \staffheight
}
}
+\version "1.3.146"
%{
C# cis
Cb ces
- Cm; Cmin c:3-; c:m; c:min
- Caug c:5+; c:aug;
- Cdim c:3-.5-; c:dim
- Cmaj7 c:7+; c:maj
+ Cm Cmin c:3- c:m c:min
+ Caug c:5+ c:aug
+ Cdim c:3-.5- c:dim
+ Cmaj7 c:7+ c:maj
C7 c:7
- Csus; Csus4 c:4; c:sus
+ Csus Csus4 c:4 c:sus
%}
s1 s1 s1
s1 s1
s1
- \key g \major; s1
- \key d \major; s1
- \key a \major; s1
- \key e \major; s1
- \key b \major; s1
- \key fis \major; s1
- \key c \major; s1
- \key f \major; s1
- \key bes \major; s1
- \key es \major; s1
- \key as \major; s1
- \key des \major; s1
- \key ges \major; s1
- \key c \major; s1*2
- \key c \major; s1*6
+ \key g \major s1
+ \key d \major s1
+ \key a \major s1
+ \key e \major s1
+ \key b \major s1
+ \key fis \major s1
+ \key c \major s1
+ \key f \major s1
+ \key bes \major s1
+ \key es \major s1
+ \key as \major s1
+ \key des \major s1
+ \key ges \major s1
+ \key c \major s1*2
+ \key c \major s1*6
}
\score{
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
-\clef "bass_8"; c4
+\clef "bass_8" c4
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
% The volta texts should read: 1-4 and 5
% Not 1 and 2
% (see 1.2.17)
}
-%;
+%
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
% Ugh, we need to override some LaTeX titling stuff
\header {
- title = "Ouvertüre\\vrule width0pt height 0pt depth 1ex";
- subtitle = "\\normalsize Zu Heinrich Joseph v. Collins Trauerspiel\\vrule width0pt height 0pt depth 1ex";
- subsubtitle = "\\Large\\bf Coriolan";
- opus = "Op. 62";
- piece = "\\hspace*{30mm}\\normalfont\\large Allegro con brio";
- composer = "Ludwig van Beethoven (1770-1827)";
- enteredby = "JCN";
+ title = "Ouvertüre\\vrule width0pt height 0pt depth 1ex"
+ subtitle = "\\normalsize Zu Heinrich Joseph v. Collins Trauerspiel\\vrule width0pt height 0pt depth 1ex"
+ subsubtitle = "\\Large\\bf Coriolan"
+ opus = "Op. 62"
+ piece = "\\hspace*{30mm}\\normalfont\\large Allegro con brio"
+ composer = "Ludwig van Beethoven (1770-1827)"
+ enteredby = "JCN"
}
#(define raisedflat '((raise . 0.4) (music (named "accidentals--1"))))
flauti = \notes \relative c' {
\property Staff.instrument = #"2 Flauti"
\property Staff.instr = #"Fl."
- \time 4/4;
+ \time 4/4
c1
\break c
% \break c
% \break c
- \bar"|.";
+ \bar"|."
}
oboi = \notes \relative c' {
\context StaffGroup ="timpani" <
\context Staff ="timpani" \timpani
{
- \skip 1;
+ \skip 1
% Hmm: this forces a staff-bracket, that's good!
% However, I can't find where is decided on staff-bracket yes/no
}
>
\paper {
\paperSixteen
- indent=100.0\mm;
- linewidth=150.0\mm;
+ indent=100.0\mm
+ linewidth=150.0\mm
\translator {
\HaraKiriStaffContext
}
+\version "1.3.146"
\score{
\notes\relative c''{
\paper{
}
\midi{
-\tempo 1 = 60;
+\tempo 1 = 60
}
}
+\version "1.3.146"
fragment = \notes {
}
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\paper {
CueVoiceContext = \translator {
\VoiceContext
- \name CueVoice;
+ \name CueVoice
NoteHead \override #'font-relative-size = #-1
Stem \override #'font-relative-size = #-1
Beam \override #'font-relative-size = #-1
TextScript \override #'font-relative-size = #-1
Slur \override #'font-relative-size = #-1
Accidentals \override #'font-relative-size = #-1
- };
+ }
\translator{ \CueVoiceContext }
StaffContext = \translator{\StaffContext
- \accepts "CueVoice";
- };
+ \accepts "CueVoice"
+ }
}
\paper {
StaffContext = \translator{
\StaffContext
- \remove "Time_signature_engraver";
- };
+ \remove "Time_signature_engraver"
+ }
\translator { \StaffContext }
\translator{
\VoiceContext
- \remove "Auto_beam_engraver";
+ \remove "Auto_beam_engraver"
}
\translator {
\ScoreContext
+\version "1.3.146"
\score { \notes { c'1 \break < d'1 f' a'> }
\paper {\translator { \StaffContext
-\consists Custos_engraver;
+\consists Custos_engraver
}}
}
+\version "1.3.146"
\header { texidoc = "
The direction of a perfectly centred beams can be
controlled through @code{Voice.Beam}'s grob-property
@code{default-neutral-direction}
-";}
+"}
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
\score {\notes \relative c {
[b''8 b]
\property Voice.Beam \set #'default-neutral-direction = #-1
+\version "1.3.146"
% barline spacing disrupts visual rhythm.
>
\paper{
- linewidth = -1.0\cm;
+ linewidth = -1.0\cm
\translator{
\ScoreContext
BreakAlignment \override #'space-alist = #nbal
- \remove Timing_engraver;
+ \remove Timing_engraver
}
\translator{
\StaffContext
- \consists Timing_engraver;
+ \consists Timing_engraver
}
}
}
+\version "1.3.146"
% a few 32nds shouldn't stretch spacing enormously.
\score {
-\notes { \time 3/4;
+\notes { \time 3/4
\relative c'{
g'8. c16 es8. d16 c8. bes32 as g8. c,16
es4 r8 es |
}
}
-\paper { linewidth = -1.0; }
+\paper { linewidth = -1.0 }
}
+\version "1.3.146"
\header{
texidoc="
Slurs can be forced to always attach to note heads.
-";
+"
}
fragment = \notes {
g''16()g()g()g()d'()d()d()d
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\score {
\context Staff \notes <
- \time 3/8;
+ \time 3/8
\context Voice=one \relative c'' {
\property Voice.Stem \set #'direction = #1
\property Voice.Tie \set #'direction = #1
a8()a~a
}
>
- \paper { linewidth = 40*\staffspace; }
+ \paper { linewidth = 40*\staffspace }
}
% see ly/drumpitch.ly for list of instruments and paper-kits.
% scm/midi.scm for list of midi-drumkits.
-\include "drumpitch.ly";
+\include "drumpitch.ly"
-\version "1.3.142"
+\version "1.3.146"
drh = \notes { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
drl = \notes {\repeat "unfold" 3 {bd4 sn8 bd bd4 <bd ss>} bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
<
\context TwoLineStaff=timbst \notes <
\property Staff.instrument="timbales"
- \clef "percussion";
+ \clef "percussion"
\apply #(drums->paper 'timbales) \timb
>
\context Staff=drumst \notes <
\property Staff.instrument="drums"
- \clef "percussion";
+ \clef "percussion"
\apply #(drums->paper 'drums) <
\context Voice=voa {\stemUp \drh }
\context Voice=vob {\stemDown \drl }
\paper {
\translator {
\StaffContext
- \consists Instrument_name_engraver;
+ \consists Instrument_name_engraver
Script \override #'padding = #0.5
}
\translator {
\StaffContext
- \name TwoLineStaff;
- \alias Staff;
- \consists Instrument_name_engraver;
- StaffSymbol \override #'line-count = #2;
- BarLine \override #'bar-size = #2;
+ \name TwoLineStaff
+ \alias Staff
+ \consists Instrument_name_engraver
+ StaffSymbol \override #'line-count = #2
+ BarLine \override #'bar-size = #2
}
\translator {
\ScoreContext
- \accepts TwoLineStaff;
+ \accepts TwoLineStaff
}
}
}
\drh
\drl
>
- \midi{ \tempo 4=120; }
+ \midi{ \tempo 4=120 }
}
+\version "1.3.146"
%non of the dynamics properties work anymore
+\version "1.3.146"
\header {
texidoc = "By inserting the @TeX{} command \embeddedps, you can
insert postscript directly into the output.
TODO: make molecule-callback to do this.
- ";
+ "
}
\score {
s2
a'1
}
- \paper { linewidth = 70 * \staffspace; }
+ \paper { linewidth = 70 * \staffspace }
}
+\version "1.3.146"
#(begin (newline)(display "hello world")(newline))\score{
\notes\relative c'{ c }
+\version "1.3.146"
fragment = \notes {
a''^"3 $\\times$ \\`a deux"
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
%
% TODO: junkme.
%
\context StaffGroup ="timpani" <
\context Staff ="timpani" \timpani
{
- \skip 1;
+ \skip 1
% Hmm: this forces a staff-bracket, that's good!
% However, I can't find where is decided on staff-bracket yes/no
}
>
>
\header{
- title = "Coriolan";
- subtitle = "Ouverture";
- opus = "Opus 62";
- composer = "Ludwig van Beethoven (1770-1827)";
- enteredby = "JCN";
- copyright = "public domain";
+ title = "Coriolan"
+ subtitle = "Ouverture"
+ opus = "Opus 62"
+ composer = "Ludwig van Beethoven (1770-1827)"
+ enteredby = "JCN"
+ copyright = "public domain"
}
\paper {
\paperSixteen
- indent=100.0\mm;
- linewidth=150.0\mm;
+ indent=100.0\mm
+ linewidth=150.0\mm
\translator {
\HaraKiriStaffContext
}
}
\midi {
- \tempo 1 = 60;
+ \tempo 1 = 60
}
}
+\version "1.3.146"
\header{
-texidoc="Explicit pitches and durations.";
+texidoc="Explicit pitches and durations."
}
\score {
\notes {
+\version "1.3.146"
%{
(Message vers:9)
To: Adrian Mariano <adrian@cam.cornell.edu>
}
>
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator{
\ScoreContext
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
% to see the magic: uncomment size stuff in init/paper20.ly
+\version "1.3.146"
% Example of figured bass, using text scripts.
% (An alternative is to use a lyrics line if you want the figures
% aligned vertically.)
\score{
\notes \relative c'{
- \clef bass;
+ \clef bass
c^"5" d^#natural g,^"7 6" [a8 e] |
fis4^"7 6" [g8 d] e4^"7 6" [f?8 c] |
+\version "1.3.146"
%
% test file to get a4 paper really filled,
% at a reasonably (small) value. -- jcn
%
\header{
-tagline="Ligly";
+tagline="Ligly"
}
-\include "paper13.ly";
+\include "paper13.ly"
\score{
\context Voice \notes\relative c'{
- \clef alto;
+ \clef alto
\repeat "unfold" 36 c1
}
\paper{
\paperThirteen
- indent = 0.0\mm;
+ indent = 0.0\mm
% URG
% Vertical space is rather precious when typesetting
% music. But we can only set textheight here, and must
% footers. If we want a header or footer on some page,
% all other pages suffer shortened `textheight'.
% Try the maximum for a4, without loosing footers:
- textheight = 297.0\mm - 7.0\mm;
- papersize = "a4";
- linewidth = 15.0\mm;
+ textheight = 297.0\mm - 7.0\mm
+ papersize = "a4"
+ linewidth = 15.0\mm
\translator {
\StaffContext
MinimumVerticalExtent = #(cons 0 0)
+\version "1.3.146"
\notes \context Voice = VA \relative c'' {
\grace {[b8^1 c^2]} d4^3
}
-\paper {linewidth = -1. ; }}
+\paper {linewidth = -1. }}
texidoc="
Theads can be traced automagically when they switch staffs by setting
property @code{followVoice}.
-";
+"
}
-\version "1.3.139"
+\version "1.3.146"
% followVoice: connect note heads with line when thread switches staff
fragment = \notes {
\translator Staff=two
b2 a
}
- \context Staff=two {\clef bass; \skip 1*2;}
+ \context Staff=two {\clef bass \skip 1*2}
>
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
% body for the font test. Does not work standalone
FontBody= \notes\transpose c''{
- \bar "|:";
- \time 4/4;
+ \bar "|:"
+ \time 4/4
\context Staff < \context Voice = VB { \stemUp e'\longa a\breve | }
\context Voice = VA { \stemDown
- c1 \clef "bass"; b,, \clef "violin"; c' a'
- c2 \clef "alto"; g c' \clef "violin"; a'
+ c1 \clef "bass" b,, \clef "violin" c' a'
+ c2 \clef "alto" g c' \clef "violin" a'
} >
\stemBoth
- c4 g c' a' \bar ":|";
+ c4 g c' a' \bar ":|"
a\ppp-\upbow a\pp-\downbow a\p^\turn a\mp^\fermata |
a\mf_\fermata a\f-\stopped a\ff-\open a\fff^\trill|
a\fp-\reverseturn a4.\sf a4.\sfz | a4\fz % a\rf
[c8-\upprall a'8-\downprall] [a'-\segno c-\coda] |
[c \< d e f] [as' ges' f' e']
[cis' dis' c' des'] [cisis' disis' \! ceses' deses'] |
- \clef "bass";
+ \clef "bass"
r\longa * 1/4 r\breve *1/2
r1 r2 r4 r8 r16 r32 r64 r128 r128 |
\context Staff < \context Voice = VA { \stemUp r2 c'2 c,,,1 }
\context Voice = VB {\stemDown r2 c2 r1 }>
\stemBoth
- \clef "violin";
+ \clef "violin"
e8_. g'8-> e16^^ g'16_^
e32 _| g'32^| g''32-\ltoe g''32-\lheel
e64-\rtoe g'64-\rheel c4... |
\property Voice . noteHeadStyle = #'harmonic
\transpose c'{
- \time 4/4;
+ \time 4/4
\property Voice . TextScript \override #'font-style = #'Finger
\property Voice . noteHeadStyle = #'diamond
c1^"1" d2^"2" e4^"3"
a'^\flageolet
\property Voice . TextScript \override #'font-style = #'roman
- \time 1/2; a2 |
- \time 3/2; < a1.
+ \time 1/2 a2 |
+ \time 3/2 < a1.
{ s4 \ppp \< s4 \! s4 \fff s4 \> s4 \! s4\ppp} >
|
- \time 2/4; a2 |
- \time 5/4; a1.. |
- \time 6/8; a2. |
- \time 7/8; a2.. |
- \time 9/8; a1... |
- \time 12/8; a1. |
- \time 12/4;
+ \time 2/4 a2 |
+ \time 5/4 a1.. |
+ \time 6/8 a2. |
+ \time 7/8 a2.. |
+ \time 9/8 a1... |
+ \time 12/8 a1. |
+ \time 12/4
r1. r2. r4. r8. r16. r32. r64. r64. |
c2\sustainDown c\sustainUp |
}
+\version "1.3.146"
\header{
-title= "The Feta Font";
-subtitle = "proofsheet";
-enteredby = "jcn & hwn";
-copyright = "public domain";
-description = "This file tests the Feta music font, 11pt";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet"
+enteredby = "jcn & hwn"
+copyright = "public domain"
+description = "This file tests the Feta music font, 11pt"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
\FontBody
\paper{
\paperEleven
- linewidth = 17.5 \cm;
+ linewidth = 17.5 \cm
}
}
+\version "1.3.146"
\header{
-title= "The Feta Font";
-subtitle = "proofsheet";
-enteredby = "jcn & hwn";
-copyright = "public domain";
-description = "This file tests the Feta music font, 11pt";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet"
+enteredby = "jcn & hwn"
+copyright = "public domain"
+description = "This file tests the Feta music font, 11pt"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
\include "paper13.ly"
\paper{
-linewidth = 17.5 \cm;
+linewidth = 17.5 \cm
}
\include "font-body.ly"
+\version "1.3.146"
\header{
-title= "The Feta Font";
-subtitle = "proofsheet";
-enteredby = "jcn & hwn";
-copyright = "public domain";
-description = "This file tests the Feta music font";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet"
+enteredby = "jcn & hwn"
+copyright = "public domain"
+description = "This file tests the Feta music font"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
% don't change this.
% otherwise 16pt and 20pt layouts differ.
- linewidth = 12.5 \cm;}
+ linewidth = 12.5 \cm}
\include "font-body.ly"
+\version "1.3.146"
\header{
-title= "The Feta font";
-subtitle = "proofsheet";
-enteredby = "jcn";
-copyright = "public domain";
-description = "This file tests the Feta music-font in the 20pt version";
+title= "The Feta font"
+subtitle = "proofsheet"
+enteredby = "jcn"
+copyright = "public domain"
+description = "This file tests the Feta music-font in the 20pt version"
TestedFeatures =
- "(Feta definitively is not an abbreviation of Font-En-TjA)";
+ "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
\paper{
- linewidth = 17.5 \cm;
+ linewidth = 17.5 \cm
}
\include "font-body.ly"
+\version "1.3.146"
\header{
-title= "The Feta Font";
-subtitle = "proofsheet";
-enteredby = "jcn & hwn";
-copyright = "public domain";
-description = "This file tests the Feta music font";
-% "(Feta definitively is not an abbreviation of Font-En-TjA)";
+title= "The Feta Font"
+subtitle = "proofsheet"
+enteredby = "jcn & hwn"
+copyright = "public domain"
+description = "This file tests the Feta music font"
+% "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
\include "paper26.ly"
\paper{
- linewidth = 17.5 \cm;
+ linewidth = 17.5 \cm
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
>
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
% the Gm7sus4/D chord prints as Gm/4/7/D
% it took me quite a while by experiment to work out how to enter it -- PC
+\version "1.3.146"
%{
\context Voice = VB { \stemDown g4 g g g | \times 2/3 { g2 g2 g2 } | g4. g8 g2 | c1 }
>
\paper{
- linewidth = 9.\cm;
+ linewidth = 9.\cm
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
voiceOne = \notes \relative c'' {
\score{
\grandstaff
\paper{
- linewidth=80.0\mm;
+ linewidth=80.0\mm
- \translator { \VoiceContext noAutoBeaming = ##t; }
+ \translator { \VoiceContext noAutoBeaming = ##t }
\translator { \HaraKiriStaffContext }
- \translator { \OrchestralScoreContext skipBars = 1; }
+ \translator { \OrchestralScoreContext skipBars = 1 }
}
}
+\version "1.3.146"
\header {
-texidoc = "Hara kiri staffs disappear when empty ";
+texidoc = "Hara kiri staffs disappear when empty "
}
>
zager = \context Staff = zager \notes \relative c'' {
- \clef treble;
+ \clef treble
\property Staff.instrument = #"Zager"
\property Staff.instr = #"Zag."
c4^"zag" d e f
}
zoger = \context Staff = zoger \notes \relative c'' {
- \clef treble;
+ \clef treble
\property Staff.instrument = #"Zoger"
\property Staff.instr = #"Zog."
c4^"zog" d e f
- \skip 1*2;
+ \skip 1*2
\translator Staff=zager
\stemDown
c2 g2
a4 b c d
- \skip 1*1;
+ \skip 1*1
}
zagers = \context GrandStaff <
>
>
\paper{
- linewidth = 80.0\mm;
+ linewidth = 80.0\mm
\translator { \HaraKiriStaffContext }
%uh?
\translator { \OrchestralScoreContext }
+\version "1.3.146"
\score{
\context Staff <
- \time 4/4;
+ \time 4/4
\context Voice=one \partcombine Voice
\context Thread=one \notes\relative c'' {
a4 c4.()g8 a4 |
}
>
\paper{
- linewidth=140.\mm;
+ linewidth=140.\mm
\translator {
\VoiceContext
soloADue = ##f
+\version "1.3.146"
improOn = \notes {\translator Voice = impro }
improOff = \notes {\translator SquashVoice = melo }
-global = \notes { s1*3 \bar "|."; }
+global = \notes { s1*3 \bar "|." }
\score {
<
\paper {
\translator {
\VoiceContext
- \name SquashVoice;
- \alias Voice;
- \consists Pitch_squash_engraver;
- \consists Local_key_engraver;
- squashedPosition = 6;
+ \name SquashVoice
+ \alias Voice
+ \consists Pitch_squash_engraver
+ \consists Local_key_engraver
+ squashedPosition = 6
NoteHead \override #'style = #'slash
Accidentals \override #'transparent = ##t
}
\translator {
\VoiceContext
- \alias SquashVoice;
- \consists Local_key_engraver;
+ \alias SquashVoice
+ \consists Local_key_engraver
}
\translator {
\ScoreContext
- \accepts SquashVoice;
+ \accepts SquashVoice
}
\translator {
\StaffContext
- \remove Local_key_engraver;
- \accepts SquashVoice;
+ \remove Local_key_engraver
+ \accepts SquashVoice
}
- linewidth = -1;
+ linewidth = -1
}
}
+\version "1.3.146"
%{
Test of how to make an ``incipit'' to indicate scordatora
tuning of a violin part, using the clefStyle property.
violinincipit = \notes\relative c''{
- \clef "french";
- \time 2/2;
+ \clef "french"
+ \time 2/2
\property Staff.TimeSignature \override #'style = #'old
a4. b8 c4 fis |
% <b1 fis' b d>
}
bcincipit = \notes\relative c{
- \clef bass;
+ \clef bass
\property Staff.TimeSignature \override #'style = #'old
b2. cis4 |
\property Staff.TimeSignature \override #'style = #'C
violin = \notes\relative c''{
% Key signatures with different alterations in different octaves
% are broken since 1.3.58!
-% \specialkey \keysignature f' fis'' g' gis'';
- \key d \major;
- \time 2/2;
- \clef treble;
+% \specialkey \keysignature f' fis'' g' gis''
+ \key d \major
+ \time 2/2
+ \clef treble
a4. b8 c4 fis |
gis~ gis8 fis16^\trill ()e b8 c \context Staff<{\voiceOne a d}{\voiceTwo es,4}>|
}
BC = \notes\relative c{
- \key d \major;
- \time 2/2;
- \clef "bass";
+ \key d \major
+ \time 2/2
+ \clef "bass"
- \key;
+ \key \default
b2. cis4 |
d e fis g |
}
<
\context Staff = violin {\notes{
\property Staff.Clef \override #'transparent = ##t
- \violinincipit \bar ".|";
+ \violinincipit \bar ".|"
\property Staff.Clef \revert #'transparent
\endincipit
\violin
}}
\context Staff = BC{\notes{
\property Staff.Clef \override #'transparent = ##t
- \bcincipit \bar ".|";
+ \bcincipit \bar ".|"
\property Staff.Clef \revert #'transparent
\endincipit
\BC
+\version "1.3.146"
\score {
\paper {
-linewidth=-1.0;
+linewidth=-1.0
\translator { \StaffContext
- \consists "Instrument_name_engraver";
+ \consists "Instrument_name_engraver"
}
-\translator { \GrandStaffContext \consists "Instrument_name_engraver"; }
+\translator { \GrandStaffContext \consists "Instrument_name_engraver" }
}}
+\version "1.3.146"
%{
>
\paper {
\translator { \StaffContext
- \consists Instrument_name_engraver;
+ \consists Instrument_name_engraver
}
}
+\version "1.3.146"
\score {
\property Staff.instrument = "instr " { c''4 }}
\paper {
-linewidth=-1.0;
-\translator { \StaffContext \consists "Instrument_name_engraver"; }
+linewidth=-1.0
+\translator { \StaffContext \consists "Instrument_name_engraver" }
}}
+\version "1.3.146"
\include "paper16.ly"
\score { \notes
\relative cis' {
-% \clef french; % same as octaviated bass
-\clef violin;
-\key cis \major; cis1 \key ces \major; ces
-\clef soprano;
-\key cis \major; cis \key ces \major; ces
-\clef mezzosoprano;
-\key cis \major; cis \key ces \major; ces
-\clef alto;
-\key cis \major; cis \key ces \major; ces
-\clef tenor;
-\key cis \major; cis \key ces \major; ces
-\clef baritone;
-\key cis \major; cis \key ces \major; ces
-\clef bass;
-\key cis \major; cis \key ces \major; ces
+% \clef french % same as octaviated bass
+\clef violin
+\key cis \major cis1 \key ces \major ces
+\clef soprano
+\key cis \major cis \key ces \major ces
+\clef mezzosoprano
+\key cis \major cis \key ces \major ces
+\clef alto
+\key cis \major cis \key ces \major ces
+\clef tenor
+\key cis \major cis \key ces \major ces
+\clef baritone
+\key cis \major cis \key ces \major ces
+\clef bass
+\key cis \major cis \key ces \major ces
}
\paper{\paperSixteen}
+\version "1.3.146"
\score{
\context PianoStaff <
\context Staff=one \notes\relative c'{
s1
}
\context Staff=two \notes\relative c'{
- \clef bass;
+ \clef bass
% no knee
\stemUp [c8 \translator Staff=one \stemDown g'16 f]
s8
}
>
\paper{
- linewidth=-1.;
+ linewidth=-1.
}
}
+\version "1.3.146"
\score{
\notes\relative c'{
+\version "1.3.146"
\header {
texidoc="
Draw abritrary lines. This brings LilyPond on par with Mup.
-";
+"
}
\score {
a'1
}
\paper {
- linewidth = 70.0*\staffspace;
+ linewidth = 70.0*\staffspace
}
}
+\version "1.3.146"
%{
%}
\header {
-copyright = "copyright";
-title = "title";
-subtitle = "subtitle";
-composer = "composer";
-arranger = "arranger";
-instrument = "instrument";
-metre = "metre";
-opus = "opus";
-piece = "piece";
-poet = "poet";
+copyright = "copyright"
+title = "title"
+subtitle = "subtitle"
+composer = "composer"
+arranger = "arranger"
+instrument = "instrument"
+metre = "metre"
+opus = "opus"
+piece = "piece"
+poet = "poet"
}
\header {
- title = "localtitle";
- subtitle = "localsubtitle";
- composer = "localcomposer";
- arranger = "localarranger";
- instrument = "localinstrument";
- metre = "localmetre";
- opus = "localopus";
- piece = "localpiece";
- poet = "localpoet";
- copyright = "localcopyright";
+ title = "localtitle"
+ subtitle = "localsubtitle"
+ composer = "localcomposer"
+ arranger = "localarranger"
+ instrument = "localinstrument"
+ metre = "localmetre"
+ opus = "localopus"
+ piece = "localpiece"
+ poet = "localpoet"
+ copyright = "localcopyright"
}
}
+\version "1.3.146"
\score{
<
\context Staff \notes { c () c () c c }
+\version "1.3.146"
\score{
<
\context Staff \notes { c' () c' () c' c' }
+\version "1.3.146"
\header{
-filename = "twinkle-pop.ly";
-xtitle = "Ah, vous dirais-je, maman ";
-description = "twinkle twinkle in pop-song-settings";
-composer = "traditional";
-enteredby = "HWN, chords by Johan Vromans";
-copyright = "public domain";
+filename = "twinkle-pop.ly"
+xtitle = "Ah, vous dirais-je, maman "
+description = "twinkle twinkle in pop-song-settings"
+composer = "traditional"
+enteredby = "HWN, chords by Johan Vromans"
+copyright = "public domain"
}
b c d e }
textI = \lyrics { la4 __ la -- la I, la dargh la dargh. }
-textII = \lyrics { dar -- dargh __ dargh dargh; dargh la dargh loo. }
-textIII = \lyrics { la -- da __ doo dah; dargh la dargh loo. }
+textII = \lyrics { dar -- dargh __ dargh dargh dargh la dargh loo. }
+textIII = \lyrics { la -- da __ doo dah dargh la dargh loo. }
\score {
+\version "1.3.146"
somewhatLong = \lyrics{
+\version "1.3.146"
%{
\property Staff.clefOctavation = #0
\property Staff.clefPosition = #0
c'4
- \clef "bla";
+ \clef "bla"
c'4
}}
+\version "1.3.146"
\score { \notes {
+\version "1.3.146"
global = \notes {
- s1 | \mark "A";
- s1 | \mark ;
- s1 | \mark ;
- s1 | \mark "12";
- s1 | \mark ;
- s1 | \mark "A2";
- s1 | \mark #'(music "scripts-segno") ;
+ s1 | \mark "A"
+ s1 | \mark \default
+ s1 | \mark \default
+ s1 | \mark "12"
+ s1 | \mark \default
+ s1 | \mark "A2"
+ s1 | \mark #'(music "scripts-segno")
s1
}
+\version "1.3.146"
e-#'(((baselineskip . 0) (kern . 1.5) lines) "Violoncello" " e" "Contrabasso")
}
\paper{
- linewidth = -1.\mm;
+ linewidth = -1.\mm
\translator{
\ScoreContext
TextScript \override #'font-family = #'roman
+\version "1.3.146"
\score{
\context Staff \notes\relative c''<
\paper{
}
\midi{
-\tempo 1 = 60;
+\tempo 1 = 60
}
}
+\version "1.3.146"
%{
do a memory stress test.
%}
\score { \context Score <
\bla \bla \bla \bla \bla \bla \bla
>
- \paper { Gourlay_maxmeaures = 2.; }
+ \paper { Gourlay_maxmeaures = 2. }
}
+\version "1.3.146"
a1^#`((rows (font-relative-size . -1)) ,dotted-eight-note " = 64")
}
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator{
\ScoreContext
TextScript \override #'font-shape = #'upright
+\version "1.3.146"
\score {
\context Staff \notes <
\paper {
\translator {
\StaffContext
- \remove Multi_measure_rest_engraver;
- \remove Bar_engraver;
+ \remove Multi_measure_rest_engraver
+ \remove Bar_engraver
}
\translator {
\VoiceContext
- \consists Multi_measure_rest_engraver;
- \consists Bar_engraver;
+ \consists Multi_measure_rest_engraver
+ \consists Bar_engraver
}
}
}
+\version "1.3.146"
%% Chord gurus, is this ok now??
\context Staff \monstrous
>
\paper{
- linelength=-1.0\mm;
+ linelength=-1.0\mm
}
}
+\version "1.3.146"
\score{
\context Staff \notes\relative c''{
\outputproperty #(make-type-checker 'Mark)
#'extra-offset = #'(-1 . 4)
}
- \mark A;
+ \mark A
d
- \mark ;
+ \mark \default
e
}
\paper{
- linewidth=-1.0;
+ linewidth=-1.0
\translator {
\ScoreContext
- \consists "Mark_engraver";
+ \consists "Mark_engraver"
}
}
}
+\version "1.3.146"
fragment = \notes {
c''2 c
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
#(define (make-text-checker text)
(lambda (grob) (equal? text (ly-get-grob-property grob 'text))))
#'extra-offset = #'(-3.5 . -4.5)
a^2^"m.d."
}
- \paper { linewidth = -1.; }
+ \paper { linewidth = -1. }
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\header {
texidoc = "You can create music expressions from Scheme. The
- mechanism for this is rather clumsy to use, so avoid if possible.";
+ mechanism for this is rather clumsy to use, so avoid if possible."
}
\header{
texidoc="
In InnerStaffGroup and InnerChoirStaff, the brackets should be shiftet leftwards.
-";
-filename = "nested-groups.ly";
-description = "Test of nested staff groups and choirstaffs";
-enteredby = "RZ";
-copyright = "public domain";
-Tested = "Nested StaffGroups";
+"
+filename = "nested-groups.ly"
+description = "Test of nested staff groups and choirstaffs"
+enteredby = "RZ"
+copyright = "public domain"
+Tested = "Nested StaffGroups"
}
-\version "1.3.140" % rz1
+\version "1.3.146" % rz1
\score { \notes
<
>
- \paper { linewidth = -1; }
+ \paper { linewidth = -1 }
}
+\version "1.3.146"
\score {
\notes \relative c'' {
d c b a
}
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator {
\StaffContext
whichBar = #""
- \remove "Time_signature_engraver";
+ \remove "Time_signature_engraver"
}
}
}
+\version "1.3.146"
\score {
\notes { c4 c4 c8 c8 }
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator {
\StaffContext
- \remove Staff_symbol_engraver;
- \consists Pitch_squash_engraver;
- \remove Clef_engraver;
+ \remove Staff_symbol_engraver
+ \consists Pitch_squash_engraver
+ \remove Clef_engraver
}
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
scheme = \notes {
<c'1 e' g'>
\context ChordNamesVoice \scheme
\context Staff \scheme
>
- \paper { linewidth = -1.; }
+ \paper { linewidth = -1. }
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\score{
\notes \transpose c''{
% 1.1.53: @x@ syntax dropped
-% if you want fingering, write chord explicitily; eg < c1-1 e-2 g-3 >
+% if you want fingering, write chord explicitily eg < c1-1 e-2 g-3 >
% @c1@ @c-7@ @c-7^5@-1-3
\chords { c1 c:7 c:7^5 }
}
+\version "1.3.146"
\score
+\version "1.3.146"
\header{
- latexpackages="graphicx";
+ latexpackages="graphicx"
}
>
>
\paper {
-% \paperSixteen;
- linewidth = 185.\mm;
- textheight = 260.\mm;
+% \paperSixteen
+ linewidth = 185.\mm
+ textheight = 260.\mm
\translator {
\OrchestralScoreContext
skipBars = ##t
+\version "1.3.146"
\score {
-\notes { c1 c1 < {\clef "treble"; c1 c1 } \context Staff=stb{ c1 c1}>}
+\notes { c1 c1 < {\clef "treble" c1 c1 } \context Staff=stb{ c1 c1}>}
}
+\version "1.3.146"
fragment = \notes {
a\spanrequest \start "text" b c a \spanrequest \stop "text"
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\score{
\context PianoStaff <
- \context StaffCombineStaff=one \skip 1*2;
- \context StaffCombineStaff=two \skip 1*2;
+ \context StaffCombineStaff=one \skip 1*2
+ \context StaffCombineStaff=two \skip 1*2
\context StaffCombineStaff=one \partcombine StaffCombineStaff
\context StaffCombineVoice=one \notes\relative c''
{
>
\paper {
- textheight = 295.0\mm;
- linewidth = 180.0\mm;
+ textheight = 295.0\mm
+ linewidth = 180.0\mm
\translator{ \HaraKiriStaffContext }
%
%
\translator{
\ThreadContext
- \name "VoiceCombineThread";
- \consists "Rest_engraver";
+ \name "VoiceCombineThread"
+ \consists "Rest_engraver"
}
\translator{
\VoiceContext
- \name "VoiceCombineVoice";
+ \name "VoiceCombineVoice"
soloText = #"I."
soloIIText = #"II."
- \remove "Rest_engraver";
- \accepts "VoiceCombineThread";
+ \remove "Rest_engraver"
+ \accepts "VoiceCombineThread"
}
\translator{
\HaraKiriStaffContext
- \consists "Mark_engraver";
- \name "VoiceCombineStaff";
- \accepts "VoiceCombineVoice";
+ \consists "Mark_engraver"
+ \name "VoiceCombineStaff"
+ \accepts "VoiceCombineVoice"
}
%
%
\translator{
\ThreadContext
- \name "StaffCombineThread";
+ \name "StaffCombineThread"
}
\translator{
\VoiceContext
- \name "StaffCombineVoice";
- \accepts "StaffCombineThread";
- \consists "Thread_devnull_engraver";
+ \name "StaffCombineVoice"
+ \accepts "StaffCombineThread"
+ \consists "Thread_devnull_engraver"
}
\translator {
\HaraKiriStaffContext
- \name "StaffCombineStaff";
- \accepts "StaffCombineVoice";
+ \name "StaffCombineStaff"
+ \accepts "StaffCombineVoice"
soloADue = ##t
soloText = #""
}
\translator {
\StaffGroupContext
- \accepts "VoiceCombineStaff";
- \accepts "StaffCombineStaff";
+ \accepts "VoiceCombineStaff"
+ \accepts "StaffCombineStaff"
}
\translator{ \HaraKiriStaffContext }
\translator {
\ScoreContext
- \accepts "VoiceCombineStaff";
- \accepts "StaffCombineStaff";
+ \accepts "VoiceCombineStaff"
+ \accepts "StaffCombineStaff"
skipBars = ##t
barScriptPadding = #2.0 % dimension \pt
+\version "1.3.146"
\header {
-texidoc="Template for part-combining orchestral scores";
+texidoc="Template for part-combining orchestral scores"
}
-\include "paper16.ly";
-% \include "mutopia/Coriolan/coriolan-paper.ly";
+\include "paper16.ly"
+% \include "mutopia/Coriolan/coriolan-paper.ly"
#(define text-flat '((font-relative-size . -2 ) (music "accidentals--1")))
-End = { \skip 1*9; \bar "|."; }
+End = { \skip 1*9 \bar "|." }
flautoI = \notes\relative c'' {
c4\pp d e f
violinoIIStaff = \context Staff = twoViolini <
% MIDI hoort geeneens verschil tussen een
- % eerste en tweede viool ;-)
+ % eerste en tweede viool -)
\property Staff.midiInstrument = #"violin"
\property Staff.instrument = #"Violino II"
\property Staff.instr = #"Vl. II"
\property VoiceCombineStaff.midiInstrument = #"viola"
\property VoiceCombineStaff.instrument = #"Viola"
\property VoiceCombineStaff.instr = #"Vla."
- %\clef "alto";
+ %\clef "alto"
% Ugh, clef broken in 1.3.125
\property VoiceCombineStaff.clefGlyph = #"clefs-C"
\property VoiceCombineStaff.clefPosition = #0
- \key f \major;
+ \key f \major
\End
\context VoiceCombineVoice=oneViole \partcombine VoiceCombineVoice
\property StaffCombineStaff.instr = #"Vc."
- %\clef "bass";
+ %\clef "bass"
% Ugh, clef broken in 1.3.125
\property StaffCombineStaff.clefGlyph = #"clefs-F"
\property StaffCombineStaff.clefPosition = #2
- \key es \major;
+ \key es \major
\End
}
\context StaffCombineStaff=twoBassi {
\property StaffCombineStaff.instrument = #"Contrabasso"
\property StaffCombineStaff.instr = #"Cb."
- %\clef "bass";
+ %\clef "bass"
% Ugh, clef broken in 1.3.125
\property StaffCombineStaff.clefGlyph = #"clefs-F"
\property StaffCombineStaff.clefPosition = #2
- \key as \major;
+ \key as \major
\End
}
\archiGroup
>
\header {
- title = "Coriolan";
- subtitle = "Ouverture";
- opus = "Opus 62";
- composer = "Ludwig van Beethoven (1770-1827)";
- enteredby = "JCN";
- copyright = "public domain";
+ title = "Coriolan"
+ subtitle = "Ouverture"
+ opus = "Opus 62"
+ composer = "Ludwig van Beethoven (1770-1827)"
+ enteredby = "JCN"
+ copyright = "public domain"
}
\paper{
\paperSixteen
- %textheight = 290.0\mm;
- %linewidth = 195.0\mm;
- textheight = 285.0\mm;
- linewidth = 190.0\mm;
+ %textheight = 290.0\mm
+ %linewidth = 195.0\mm
+ textheight = 285.0\mm
+ linewidth = 190.0\mm
\translator{ \HaraKiriStaffContext }
%
%
\translator{
\ThreadContext
- \name "VoiceCombineThread";
- \consists "Rest_engraver";
+ \name "VoiceCombineThread"
+ \consists "Rest_engraver"
}
\translator{
\VoiceContext
- \name "VoiceCombineVoice";
+ \name "VoiceCombineVoice"
soloText = #"I."
soloIIText = #"II."
- \remove "Rest_engraver";
- \accepts "VoiceCombineThread";
+ \remove "Rest_engraver"
+ \accepts "VoiceCombineThread"
}
\translator{
\HaraKiriStaffContext
- \consists "Mark_engraver";
- \name "VoiceCombineStaff";
- \accepts "VoiceCombineVoice";
+ \consists "Mark_engraver"
+ \name "VoiceCombineStaff"
+ \accepts "VoiceCombineVoice"
}
%
%
\translator{
\ThreadContext
- \name "StaffCombineThread";
+ \name "StaffCombineThread"
}
\translator{
\VoiceContext
- \name "StaffCombineVoice";
- \accepts "StaffCombineThread";
- \consists "Thread_devnull_engraver";
+ \name "StaffCombineVoice"
+ \accepts "StaffCombineThread"
+ \consists "Thread_devnull_engraver"
}
\translator {
\HaraKiriStaffContext
- \name "StaffCombineStaff";
- \accepts "StaffCombineVoice";
+ \name "StaffCombineStaff"
+ \accepts "StaffCombineVoice"
soloADue = ##t
soloText = #""
}
\translator {
\StaffGroupContext
- \accepts "VoiceCombineStaff";
- \accepts "StaffCombineStaff";
+ \accepts "VoiceCombineStaff"
+ \accepts "StaffCombineStaff"
}
\translator{ \HaraKiriStaffContext }
\translator {
%\ScoreContext
\OrchestralScoreContext
- \accepts "VoiceCombineStaff";
- \accepts "StaffCombineStaff";
+ \accepts "VoiceCombineStaff"
+ \accepts "StaffCombineStaff"
TimeSignature \override #'style = #'C
skipBars = ##t
BarNumber \override #'padding = #3
+\version "1.3.146"
\score{
\context PianoStaff <
- \context StaffCombineStaff=one \skip 1*7;
- \context StaffCombineStaff=two \skip 1*7;
+ \context StaffCombineStaff=one \skip 1*7
+ \context StaffCombineStaff=two \skip 1*7
\context StaffCombineStaff=one \partcombine StaffCombineStaff
\context StaffCombineVoice=one \notes\relative c''
{
>
\paper {
- textheight = 295.0\mm;
- linewidth = 180.0\mm;
+ textheight = 295.0\mm
+ linewidth = 180.0\mm
\translator{ \HaraKiriStaffContext }
%
%
\translator{
\ThreadContext
- \name "VoiceCombineThread";
- \consists "Rest_engraver";
+ \name "VoiceCombineThread"
+ \consists "Rest_engraver"
}
\translator{
\VoiceContext
- \name "VoiceCombineVoice";
+ \name "VoiceCombineVoice"
soloText = #"I."
soloIIText = #"II."
- \remove "Rest_engraver";
- \accepts "VoiceCombineThread";
+ \remove "Rest_engraver"
+ \accepts "VoiceCombineThread"
}
\translator{
\HaraKiriStaffContext
- \consists "Mark_engraver";
- \name "VoiceCombineStaff";
- \accepts "VoiceCombineVoice";
+ \consists "Mark_engraver"
+ \name "VoiceCombineStaff"
+ \accepts "VoiceCombineVoice"
}
%
%
\translator{
\ThreadContext
- \name "StaffCombineThread";
+ \name "StaffCombineThread"
}
\translator{
\VoiceContext
- \name "StaffCombineVoice";
- \accepts "StaffCombineThread";
- \consists "Thread_devnull_engraver";
+ \name "StaffCombineVoice"
+ \accepts "StaffCombineThread"
+ \consists "Thread_devnull_engraver"
}
\translator {
\HaraKiriStaffContext
- \name "StaffCombineStaff";
- \accepts "StaffCombineVoice";
+ \name "StaffCombineStaff"
+ \accepts "StaffCombineVoice"
soloADue = ##t
soloText = #""
}
\translator {
\StaffGroupContext
- \accepts "VoiceCombineStaff";
- \accepts "StaffCombineStaff";
+ \accepts "VoiceCombineStaff"
+ \accepts "StaffCombineStaff"
}
\translator{ \HaraKiriStaffContext }
\translator {
\ScoreContext
- \accepts "VoiceCombineStaff";
- \accepts "StaffCombineStaff";
+ \accepts "VoiceCombineStaff"
+ \accepts "StaffCombineStaff"
skipBars = ##t
barScriptPadding = #2.0 % dimension \pt
+\version "1.3.146"
\header{
texidoc="
one staff. LilyPond has a part combiner, that combines or separates two
voices according to actual rhythm and pitch. User-defined texts such as
``solo'' and ``@`a2'' are typeset automagically, as appropriate.
-";
+"
}
\score{
\context Staff = flauti <
- \time 4/4;
+ \time 4/4
\context Voice=one \partcombine Voice
\context Thread=one \notes\relative c'' {
c4 d e f | b,4 d c d | r2 e4 f | c4 d e f |
}
>
\paper{
- linewidth = 80 * \staffspace;
+ linewidth = 80 * \staffspace
\translator{
\ThreadContext
- \consists Rest_engraver;
+ \consists Rest_engraver
}
\translator{
\VoiceContext
- \remove Rest_engraver;
+ \remove Rest_engraver
}
}
}
+\version "1.3.146"
%{ When entering half music (I.e. for students to complete by hand)
you need the spacing to correspond to the timing - all measures same length, etc.
\score {
\context PianoStaff \notes <
\context Staff = v <
- \clef G;
+ \clef G
\context Voice=melo {\mel}
\context Voice=invisible {
\property Voice.NoteHead \override #'transparent = ##t
\repeat unfold 4 \quickmeasure
}
>
- \context Staff = empty \notes {\clef F; s1*4}
+ \context Staff = empty \notes {\clef F s1*4}
>
\paper {}
}
+\version "1.3.146"
\header{
-texidoc = "Piano pedal symbols merge stop and start. The strings are configurable. ";
+texidoc = "Piano pedal symbols merge stop and start. The strings are configurable. "
}
\paper{
}
\midi{
-\tempo 4 = 60;
+\tempo 4 = 60
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\score{
<
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\header {
texidoc="
Simple customised music apply.
-";
+"
}
music = \notes { c'4 d'4( e'4 f'4 }
\music
\apply #reverse-music \music
}
- \paper { linewidth = -1.; }
+ \paper { linewidth = -1. }
}
+\version "1.3.146"
\score{
\context RhythmicStaff {
\notes\relative c''{
- \clef "percussion";
- \time 4/4;
+ \clef "percussion"
+ \time 4/4
r4 r g2 | r4 g r2 | g1:32 | r1 |
}
}
\paper{
\translator{
\RhythmicStaffContext
- \consists "Clef_engraver";
+ \consists "Clef_engraver"
}
}
}
+\version "1.3.146"
\header {
- crossRefNumber = "1";
- tagline = "Lily was here 1.3.98 -- automatically converted from ABC";
- title = "Scales";
+ crossRefNumber = "1"
+ tagline = "Lily was here 1.3.98 -- automatically converted from ABC"
+ title = "Scales"
}
voicedefault = \notes {
\property Score.defaultBarType="empty"
-\key c \major; c'8 -"major" d'8 e'8 f'8 g'8 a'8 b'8
-c''8 \key c \ionian; c'8 -"ionian" d'8 e'8 f'8 g'8 a'8
-b'8 c''8 \key d \dorian; c'8 -"dorian" d'8 e'8 f'8 g'8
-a'8 b'8 c''8 \key e \phrygian; c'8 -"phrygian" d'8 e'8 f'8
- g'8 a'8 b'8 c''8 \key f \lydian; c'8 -"lydian" d'8 e'8
- f'8 g'8 a'8 b'8 c''8 \key g \mixolydian; c'8 -"mixolydian"
- d'8 e'8 f'8 g'8 a'8 b'8 c''8 \key a \minor; c'8
--"minor" d'8 e'8 f'8 g'8 a'8 b'8 c''8 \key a \aeolian;
+\key c \major c'8 -"major" d'8 e'8 f'8 g'8 a'8 b'8
+c''8 \key c \ionian c'8 -"ionian" d'8 e'8 f'8 g'8 a'8
+b'8 c''8 \key d \dorian c'8 -"dorian" d'8 e'8 f'8 g'8
+a'8 b'8 c''8 \key e \phrygian c'8 -"phrygian" d'8 e'8 f'8
+ g'8 a'8 b'8 c''8 \key f \lydian c'8 -"lydian" d'8 e'8
+ f'8 g'8 a'8 b'8 c''8 \key g \mixolydian c'8 -"mixolydian"
+ d'8 e'8 f'8 g'8 a'8 b'8 c''8 \key a \minor c'8
+-"minor" d'8 e'8 f'8 g'8 a'8 b'8 c''8 \key a \aeolian
c'8 -"aeolian" d'8 e'8 f'8 g'8 a'8 b'8 c''8
-\key b \locrian; c'8 -"locrian" d'8 e'8 f'8 g'8 a'8 b'8
-c''8 \key f \major; c'8 -"major" d'8 e'8 f'8 g'8 a'8
-bes'8 c''8 \key f \ionian; c'8 -"ionian" d'8 e'8 f'8 g'8
- a'8 bes'8 c''8 \key g \dorian; c'8 -"dorian" d'8 e'8 f'8
- g'8 a'8 bes'8 c''8 \key a \phrygian; c'8 -"phrygian" d'8
-e'8 f'8 g'8 a'8 bes'8 c''8 \key bes \lydian; c'8
+\key b \locrian c'8 -"locrian" d'8 e'8 f'8 g'8 a'8 b'8
+c''8 \key f \major c'8 -"major" d'8 e'8 f'8 g'8 a'8
+bes'8 c''8 \key f \ionian c'8 -"ionian" d'8 e'8 f'8 g'8
+ a'8 bes'8 c''8 \key g \dorian c'8 -"dorian" d'8 e'8 f'8
+ g'8 a'8 bes'8 c''8 \key a \phrygian c'8 -"phrygian" d'8
+e'8 f'8 g'8 a'8 bes'8 c''8 \key bes \lydian c'8
-"lydian" d'8 e'8 f'8 g'8 a'8 bes'8 c''8
-\key c \mixolydian; c'8 -"mixolydian" d'8 e'8 f'8 g'8 a'8
-bes'8 c''8 \key d \aeolian; c'8 -"aeolian" d'8 e'8 f'8 g'8
- a'8 bes'8 c''8 \key d \minor; c'8 -"minor" d'8 e'8 f'8
- g'8 a'8 bes'8 c''8 \key e \locrian; c'8 -"locrian" d'8
+\key c \mixolydian c'8 -"mixolydian" d'8 e'8 f'8 g'8 a'8
+bes'8 c''8 \key d \aeolian c'8 -"aeolian" d'8 e'8 f'8 g'8
+ a'8 bes'8 c''8 \key d \minor c'8 -"minor" d'8 e'8 f'8
+ g'8 a'8 bes'8 c''8 \key e \locrian c'8 -"locrian" d'8
e'8 f'8 g'8 a'8 bes'8 c''8
}\score{
\notes <
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
% sharp-major
% c g d a e b fis cis
- \key c \major;
+ \key c \major
c' d e f g a b c
- \key g\major;
+ \key g\major
g a b c d e fis g
- \key d\major;
+ \key d\major
d, e fis g a b cis d
- \key a\major;
+ \key a\major
a b cis d e fis gis a
- \key e\major;
+ \key e\major
e, fis gis a b cis dis e
- \key b\major;
+ \key b\major
b cis dis e fis gis ais b
- \key fis\major;
+ \key fis\major
fis, gis ais b cis dis eis fis
- \key cis\major;
+ \key cis\major
cis, dis eis fis gis ais bis cis
% sharp-minor
% a e b fis cis gis dis ais
- \key a\minor;
+ \key a\minor
a b c d e f gis a
- \key e\minor;
+ \key e\minor
e, fis g a b c dis e
- \key b\minor;
+ \key b\minor
b cis d e fis g ais b
- \key fis\minor;
+ \key fis\minor
fis, gis a b cis d eis fis
- \key cis\minor;
+ \key cis\minor
cis, dis e fis gis a bis cis
- \key gis\minor;
+ \key gis\minor
gis ais b cis dis e fisis gis
- \key dis\minor;
+ \key dis\minor
dis, eis fis gis ais b cisis dis
- \key ais\minor;
+ \key ais\minor
ais bis cis dis eis fis gisis ais
% flat-major
% c f bes es as des ges ces
- \key f\major;
+ \key f\major
f, g a bes c d e f
- \key bes\major;
+ \key bes\major
bes, c d es f g a bes
- \key es\major;
+ \key es\major
es,, f g as bes c d es
- \key as\major;
+ \key as\major
as, bes c des es f g as
- \key des\major;
+ \key des\major
des,, es f ges as bes c des
- \key ges\major;
+ \key ges\major
ges, as bes ces des es f ges
- \key ces\major;
+ \key ces\major
ces,, des es fes ges as bes ces
% flat-minor
% a d g c f bes es as
- \key d\minor;
+ \key d\minor
d, e f g a bes cis d
- \key g\minor;
+ \key g\minor
g, a bes c d es fis g
- \key c\minor;
+ \key c\minor
c,, d es f g as b c
- \key f\minor;
+ \key f\minor
f, g as bes c des e f
- \key bes\minor;
+ \key bes\minor
bes, c des es f ges a bes
- \key es\minor;
+ \key es\minor
es,, f ges as bes ces d es
- \key as\minor;
+ \key as\minor
as, bes ces des es fes g as}
\paper { }
+\version "1.3.146"
%{
Please don't use this Scheme hacking unless you have a good reason.
\paper { \translator {
\VoiceContext
- \remove Script_engraver;
- \remove Text_engraver;
+ \remove Script_engraver
+ \remove Text_engraver
}
\translator {
\ThreadContext
- \consists Script_engraver;
- \consists Text_engraver;
+ \consists Script_engraver
+ \consists Text_engraver
}
}
}
+\version "1.3.146"
\stemUp
b,---. c---. d---. e---. f---. g---. a---. b---. c'---.
\stemBoth
- \time 4/4;
+ \time 4/4
[c8 \< d e \! f][d' \> e' f' \! g']
[c-> \< d-> e-> \! f->][d'-> \> e'-> f'-> \! g'->]
[c-^ \< d-^ e-^ \! f-^][d'-^ \> e'-^ f'-^ \! g'-^]
+\version "1.3.146"
\score{
\context Staff <
+\version "1.3.146"
\score{
\notes \relative c''{
\slurDown a()c d()g,\break
}
\paper{
- indent = 0.0;
- linewidth = 60.0\mm;
+ indent = 0.0
+ linewidth = 60.0\mm
}
}
+\version "1.3.146"
\header{
-enteredby = "jcn";
-copyright = "public domain";
+enteredby = "jcn"
+copyright = "public domain"
TestedFeatures = "This file tests Feta embedded slurs" +
- "(Feta definitively is not an abbreviation of Font-En-TjA)";
+ "(Feta definitively is not an abbreviation of Font-En-TjA)"
}
\score{
\context Staff \notes{
-% \property Voice.pletvisibility = 0;
+% \property Voice.pletvisibility = 0
% use blend for fast check
\blend
% {
%\broken
}
\paper{
- indent = 0.0\pt;
+ indent = 0.0\pt
%for broken!
- % linewidth= 30.\mm;
+ % linewidth= 30.\mm
}
}
+\version "1.3.146"
\score{
\notes\relative c''{
}
\paper{
-indent=0.0\mm;
+indent=0.0\mm
}
}
+\version "1.3.146"
\header{
texidoc="
In some cases, you may want to set slur attachments by hand.
-";
+"
}
d,32( d'4 )d8..
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
fragment = \notes {
g4(g8)g
}
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
\score {
\notes\relative c \fragment
+\version "1.3.146"
\header{
texidoc="
The same goes for slurs. They behave decently when broken across
linebreak.
-";
+"
}
%}
}
\context Staff=two \notes\relative c'{
- \clef bass;
+ \clef bass
s1 s1 %s1 s1 s1 s1 s1 s1 s1 s1
}
>
- \paper { indent = 0.; linewidth = 40.*\staffspace; }
+ \paper { indent = 0. linewidth = 40.*\staffspace }
}
+\version "1.3.146"
\score{
\notes\relative c''{
- \time 2/4;
+ \time 2/4
e2(
\break
)e4 f,(\break
)e'2
}
\paper{
- linewidth = 60.\mm;
+ linewidth = 60.\mm
}
}
+\version "1.3.146"
% test damping
+\version "1.3.146"
\score{
c( d e )c |
}
\paper{
- indent = 0.0\pt;
+ indent = 0.0\pt
%for broken!
- % linewidth= 30.\mm;
+ % linewidth= 30.\mm
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\header {
-texidoc = "" ;
+texidoc = ""
}
\score{
\notes\relative c''{
- \time 2/4;
+ \time 2/4
\property Voice.Slur \set #'minimum-length = #40
c()c
c~c\break
+\version "1.3.146"
\score{
\notes\relative c''{
}
\paper{
- linewidth=-1.\mm;
+ linewidth=-1.\mm
}
}
+\version "1.3.146"
x = {
\context Voice=wa { \x d(s4*26)d }
>
\paper {
- indent=0.0\mm;
- linewidth=-1.0\mm;
+ indent=0.0\mm
+ linewidth=-1.0\mm
\translator{
\VoiceContext
Slur \override #'direction = #1
+\version "1.3.146"
\header{
% should look the same
-title="symmetry";
+title="symmetry"
}
\score{
\notes\relative c'{
}
\paper{
- linewidth = 50.0\mm;
+ linewidth = 50.0\mm
}
}
+\version "1.3.146"
\header{
% should look the same
-title="symmetry";
+title="symmetry"
}
\score{
\notes\relative c'{
}
\paper{
- linewidth = 50.0\mm;
+ linewidth = 50.0\mm
}
}
+\version "1.3.146"
\header {
texidoc="You can get ugly slurs, if you want.
-";
+"
}
baseWalk = \notes \relative c {
\score {
\notes \context PianoStaff <
- \time 6/4;
+ \time 6/4
\context Staff=up { s1 * 6/4 }
\context Staff=down <
- \clef bass;
+ \clef bass
\autochange Staff \context Voice \baseWalk
>
>
\paper {
- linewidth = -1.;
+ linewidth = -1.
\translator {
\VoiceContext
Slur \override #'beautiful = #5.0
-
-
-
-\score{
- \notes\transpose c'{
-
- c,4 ~ c, c'' ~ c'' ~ g ~ c ~
- d ~ e ~ f ~ g ~
- a ~ b ~ c, ~ c
-
- < c e ( > <)d f>
- \transpose c''
- < c e ( > <)d f>
- \transpose c'
- < c e ( > <)d' f'>
- < { c ~ d }
- { e ~ f }
- >
-% \context Staff <
-% { \stemUp c'8 ~g ~e( ~c~ [c'~ g' e' )c'] c'' ~ c'' c~c }
-% { \stemDown c (e g )c'~( [b a g )d] r2 }
-% >
-
- {
-
- c4()c( c c |
- c c c c |
- c c c c |
- c c c )c |
- }
- }
-}
+\version "1.3.146"
+\version "1.3.146"
\header {
texidoc="
You mean like this. (Sorry 'bout the nuked indentation.)
@end example
-";
+"
}
#(define (unhair-pitch p)
\apply #(lambda (x) (smart-transpose x (make-pitch 0 5 1)))
\music
}
- \paper { linewidth = -1.; }
+ \paper { linewidth = -1. }
}
+\version "1.3.146"
\score{
\context Staff = one <
- \context Voice=one { \skip 1; }
- \context Voice=two { \skip 1; }
+ \context Voice=one { \skip 1 }
+ \context Voice=two { \skip 1 }
\context Voice=one \partcombine Voice
\context Thread=one \notes\relative c''
}
>
\paper{
- linewidth = 100.\mm;
+ linewidth = 100.\mm
}
}
+\version "1.3.146"
\header {
-opus = "BWV 937 (prelude)";
-composer = "J. S. Bach";
-source = "Petits Preludes et Fugues. Urtext. Editions Henry Lemoine, Paris.";
+opus = "BWV 937 (prelude)"
+composer = "J. S. Bach"
+source = "Petits Preludes et Fugues. Urtext. Editions Henry Lemoine, Paris."
}
%{
e4 dis4 e2 }
\context Voice = VB { \stemDown\slurDown\tieDown
[cis8 a] [fis b] gis2 }
- {\key e \major; }
+ {\key e \major }
>
- \context Staff = SB { \clef "bass"; \key e \major;
+ \context Staff = SB { \clef "bass" \key e \major
[a,,16 e dis e] [b'8 b,] [e16 e, gis b] e4
}
>
\paper
{
-% linewidth = 5.0 \cm; % ly2dvi barfs on -1
- linewidth = 8.0 \cm;
-% linewidth = 12.0 \cm;
+% linewidth = 5.0 \cm % ly2dvi barfs on -1
+ linewidth = 8.0 \cm
+% linewidth = 12.0 \cm
}
}
+\version "1.3.146"
\header{
-title= "Spacing";
-subtitle = "proofsheet";
-enteredby = "jcn";
-copyright = "public domain";
-TestedFeatures = "This file tests various spacings";
+title= "Spacing"
+subtitle = "proofsheet"
+enteredby = "jcn"
+copyright = "public domain"
+TestedFeatures = "This file tests various spacings"
}
\multipart
}
\paper {
-% linewidth= 18.\cm;
+% linewidth= 18.\cm
}
}
+\version "1.3.146"
nt = \notes { c1 \break c1 c1 }
+\version "1.3.146"
\score {
\notes {
c2_"geen gedonder"_"jij gaat onder"
c2^^^.^|^"down"^"up"
}
- \paper { linewidth = -1. ; }
+ \paper { linewidth = -1. }
}
+\version "1.3.146"
\score
{
>
\paper {
- indent=100.0\mm;
- linewidth=150.0\mm;
+ indent=100.0\mm
+ linewidth=150.0\mm
\translator
{
\StaffContext
- \consists Instrument_name_engraver;
+ \consists Instrument_name_engraver
numberOfStaffLines = #1
}
+\version "1.3.146"
\header {
texidoc = "By splitting the grouping (Axis_group_engraver) and
creation functionality into separate contexts, you can override
-interesting things. You can also drop the \consistsend feature.";
+interesting things. You can also drop the \consistsend feature."
}
\paper {
\translator {
\ScoreContext
- \accepts StaffContainer;
- \denies Staff;
+ \accepts StaffContainer
+ \denies Staff
}
\translator {
- \type Engraver_group_engraver;
- \consists "Axis_group_engraver";
- \accepts "Staff";
- \name StaffContainer;
+ \type Engraver_group_engraver
+ \consists "Axis_group_engraver"
+ \accepts "Staff"
+ \name StaffContainer
}
\translator {
\StaffContext
- \remove Axis_group_engraver;
+ \remove Axis_group_engraver
}
}
}
+\version "1.3.146"
\score {
\notes \relative c'' \context GrandStaff <
+\version "1.3.146"
% test staff margin with partial measure.
\score {
-\notes { \property Staff.instrument = "foo" \partial 4; c4 c1 }
+\notes { \property Staff.instrument = "foo" \partial 4 c4 c1 }
\paper {
- \translator { \StaffContext \consists Instrument_name_engraver; }
+ \translator { \StaffContext \consists Instrument_name_engraver }
}
}
+\version "1.3.146"
\score{
\context Staff \notes\relative c''{
\property Staff.instrument = "Toeters"
c c c c\break
}
\paper{
- linewidth=60.0\mm;
+ linewidth=60.0\mm
% \translator { \HaraKiriStaffContext }
\translator { \OrchestralScoreContext }
\translator {
\StaffContext
- \consists "Instrument_name_engraver";
- marginHangOnClef = 1;
+ \consists "Instrument_name_engraver"
+ marginHangOnClef = 1
}
}
}
+\version "1.3.146"
\score {
\notes \relative c' < \context Voice {
\property Staff.staffSpace = #10
\property Voice.fontSize = #-1
\property Voice . dynamicDirection = \up \stemDown
-%\key gis \major;
+%\key gis \major
c8 d [e f g a] b c \ff
}
\context Staff = VB { \property Voice . dynamicDirection = \down c,,4 \ff c c c }
>
-\paper { linewidth = -1.; }
+\paper { linewidth = -1. }
}
+\version "1.3.146"
\score {
+\version "1.3.146"
\header { texidoc = "
Conventionally, stems and beams extend to the middle staff line. This
extension can be controlled through @code{Voice.Stem}'s grob-property
@code{no-stem-extend}:
-";}
+"}
-\paper { linewidth = -1.;}
+\paper { linewidth = -1.}
\score {\notes \relative c {
\grace a'8 a4
\property Voice.Stem \set #'no-stem-extend = ##t
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
\header{
-title= "Stems and Beams";
-subtitle = "proofsheet";
-enteredby = "jcn";
-copyright = "public domain";
+title= "Stems and Beams"
+subtitle = "proofsheet"
+enteredby = "jcn"
+copyright = "public domain"
TestedFeatures = "This file tests the length of stems and placement
-of beams";
+of beams"
}
beamintervals = \notes{
- \time 7/4;
+ \time 7/4
\stemUp
\transpose c'{
[ c8 d ] [ c e ] [ c f ] [ c g ] [ c a ] [ c b ] [ c c' ] |
\score{
\notes\transpose c'{
\stemUp
- \time 17/4;
+ \time 17/4
g,4 a, b, c d e f g a b c' d' e' f' g' a' b' |
\stemDown
b' a' g' f' e' d' c' b a g f e d c b, a, g, |
+\version "1.3.146"
\score {
+\version "1.3.146"
\score {
+\version "1.3.146"
\paper {
\translator {
\StaffContext
- \name TabStaff;
+ \name TabStaff
StaffSymbol \override #'line-count = #6
- \remove "Clef_engraver";
- \remove "Time_signature_engraver";
- \consists "Pitch_squash_engraver";
+ \remove "Clef_engraver"
+ \remove "Time_signature_engraver"
+ \consists "Pitch_squash_engraver"
NoteHead \override #'transparent = ##t
Stem \override #'transparent = ##t
NoteHead \override #'staff-position = #-6
}
\translator {
\ScoreContext
-\accepts TabStaff;
+\accepts TabStaff
}
}
}
+\version "1.3.146"
\header{
-filename = "tchaikovsky.ly";
-title = "Extracts from 6th symphony";
-subtitle = "Ist movement";
-composer= "Pjotr Iljitsj Tchaikovsky";
-enteredby = "Maarten Storm";
-instrument= "Violoncello";
+filename = "tchaikovsky.ly"
+title = "Extracts from 6th symphony"
+subtitle = "Ist movement"
+composer= "Pjotr Iljitsj Tchaikovsky"
+enteredby = "Maarten Storm"
+instrument= "Violoncello"
}
\score{
\notes
\relative c{
- \clef "bass";
- \key d \major;
+ \clef "bass"
+ \key d \major
<a2\ppp\cr d> <gis\rc\p\decr d'> | <a2\rced d> ~ <a8 d> r8 r4 |
a2\ppp\cr a2\rc\p\decr | <a2\rced d> ~ <a8 d> r8 r4 |
a2\pppp ~ a8 r8 r4 | a2\ppppp ~ a8 r8 r4 | r4 a8_"pizz"
r8 r2^\fermata
}
\header{
- piece="example 1";
+ piece="example 1"
}
}
\score{
\notes
\relative c{
- \clef "bass";
- \key c \major;
+ \clef "bass"
+ \key c \major
<e1\sff cis'^\downbow> | <cis\sff a'^\downbow> |
<d,\ffff\decr g> | ~ <d2 g> ~ <d8\p\rced g>
}
\header{
- piece="example 2";
+ piece="example 2"
}
}
+\version "1.3.146"
\include "german-chords.ly"
% #(set! german-Bb #t)
+\version "1.3.146"
\header{
- title="CELLO-THUMBS";
- enteredby="Maarten Storm";
+ title="CELLO-THUMBS"
+ enteredby="Maarten Storm"
}
<c_\thumb c'-3(> <)d_\thumb d'-3>]
}
\paper{
- linewidth = 80.\mm;
+ linewidth = 80.\mm
}
}
+\version "1.3.146"
\score{
\notes \relative c''{
c c c c
c1~\break
- \time 8/8; c
+ \time 8/8 c
c4 c c c~\break
- \time 4/4;
+ \time 4/4
c c c c
}
\paper {
- linewidth=40.\mm;
- indent=0.;
+ linewidth=40.\mm
+ indent=0.
}
}
+\version "1.3.146"
+\header {
+texidoc = "setting sparseTies causes only one tie to be
+generated per chord pair."
+
+}
+
+
\score {
\context Voice \notes\relative c {
-
- \context Voice {
\property Voice.sparseTies = ##t
- c'' <c e g> ~ <c e g> }
-
+ c'' <c e g> ~ <c e g>
}
\paper {
- linewidth=-1.0;
+ linewidth=-1.0
}
\midi { }
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
\property Staff.TimeSignature \override #'style = #'C
- \time 1/1;
+ \time 1/1
c''1^"TimeSignature style = \#'C"
- \time 2/2;
+ \time 2/2
c1
- \time 2/4;
+ \time 2/4
c2
- \time 3/4;
+ \time 3/4
c2.
- \time 4/4;
+ \time 4/4
c1
- \time 5/4;
+ \time 5/4
c2. c2
- \time 6/4;
+ \time 6/4
c1.
- \time 3/2;
+ \time 3/2
c1.
- \time 7/4;
+ \time 7/4
c1 c2.
- \time 8/4;
+ \time 8/4
c\breve
- \time 9/4;
+ \time 9/4
c2. c2. c2.
\break
\property Staff.TimeSignature \set #'style = #'old
- \time 1/1;
+ \time 1/1
c1^"TimeSignature style = \#'old"
- \time 2/2;
+ \time 2/2
c1
- \time 2/4;
+ \time 2/4
c2
- \time 3/4;
+ \time 3/4
c2.
- \time 4/4;
+ \time 4/4
c1
- \time 5/4;
+ \time 5/4
c2. c2
- \time 6/4;
+ \time 6/4
c1.
- \time 3/2;
+ \time 3/2
c1.
- \time 7/4;
+ \time 7/4
c1 c2.
- \time 8/4;
+ \time 8/4
c\breve
- \time 9/4;
+ \time 9/4
c2. c2. c2.
- \time 6/8;
+ \time 6/8
c2.
- \time 9/8;
+ \time 9/8
c4. c4. c4.
\break
% Lilypond doesn't understand 'default => it does what you want
\property Staff.TimeSignature \set #'style = #'default
- \time 1/1;
+ \time 1/1
c1^"TimeSignature style = \#'default"
- \time 2/2;
+ \time 2/2
c1
- \time 2/4;
+ \time 2/4
c2
- \time 3/4;
+ \time 3/4
c2.
- \time 4/4;
+ \time 4/4
c1
- \time 5/4;
+ \time 5/4
c2. c2
- \time 6/4;
+ \time 6/4
c1.
- \time 3/2;
+ \time 3/2
c1.
- \time 7/4;
+ \time 7/4
c1 c2.
- \time 8/4;
+ \time 8/4
c\breve
- \time 9/4;
+ \time 9/4
c2. c2. c2.
\break
% If the style starts with a '1', you get this style
\property Staff.TimeSignature \set #'style = #'1style
- \time 1/1;
+ \time 1/1
c1^"TimeSignature style = \#'1xxx"
- \time 2/2;
+ \time 2/2
c1
- \time 2/4;
+ \time 2/4
c2
- \time 3/4;
+ \time 3/4
c2.
- \time 4/4;
+ \time 4/4
c1
- \time 5/4;
+ \time 5/4
c2. c2
- \time 6/4;
+ \time 6/4
c1.
- \time 3/2;
+ \time 3/2
c1.
- \time 7/4;
+ \time 7/4
c1 c2.
- \time 8/4;
+ \time 8/4
c\breve
- \time 9/4;
+ \time 9/4
c2. c2. c2.
\break
\property Staff.TextScript \override #'self-alignment-X = #1
\property Staff.TimeSignature \set #'style = #'old9/8
- \time 1/1;
+ \time 1/1
c1^"old9/8"
\property Staff.TimeSignature \set #'style = #'old6/8
- \time 1/1;
+ \time 1/1
c1^"old6/8"
\property Staff.TimeSignature \set #'style = #'old6/8alt
- \time 1/1;
+ \time 1/1
c1^"old6/8alt"
\property Staff.TimeSignature \set #'style = #'old9/4
- \time 1/1;
+ \time 1/1
c1^"old9/4"
\property Staff.TimeSignature \set #'style = #'old6/4
- \time 1/1;
+ \time 1/1
c1^"old6/4"
\property Staff.TimeSignature \set #'style = #'old3/2
- \time 1/1;
+ \time 1/1
c1^"old3/2"
\property Staff.TimeSignature \set #'style = #'old4/4
- \time 1/1;
+ \time 1/1
c1^"old4/4"
\property Staff.TimeSignature \set #'style = #'old2/2
- \time 1/1;
+ \time 1/1
c1^"old2/2"
\property Staff.TimeSignature \set #'style = #'old2/4
- \time 1/1;
+ \time 1/1
c1^"old2/4"
\property Staff.TimeSignature \set #'style = #'old4/8
- \time 1/1;
+ \time 1/1
c1^"old4/8"
\property Staff.TimeSignature \set #'style = #'C4/4
- \time 1/1;
+ \time 1/1
c1^"C4/4"
\property Staff.TimeSignature \set #'style = #'C2/2
- \time 1/1;
+ \time 1/1
c1^"C2/2"
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
% \property Score. measurePosition = #(make-moment -1 4)
- \partial 4;
+ \partial 4
c''4 c4 c4 c2 c1
\cadenzaOn [c8 d e f] [g a b c b c b c]
\cadenzaOff
+\version "1.3.146"
\header{
-filename = "title.ly";
-title = "Title";
-subtitle = "Subtitle";
-composer= "Composer (xxxx-yyyy)";
-arranger = "Arranger";
-copyright = "public domain";
-enteredby = "jcn";
-source = "urtext";
-instrument= "Instrument";
+filename = "title.ly"
+title = "Title"
+subtitle = "Subtitle"
+composer= "Composer (xxxx-yyyy)"
+arranger = "Arranger"
+copyright = "public domain"
+enteredby = "jcn"
+source = "urtext"
+instrument= "Instrument"
}
c d e f f e d c
}
\header{
- opus = "Opus 0";
- piece = "Piece I";
- override="Overdriven";
+ opus = "Opus 0"
+ piece = "Piece I"
+ override="Overdriven"
}
}
f e d c c d e f
}
\header{
- piece = "Piece II";
- opus = "Opus 1";
+ piece = "Piece II"
+ opus = "Opus 1"
}
}
+\version "1.3.146"
\score {
\context Voice \notes\relative c {
+\version "1.3.146"
%{
Hi all,
I have extend Mats' patches to allow accidental transposition:
- \keysignature bes es fis;
+ \keysignature bes es fis
= \transpose d =>
- \keysignature gis;
+ \keysignature gis
As you can see in output = the example file "test.ly" there are a few problems left:
- key undo (already in the Todo)
%}
\header{
-title = "Test it";
-description = "Transposition Test file";
-enteredby = "Eric Bullinger";
-copyright = "public domain";
+title = "Test it"
+description = "Transposition Test file"
+enteredby = "Eric Bullinger"
+copyright = "public domain"
}
vOne = \notes \relative c''{
- \clef"violin";
- \key d \major;
- \time 2/4 ;
+ \clef"violin"
+ \key d \major
+ \time 2/4
d4 d |
- \key fis \major;
+ \key fis \major
fis4 fis |
- \key es \major;
+ \key es \major
c4 c |
}
vTwo = \notes \transpose d' { \vOne }
vThree = \notes \relative c''{
- \clef"violin";
-% \keysignature fis cis;
+ \clef"violin"
+% \keysignature fis cis
\property Staff.keySignature = #'((0 . 1)(3 . 1))
- \time 2/4 ;
+ \time 2/4
d4 d |
-% \keysignature bes es fis;
+% \keysignature bes es fis
\property Staff.keySignature = #'((3 . 1)(2 . -1)(6 . -1))
fis4 fis |
-% \keysignature fis cis gis dis ais eis;
+% \keysignature fis cis gis dis ais eis
\property Staff.keySignature = #'((2 . -1)(5 . -1)(1 . 1)(4 . 1)(0 . 1)(3 . 1))
cis4 ais4 |
}
\context Staff=vThree \vThree
\context Staff=vFour \vFour
>
- \paper { linewidth= 130.\mm; }
+ \paper { linewidth= 130.\mm }
}
+\version "1.3.146"
\score {
\context Voice \notes \relative c'' {
- \time 2/4;
+ \time 2/4
\times 2/3 { r c,,, c''' }
\times 2/3 { r c c }
\times 2/3 { r c r}
+\version "1.3.146"
\score
{
\context Voice \notes \relative c'' {
-\time 2/4;
+\time 2/4
\times 2/3 { c8 c c c c c }
\property Voice . tupletSpannerDuration = #(make-moment 1 4)
\times 2/3 { c8 c c c c c }
+\version "1.3.146"
\score {
+\version "1.3.146"
\header {
texidoc = "If you specify two different key sigs at one point, a
- warning is printed.";
+ warning is printed."
}
\score { \notes
\context Voice <
- { \key cis \major; cis4 \key bes \major; bes4 }
- { \key cis \major; fis4 \key es \major; g4 }
+ { \key cis \major cis4 \key bes \major bes4 }
+ { \key cis \major fis4 \key es \major g4 }
>
}
+\version "1.3.146"
%
% We'd want to combine the stems, but have two slurs too...
}
>
\paper{
- linewidth=60.\mm;
+ linewidth=60.\mm
}
}
+\version "1.3.146"
%{
Hmm, ik vraag me af of dit al helemaal koel is.
return abs (this_one.force_f_) + abs (prev.force_f_ - this_one.force_f_)
- + break_penalties;
+ + break_penalties
Neem als voorbeeld iets dat lijkt op allemande: keuze tussen 2 of drie
maten per regel.
}
\paper {
- indent=0.0\mm;
- linewidth=90.0\mm;
+ indent=0.0\mm
+ linewidth=90.0\mm
}
}
normal property values, and are written itno the grob when the
associated context finishes, so using it in \property works.
- "; }
-\version "1.3.145";
+ " }
+\version "1.3.146"
\score {
\notes <
\context Staff = upper {
\property Staff.VerticalExtent = #'(-15.0 . 0.0)
- \clef alto;
+ \clef alto
c1 \break c1
}
\context Staff = lower {
\property Staff.VerticalExtent = #'(-0.0 . 15.0)
- \clef alto;
+ \clef alto
g1 \break g1
}
>
\paper{
- interscoreline = 13.0\mm;
- interscorelinefill = 0;
- \translator{\ScoreContext \remove "Bar_number_engraver";}
+ interscoreline = 13.0\mm
+ interscorelinefill = 0
+ \translator{\ScoreContext \remove "Bar_number_engraver"}
\translator{\StaffContext MinimumVerticalExtent = #'(-2.0 . 2.0)}
}
}
+\version "1.3.146"
\score{
<
\context Staff = o \notes\relative c,,, {
+\version "1.3.146"
\score{
\context Staff <
- \context Voice=one\skip 1;
- \context Voice=two\skip 1;
+ \context Voice=one\skip 1
+ \context Voice=two\skip 1
\context Voice=one \partcombine Voice
\context Thread=one \notes\relative c'' {
c2 c2
}
>
\paper{
- linewidth=140.\mm;
+ linewidth=140.\mm
}
}
+\version "1.3.146"
\header{
texidoc = " Volta braces are hung on barlines. At the start of the
-line, they should always start after the prefatory matter. ";
+line, they should always start after the prefatory matter. "
}
voiceB = \notes {
- \clef bass;
+ \clef bass
\property Staff.instrument = "Bass"
\property Staff.instr = "B"
- \key f \minor;
- \time 4/4;
+ \key f \minor
+ \time 4/4
f,2 ( ) f,8 r8 f8 e8
\repeat volta 2
{
>
\paper {
- font_normal = 12.;
+ font_normal = 12.
\translator {
\StaffContext
- \consists Instrument_name_engraver;
+ \consists Instrument_name_engraver
}
}
}
+\version "1.3.146"
voiceE = \notes {
-\clef bass;
+\clef bass
\property Staff.instrument = "Bass"
\property Staff.instr = "B"
% \property Staff.VoltaBracket = \turnOff
- \time 4/4; f,2 ( ) f,8 r8 f8 e8
+ \time 4/4 f,2 ( ) f,8 r8 f8 e8
\repeat volta 2
{
d8. d16 e8. f16 f8 c8 c16 c8.
}
voicedefault = \notes {
- \time 4/4; \key f \major ;
- \tempo 4 = 200;
+ \time 4/4 \key f \major
+ \tempo 4 = 200
}
\score{
\notes <
>
\paper {
- font_normal = 12.;
+ font_normal = 12.
\translator {
\StaffContext
TimeSignature \override #'style = #'C
- \consists Instrument_name_engraver;
+ \consists Instrument_name_engraver
}
}
}
+\version "1.3.146"
\header {
texidoc="Various warnings
-";
+"
}
-linebreak = \penalty -1000;
+linebreak = \penalty #-1000
\score {
\notes {
\header {
- title = "Trip";
- copyright = "public domain";
+ title = "Trip"
+ copyright = "public domain"
}
+\version "1.3.146"
+
%{
This file tests as much features of lily as possible. If there are any
praeludiumRight = \notes {
- \key e \major;
- \clef violin;
+ \key e \major
+ \clef violin
% 13 -- how to type -- where to split -- this more neatly?
\context Staff <
}
praeludiumLeft = \notes \relative c {
- \key e \major;
- \clef bass;
+ \key e \major
+ \clef bass
% 13
\context Staff <
fugaIIRight = \notes \relative c'' {
- \key e \major; % E-major
- \clef violin;
- \time3/4;
+ \key e \major % E-major
+ \clef violin
+ \time3/4
%15
\context Staff <
gracetest = \notes \grace { [c16 ( cis dis] }
fugaIILeft = \notes {
- \key e \major;
- \clef bass;
+ \key e \major
+ \clef bass
%15
\context Staff <
\context Voice = two { \stemDown s2 e4 |
fis2 fis4 }
>
- \stemBoth cis2 [e16( fis a \clef "treble"; b] |
+ \stemBoth cis2 [e16( fis a \clef "treble" b] |
d'4 ) b8 b8 b4 |
%19
}
fugaIIPedal = \notes \relative c {
- \key e \major;
- \clef bass;
+ \key e \major
+ \clef bass
\repeat "volta" 2 { dis4.-\ltoe } \alternative { e8-\rtoe cis4 } |
b4.-\lheel [cis8-\ltoe dis8-\rtoe e8-\rheel] |
\property Score.midiInstrument = "church organ"
\praeludiumRight
- \times 4/3 { c4 c4 c4 } \mark "B";
+ \times 4/3 { c4 c4 c4 } \mark "B"
\fugaIIRight }
\context Staff = bass {
\property Staff.instrument = #"left"
\property Staff.instrument = #"bass"
\property Staff.instr = #"bs"
- \time 4/4;
- \key e \major;
- \clef bass;
+ \time 4/4
+ \key e \major
+ \clef bass
%13
r4 fis,4-\ltoe e4.-\lheel e'8-\rheel |
g r4.
)
c2^^^-^\f
- \time 3/4;
+ \time 3/4
- \fugaIIPedal \bar "|." ; }
+ \fugaIIPedal \bar "|." }
>
>
\OrchestralScoreContext
}
\translator { \PianoStaffContext
- \consists "Instrument_name_engraver";
+ \consists "Instrument_name_engraver"
}
\translator { \StaffContext
- \consists "Instrument_name_engraver";
+ \consists "Instrument_name_engraver"
}
}
\midi {
- \tempo 4 =96; }
+ \tempo 4 =96 }
}
\header {
- title = "The river is flowing";
- composer = "Traditonal (?)";
+ title = "The river is flowing"
+ composer = "Traditonal (?)"
}
\include "paper16.ly"
melody = \notes \relative c' {
- \partial 8;
+ \partial 8
g8 |
c4 c8 d [es () d] c4 | f4 f8 g [es() d] c g |
c4 c8 d [es () d] c4 | d4 es8 d c4.
- \bar "|.";
+ \bar "|."
}
text = \lyrics {
\context Lyrics \text
}
\midi { }
- \paper { linewidth = 10.0\cm; }
+ \paper { linewidth = 10.0\cm }
}
\score {
\context PianoStaff \notes <
- \context Staff = top { \key d \major; \time 4/4;
+ \context Staff = top { \key d \major \time 4/4
\soprano
}
- \context Staff = bottom < \key d \major; \time 4/4; \clef bass;
+ \context Staff = bottom < \key d \major \time 4/4 \clef bass
\context Voice = up { \tenor }
\context Voice = down { \bass }
>
% include file for tutorial
\header {
- title = "Zo, goed lieverd?";
- subtitle = "How's, this babe?";
- composer = "JCN";
- opus = "1";
- piece = "Laid back";
+ title = "Zo, goed lieverd?"
+ subtitle = "How's, this babe?"
+ composer = "JCN"
+ opus = "1"
+ piece = "Laid back"
}
global = {
- \time 2/4;
- \skip 2*4; \bar "|.";
+ \time 2/4
+ \skip 2*4 \bar "|."
}
-Key = \notes \key as \major;
+Key = \notes \key as \major
flautoI = \notes\relative c'' {
f8 g f g f g f g
bes as bes as bes as bes as
as8 bes as bes R1 d4 ~ d
}
tromboI = \notes\relative c'' {
- c4. c8 c8 c4. es4 R1*1/2 es4
+ c4. c8 c8 c4. es4 r as, r
}
tromboII = \notes\relative c'' {
as4. as8 as8 as4. R1*1/2 as4 es'
s1*2
\accomp
>
- \context Staff = down { \clef bass; s1*2 }
+ \context Staff = down { \clef bass s1*2 }
>
saw = \context Staff \notes {
\header {
- title = "Test";
+ title = "Test"
}
+\version "1.3.146"
\header{
-filename = "twinkle-pop.ly";
-xtitle = "Ah, vous dirais-je, maman ";
-description = "twinkle twinkle in pop-song-settings";
-composer = "traditional";
-enteredby = "HWN, chords by Johan Vromans";
-copyright = "public domain";
+filename = "twinkle-pop.ly"
+xtitle = "Ah, vous dirais-je, maman "
+description = "twinkle twinkle in pop-song-settings"
+composer = "traditional"
+enteredby = "HWN, chords by Johan Vromans"
+copyright = "public domain"
}
melodie = \notes\relative c'' {
- \clef "violin";
- \time 2/4 ;
+ \clef "violin"
+ \time 2/4
c4 c | g' g | a a | g2 |
f4 f | e e | d d | c2 |
g g | f f | e e | d d |
% copy 1-8
c4 c | g' g | a a | g2 |
- f4 f | e e | d d | c2 \bar "|.";
+ f4 f | e e | d d | c2 \bar "|."
}
acc = \chords {
\context Lyrics \text
>
\header{
- title = "Ah, vous dirais-je, maman ";
+ title = "Ah, vous dirais-je, maman "
}
\paper { }
}
\lyrics \context Lyrics \text
>
\header{
- piece = "clarinet in B\\textflat";
+ piece = "clarinet in B\\textflat"
}
\paper { }
}
+\version "1.3.146"
\header{
-filename = "twinkle.ly";
-title = "Twinkle Twinkle Little Star";
-composer = "Traditional";
-enteredby = "hwn and jcn";
-copyright = "public domain";
+filename = "twinkle.ly"
+title = "Twinkle Twinkle Little Star"
+composer = "Traditional"
+enteredby = "hwn and jcn"
+copyright = "public domain"
}
%{
melody = \notes \relative c'' {
- \clef violin;
+ \clef violin
\property Staff.instrument = "alto sax"
c4 c | g' g | a a | g g |
}
accompany = \notes \relative c {
- \clef "bass";
+ \clef "bass"
c4 c' | e c | f c | e c |
d b | c a | f g | c,2 |
textiii = \lyrics{
Then the tra -- veler in the dark " "
- Thanks you for your ti -- ny " " spark;
+ Thanks you for your ti -- ny " " spark
He could not see which way to go,
If you did not twin -- kle " " so. " "
Twin -- kle, twin -- kle, lit -- tle star, " "
\context Lyrics=top s1
\context GrandStaff <
\context Staff=ii \repeat volta 2 <
- \time 2/4;
+ \time 2/4
\melody >
\context Staff=iii \repeat volta 2 <
\accompany >
>
>
\paper{
- gourlay_maxmeasures = 14.0;
+ gourlay_maxmeasures = 14.0
}
\midi{
- \tempo 4 = 120 ;
+ \tempo 4 = 120
}
}
<INITIAL,chords,lyrics,notes>\\version{WHITE}* {
yy_push_state (version);
}
-<version>\"[^"]*\";? { /* got the include file name */
+<version>\"[^"]*\" { /* got the version number */
String s (YYText ()+1);
s = s.left_str (s.index_last_i ('"'));
new_input (ly_scm2string (sid), source_global_l);
yy_pop_state ();
} else {
- String msg (_f ("wrong or undefined identifier: `%s'", s ));
+ String msg (_f ("wrong or undefined identifier: `%s'", s ));
+
LexerError (msg.ch_C ());
+ SCM err = scm_current_error_port ();
+ scm_puts ("This value was found in the table: ", err);
+ scm_display (sid, err);
}
}
<incl>\"[^"]* { // backup rule
int cnv=sscanf (YYText (), "%lf", &r);
assert (cnv == 1);
- yylval.real = r;
+ yylval.scm = gh_double2scm (r);
return REAL;
}
{"consists", CONSISTS},
{"consistsend", CONSISTSEND},
{"context", CONTEXT},
+ {"default", DEFAULT},
{"denies", DENIES},
{"duration", DURATION},
{"dynamicscript", DYNAMICSCRIPT},
%union {
Link_array<Request> *reqvec;
- String * string;
+
+ String *string; // needed by the lexer as temporary scratch area.
Music *music;
Score *score;
Scope *scope;
Scheme_hash_table *scmhash;
- Musical_req* musreq;
Music_output_def * outputdef;
- Midi_def* midi;
- Real real;
Request * request;
/* We use SCMs to do strings, because it saves us the trouble of
%token MIDI
%token MM_T
%token PITCH
+%token DEFAULT
%token NAME
%token PITCHNAMES
%token NOTES
%token <scm> MUSIC_IDENTIFIER TRANSLATOR_IDENTIFIER
%token <scm> STRING_IDENTIFIER SCM_IDENTIFIER
%token <scm> RESTNAME
-%token <scm> STRING
+%token <scm> STRING
%token <scm> SCM_T
%token <i> UNSIGNED
-%token <real> REAL
+%token <scm> REAL
%type <outputdef> output_def
%type <scmhash> lilypond_header lilypond_header_body
%type <request> extender_req
%type <request> hyphen_req
%type <scm> string bare_number number_expression
+
%type <score> score_block score_body
%type <scm> translator_spec_block translator_spec_body
Scope *sc = new Scope ($$);
THIS->lexer_p_-> scope_l_arr_.push (sc);
}
- | lilypond_header_body assignment semicolon {
+ | lilypond_header_body assignment {
}
;
$$ = unsmob_translator_def ($1)->clone_scm ();
unsmob_translator_def ($$)-> set_spot (THIS->here_input ());
}
- | TYPE STRING semicolon {
+ | TYPE STRING {
$$ = Translator_def::make_scm ();
Translator_def*td = unsmob_translator_def ($$);
td->translator_group_type_ = $2;
unsmob_translator_def ($$)->add_pop_property (
scm_string_to_symbol ($2), $4);
}
- | translator_spec_body STRING '=' identifier_init semicolon {
- SCM v = gh_int2scm (0);
- if (gh_string_p ($4) || gh_number_p ($4) || gh_boolean_p ($4))
- v = $4;
- else
- THIS->parser_error (_ ("Wrong type for property value"));
-
- /* ugh*/
- unsmob_translator_def ($$)->add_property_assign ($2, v);
- }
- | translator_spec_body NAME STRING semicolon {
+ | translator_spec_body NAME STRING {
unsmob_translator_def ($$)->type_name_ = $3;
}
- | translator_spec_body CONSISTS STRING semicolon {
+ | translator_spec_body CONSISTS STRING {
unsmob_translator_def ($$)->add_element ($3);
}
- | translator_spec_body ALIAS STRING semicolon {
+ | translator_spec_body ALIAS STRING {
Translator_def*td = unsmob_translator_def ($$);
td->type_aliases_ = gh_cons ($3, td->type_aliases_);
}
->add_property_assign (scm_symbol_to_string (gh_caar (p)), gh_cdar (p));
}
- | translator_spec_body CONSISTSEND STRING semicolon {
+ | translator_spec_body CONSISTSEND STRING {
unsmob_translator_def ($$)->add_last_element ( $3);
}
- | translator_spec_body ACCEPTS STRING semicolon {
+ | translator_spec_body ACCEPTS STRING {
unsmob_translator_def ($$)->set_acceptor ($3,true);
}
- | translator_spec_body DENIES STRING semicolon {
+ | translator_spec_body DENIES STRING {
unsmob_translator_def ($$)->set_acceptor ($3,false);
}
- | translator_spec_body REMOVE STRING semicolon {
+ | translator_spec_body REMOVE STRING {
unsmob_translator_def ($$)->remove_element ($3);
}
;
THIS->lexer_p_->scope_l_arr_.push (p->scope_p_);
$$ = p;
}
- | music_output_def_body assignment semicolon {
+ | music_output_def_body assignment {
}
| music_output_def_body translator_spec_block {
| music_output_def_body STYLESHEET embedded_scm {
dynamic_cast<Paper_def*> ($$)-> style_sheet_ = $3;
}
- | music_output_def_body tempo_request semicolon {
+ | music_output_def_body tempo_request {
/*
junk this ? there already is tempo stuff in
music.
scm_unprotect_object ($2->self_scm ());
}
- | CONTEXT STRING '=' STRING Music {
+ | CONTEXT string '=' string Music {
Context_specced_music *csm = new Context_specced_music (SCM_EOL);
csm->set_mus_property ("element", $5->self_scm ());
scm_unprotect_object ($5->self_scm ());
$$-> set_spot (THIS->here_input ());
$1-> set_spot (THIS->here_input ());
}
- | BAR STRING ';' {
+ | BAR STRING {
Music *t = new Music (SCM_EOL);
t->set_mus_property ("iterator-ctor",
csm->set_mus_property ("context-type", ly_str02scm ("Score"));
}
- | PARTIAL duration_length ';' {
+ | PARTIAL duration_length {
Music * p = new Music (SCM_EOL);
p->set_mus_property ("symbol", ly_symbol2scm ( "measurePosition"));
p->set_mus_property ("iterator-ctor",
$$ =sp ;
sp-> set_mus_property ("context-type", ly_str02scm ( "Score"));
}
- | CLEF STRING ';' {
+ | CLEF STRING {
SCM func = scm_eval2 (ly_symbol2scm ("clef-name-to-properties"), SCM_EOL);
SCM result = gh_call1 (func, $2);
$$ =sp ;
sp-> set_mus_property ("context-type", ly_str02scm ("Staff"));
}
- | TIME_T bare_unsigned '/' bare_unsigned ';' {
+ | TIME_T bare_unsigned '/' bare_unsigned {
Music * p = new Music (SCM_EOL);
p->set_mus_property ("symbol",
ly_symbol2scm ( "timeSignatureFraction"));
command_req:
shorthand_command_req { $$ = $1; }
- | verbose_command_req semicolon { $$ = $1; }
+ | verbose_command_req { $$ = $1; }
;
shorthand_command_req:
sp_p->set_spot (THIS->here_input ());
$$ = sp_p;
}
- | MARK {
+ | MARK DEFAULT {
Mark_req * m = new Mark_req;
$$ = m;
}
$$ = m;
}
- | PENALTY bare_int {
+ | PENALTY SCM_T {
+
+
Break_req * b = new Break_req;
- b->set_mus_property ("penalty", gh_double2scm ( $2 / 100.0));
+ SCM s = $2;
+ if (!gh_number_p (s))
+ s =gh_int2scm (0);
+
+ b->set_mus_property ("penalty", s);
b->set_spot (THIS->here_input ());
$$ = b;
}
| tempo_request {
$$ = $1;
}
- | KEY {
+ | KEY DEFAULT {
Key_change_req *key_p= new Key_change_req;
$$ = key_p;
}
$$ = new Sequential_music (SCM_EOL);
$$->set_mus_property ("elements", ms);
}
- | STRING {
- THIS->remember_spot ();
- }
- /* cont */
- optional_notemode_duration {
- if (!THIS->lexer_p_->lyric_state_b ()) {
- THIS->pop_spot ().error (_ ("Have to be in Lyric mode for lyrics"));
- THIS->error_level_i_ = 1;
- THIS->parser_error (_ ("Giving up"));
- }
- else
- THIS->pop_spot ();
+ | STRING optional_notemode_duration {
+
Lyric_req* lreq_p = new Lyric_req;
lreq_p->set_mus_property ("text", $1);
- lreq_p->set_mus_property ("duration",$3);
+ lreq_p->set_mus_property ("duration",$2);
lreq_p->set_spot (THIS->here_input ());
Simultaneous_music* velt_p = new Request_chord (SCM_EOL);
velt_p->set_mus_property ("elements", gh_list (lreq_p->self_scm (), SCM_UNDEFINED));
UNSIGNED {
$$ = gh_int2scm ($1);
}
- | DIGIT {
- $$ = gh_int2scm ($1);
- }
| REAL {
- $$ = gh_double2scm ($1);
+ $$ = $1;
}
| NUMBER_IDENTIFIER {
$$ = $1;
}
| REAL CM_T {
- $$ = gh_double2scm ($1 CM);
+ $$ = gh_double2scm (gh_scm2double ($1) CM );
}
| REAL PT_T {
- $$ = gh_double2scm ($1 PT);
+ $$ = gh_double2scm (gh_scm2double ($1) PT);
}
| REAL IN_T {
- $$ = gh_double2scm ($1 INCH);
+ $$ = gh_double2scm (gh_scm2double ($1) INCH);
}
| REAL MM_T {
- $$ = gh_double2scm ($1 MM);
+ $$ = gh_double2scm (gh_scm2double ($1) MM);
}
| REAL CHAR_T {
- $$ = gh_double2scm ($1 CHAR);
+ $$ = gh_double2scm (gh_scm2double ($1) CHAR);
}
;
bare_unsigned:
- bare_number {
- if (scm_integer_p ($1) == SCM_BOOL_T) {
- $$ = gh_scm2int ($1);
-
- } else {
- THIS->parser_error (_ ("need integer number arg"));
- $$ = 0;
- }
- if ($$ < 0) {
- THIS->parser_error (_ ("Must be positive integer"));
- $$ = -$$;
- }
-
+ UNSIGNED {
+ $$ = $1;
+ }
+ | DIGIT {
+ $$ = $1;
}
;
+
bare_int:
bare_number {
if (scm_integer_p ($1) == SCM_BOOL_T)
;
-semicolon:
- ';'
- ;
-
%%
void
+\version "1.3.146"
% a4.ly
-hsize = 210.0 \mm;
-vsize = 296.9 \mm;
+hsize = 210.0 \mm
+vsize = 296.9 \mm
+\version "1.3.146"
% Symbols needed to print accordion music
%
% 2' = T
% Toplevel initialisation file.
-\version "1.3.120";
+\version "1.3.146"
\include "declarations.ly"
\include "paper16.ly"
\paper { \paperSixteen
- linewidth = -1.\cm;
- castingalgorithm = \Wordwrap;
- "unusedentry" = "}\\def\\nolilyfooter{";
+ linewidth = -1.\cm
+ castingalgorithm = \Wordwrap
+ "unusedentry" = "}\\def\\nolilyfooter{"
}
\score {
% Toplevel initialisation file.
-\version "1.3.120";
+\version "1.3.146"
-\include "declarations.ly";
+\include "declarations.ly"
\include "paper16.ly"
\paper{
-\version "1.3.110";
+\version "1.3.146"
% Toplevel initialisation file.
-\version "1.3.120";
+\version "1.3.146"
\include "declarations.ly"
-\include "paper16.ly";
+\include "paper16.ly"
\paper {
\paperSixteen
- linewidth = -1.0\cm;
- castingalgorithm = \Wordwrap;
- "unusedentry" = "}\\def\\nolilyfooter{";
+ linewidth = -1.0\cm
+ castingalgorithm = \Wordwrap
+ "unusedentry" = "}\\def\\nolilyfooter{"
}
% Toplevel initialisation file.
-\version "1.3.120";
+\version "1.3.146"
\include "declarations.ly"
\paper {
\paperSixteen
-% linewidth = 7.\cm;
- linewidth = 11.\cm;
+% linewidth = 7.\cm
+ linewidth = 11.\cm
}
\maininput
+\version "1.3.146"
% urg!
%
(m . ,(make-pitch 0 2 -1 ))
(min . ,(make-pitch 0 2 -1 ))
(aug . ,(make-pitch 0 4 1 ))
-; (dim . ,(make-pitch -100 4 -1 ))
+ (dim . ,(make-pitch -100 4 -1 ))
(dim . ,(make-pitch -100 2 -1 ))
; urg, not actually a chord-modifier, but it works
-; c7 -> <c bes>, c 7+ -> c b
+; c7 -> <c bes>, c 7+ -> c b
(maj . ,(make-pitch 0 6 1 ))
; sus4 should delete 2 too...
(sus . ,(make-pitch 0 3 0 ))
+
+\version "1.3.146"
breve = \duration #(make-duration -1 0)
longa = \duration #(make-duration -2 0 )
maxima = \duration #(make-duration -3 0)
bigger = 1
center=0
-break = \penalty -1000000;
-noBreak = \penalty 1000000;
+break = \penalty #-10000
+noBreak = \penalty #10000
\include "scale-definitions.ly"
melisma = \property Staff.melismaBusy = ##t
melismaEnd = \property Staff.melismaBusy = ##f
-papersize = "a4"
+
\include "engraver.ly"
-\include "generic-paper.ly"
-\include "paper20.ly"
-singleLine = \paper { linewidth = 1.; }
+singleLine = \paper { linewidth = 1. }
% ugh
\include "midi.ly"
+papersize = "a4"
+paperfile = \papersize + ".ly"
+
+\include "generic-paper.ly"
+\include "paper20.ly"
+
+
\include "dynamic-scripts.ly"
\include "spanners.ly"
\include "property.ly"
-unusedEntry = \notes { c4 } % reset default duration
+
+% reset default duration
+unusedEntry = \notes { c4 }
% music = "\melodic\relative c"
(gis . ,(make-pitch -1 4 1 ))
(gisis . ,(make-pitch -1 4 2 ))
(asas . ,(make-pitch -1 5 -2 ))
- (ases . ,(make-pitch -1 5 -2 )) ; non-standard name for asas
+ (ases . ,(make-pitch -1 5 -2 )) non-standard name for asas
(as . ,(make-pitch -1 5 -1 ))
(a . ,(make-pitch -1 5 0 ))
(ais . ,(make-pitch -1 5 1 ))
-\version "1.3.110";
+\version "1.3.146"
% GM drum pitches.
% I use different accidentals to distinguish drums at the same GM pitch.
% Always accidental 0 (white keys) or 1 (black keys) to get the "correct" gm name.
-% i.e. fis, for closed highat ; ges, for highat.
+% i.e. fis, for closed highat ges, for highat.
% 2001/03/25 Rune Zedeler <rune@zedeler.dk>
(mutetriangle trim ,(make-pitch 1 4 1))
(triangle tri ,(make-pitch 1 4 2))
(opentriangle trio ,(make-pitch 1 5 0))
- ; "transposing" pitches:
+ "transposing" pitches:
(oneup ua ,(make-pitch 0 1 0))
(twoup ub ,(make-pitch 0 2 0))
(threeup uc ,(make-pitch 0 3 0))
)
-\version "1.3.142";
+\version "1.3.146"
+\version "1.3.146"
%
% declare the standard dynamic identifiers.
(eff . ,(make-pitch -1 2 -2 ))
(ef . ,(make-pitch -1 2 -1 ))
(e . ,(make-pitch -1 2 0 ))
- (es . ,(make-pitch -1 2 1 )) ; es = E-flat in Dutch
+
+ (es . ,(make-pitch -1 2 1 ))
(ess . ,(make-pitch -1 2 2 ))
(fff . ,(make-pitch -1 3 -2 ))
(ff . ,(make-pitch -1 3 -1 ))
(aff . ,(make-pitch -1 5 -2 ))
(af . ,(make-pitch -1 5 -1 ))
(a . ,(make-pitch -1 5 0 ))
- (as . ,(make-pitch -1 5 1 )) ; as = A-flat in Dutch
+ (as . ,(make-pitch -1 5 1 ))
(ass . ,(make-pitch -1 5 2 ))
(bff . ,(make-pitch -1 6 -2 ))
(bf . ,(make-pitch -1 6 -1 ))
(bss . ,(make-pitch -1 6 2 ))
)
-\version "1.3.110";
+\version "1.3.146"
% Toplevel initialisation file.
-\version "1.3.120";
+\version "1.3.146"
\include "declarations.ly"
-\include "paper16.ly";
+\include "paper16.ly"
\paper {
\paperSixteen
- linewidth = -1.0\cm;
- castingalgorithm = \Wordwrap;
- "unusedentry" = "}\\def\\nolilyfooter{";
+ linewidth = -1.0\cm
+ castingalgorithm = \Wordwrap
+ "unusedentry" = "}\\def\\nolilyfooter{"
}
+\version "1.3.146"
%
% Running LilyPond on this file generates the documentation
+\version "1.3.146"
\paper {
- texsetting = "";
- pssetting = "";
- scmsetting = "(lilyponddefs.ps) findlibfile {exch pop //systemdict /run get exec} { /undefinedfilename signalerror } ifelse;\n";% UGH.
+ texsetting = ""
+ pssetting = ""
+ scmsetting = "(lilyponddefs.ps) findlibfile {exch pop //systemdict /run get exec} { /undefinedfilename signalerror } ifelse\n"% UGH.
}
+\version "1.3.146"
% german-chords.ly:
% german/norwegian/danish?
% Toplevel AsciiScript initialisation file.
-\version "1.3.110";
+\version "1.3.146"
\include "declarations-as.ly"
}
\paper {
\paper_as_nine
- %linewidth=-1.0;
- %indent = 0.0;
- \translator { \StaffContext barSize = \staffheight; }
+ %linewidth=-1.0
+ %indent = 0.0
+ \translator { \StaffContext barSize = \staffheight }
% no beam-slope
- %\translator { \VoiceContext beamHeight = #0; }
+ %\translator { \VoiceContext beamHeight = #0 }
}
%\midi{ }
}
% Toplevel initialisation file.
-\version "1.3.110";
+\version "1.3.146"
\include "declarations.ly"
% Toplevel initialisation file.
-\version "1.3.110";
+\version "1.3.146"
-\include "declarations.ly";
+\include "declarations.ly"
\maininput
% Toplevel initialisation file.
-\version "1.3.110";
+\version "1.3.146"
\include "declarations.ly"
}
\paper {
- % indent = 0.0;
+ % indent = 0.0
}
\midi{ }
}
(sidd . ,(make-pitch -1 6 2 ))
)
-\version "1.3.110";
+\version "1.3.146"
+\version "1.3.146"
% ledger.ly
-hsize = 11.0 \in;
-vsize = 17.0 \in;
+hsize = 11.0 \in
+vsize = 17.0 \in
+\version "1.3.146"
% legal.ly
-hsize = 8.5 \in;
-vsize = 14.0 \in;
+hsize = 8.5 \in
+vsize = 14.0 \in
+\version "1.3.146"
% letter.ly
-hsize = 8.5 \in;
-vsize = 11.0 \in;
+hsize = 8.5 \in
+vsize = 11.0 \in
+\version "1.3.146"
\midi {
- \tempo 4=60;
+ \tempo 4=60
\include "performer.ly"
-% unfold_all = "1";
+% unfold_all = "1"
}
+\version "1.3.146"
%{
common dutch names for notes. es means flat, is means sharp
%}
-% $Id: norsk.ly,v 1.10 2001/01/09 18:54:26 fred Exp $
+% Idx norsk.ly,v 1.1 1998/03/25 11:38:28 arvidg Exp arvidg $
%{
duplicated all lines containing at least one "is" or "es", changed
every other "is" into an "iss" and every other "es" into an "ess",
added "ass" et al, and made some b->h-related changes. There may be
- bugs in here; please tell me (or send patches) if you find any.
+ bugs in here please tell me (or send patches) if you find any.
Arvid Gr=F8tting <arvidg@ifi.uio.no>
-\version "1.3.110";
+\version "1.3.146"
% paper-as5.ly
-\version "1.3.120";
+\version "1.3.146"
paperAsFive = \paper {
- staffheight = 5.\char;
+ staffheight = 5.\char
\stylesheet #(as-make-style-sheet 'as5)
- \translator { \StaffContext barSize = \staffheight; }
+ \translator { \StaffContext barSize = #5 }
% no beam-slope
- %\translator { \VoiceContext beamHeight = #0; }
- \include "params-as.ly";
+ %\translator { \VoiceContext beamHeight = #0 }
+ \include "params-as.ly"
}
\paper { \paperAsFive }
% paper-as9.ly
-\version "1.3.120";
+\version "1.3.146"
paperAsNine = \paper {
- staffheight = 9.\char;
+ staffheight = 9.\char
- %\translator { \StaffContext barSize = \staffheight; }
+ %\translator { \StaffContext barSize = \staffheight }
\stylesheet #(as-make-style-sheet 'as9)
- \include "params-as.ly";
+ \include "params-as.ly"
}
+\version "1.3.146"
% paper.ly
%% Why som complicated? /MB
-%linewidth20 = \hsize - 2.5 * \staffheight;
-%textheight20 = \vsize - 5.0 * \staffheight;
-%linewidth = \staffheight/20.0 * \linewidth20;
-%textheight = \staffheight/20.0 * \textheight20;
+%linewidth20 = \hsize - 2.5 * \staffheight
+%textheight20 = \vsize - 5.0 * \staffheight
+%linewidth = \staffheight/20.0 * \linewidth20
+%textheight = \staffheight/20.0 * \textheight20
-linewidth = \hsize - 2.\cm;
+linewidth = \hsize - 2.\cm
% Leave the textheight calculation to the geometry package. /MB
-%textheight = \vsize - 4.\cm;
+%textheight = \vsize - 4.\cm
-indent = \linewidth / 14.0;
+indent = \linewidth / 14.0
% paper11.ly
-\version "1.3.120";
+\version "1.3.146"
paperEleven = \paper {
- staffheight = 11.0\pt;
+ staffheight = 11.0\pt
\stylesheet #(make-style-sheet 'paper11)
- \include "params.ly";
+ \include "params.ly"
}
\paper { \paperEleven }
% paper13.ly
-\version "1.3.120";
+\version "1.3.146"
paperThirteen = \paper {
- staffheight = 13.0\pt;
+ staffheight = 13.0\pt
\stylesheet #(make-style-sheet 'paper13)
- \include "params.ly";
+ \include "params.ly"
}
\paper { \paperThirteen }
% paper16.ly
-\version "1.3.120";
+\version "1.3.146"
paperSixteen = \paper {
- staffheight = 16.0\pt;
+ staffheight = 16.0\pt
\stylesheet #(make-style-sheet 'paper16)
- \include "params.ly";
+ \include "params.ly"
}
\paper {\paperSixteen }
% paper20.ly
-\version "1.3.120";
+\version "1.3.146"
paperTwenty = \paper {
- staffheight = 20.0\pt;
+ staffheight = 20.0\pt
\stylesheet #(make-style-sheet 'paper20)
- \include "params.ly";
+ \include "params.ly"
}
\paper { \paperTwenty }
% paper23.ly
-\version "1.3.120";
+\version "1.3.146"
paperTwentythree = \paper {
- staffheight = 23.0\pt;
+ staffheight = 23.0\pt
\stylesheet #(make-style-sheet 'paper23)
- \include "params.ly";
+ \include "params.ly"
}
\paper { \paperTwentythree }
% paper26.ly
-\version "1.3.120";
+\version "1.3.146"
paperTwentysix = \paper {
- staffheight = 26.0\pt;
+ staffheight = 26.0\pt
\stylesheet #(make-style-sheet 'paper26)
- \include "params.ly";
+ \include "params.ly"
}
\paper { \paperTwentysix }
+\version "1.3.146"
% params-as.ly
% generic paper parameters
-outputscale = \staffheight / 4.0;
+outputscale = \staffheight / 4.0
-linewidth = 60.0 \char;
-textheight = 60.0 \char;
-indent = 8.0\char;
+linewidth = 60.0 \char
+textheight = 60.0 \char
+indent = 8.0\char
-staffspace = (\staffheight - 1.0 ) / 4.0;
-stafflinethickness = \staffspace / 2.0;
+staffspace = (\staffheight - 1.0 ) / 4.0
+stafflinethickness = \staffspace / 2.0
\translator { \NoteNamesContext }
\translator { \ScoreContext }
+\version "1.3.146"
% JUNKME.
-papersizename = \papersize ;
+papersizename = \papersize
-paperfile = \papersize + ".ly";
-% paperfile = "a4.ly";
-\include \paperfile;
-\include "paper.ly";
+paperfile = \papersize + ".ly"
-staffspace = \staffheight / 4.0;
-stafflinethickness = \staffspace / 10.0;
-outputscale = \staffheight / 4.0;
+% paperfile = "a4.ly"
+
+\include \paperfile
+\include "paper.ly"
+
+staffspace = \staffheight / 4.0
+stafflinethickness = \staffspace / 10.0
+outputscale = \staffheight / 4.0
\translator { \NoteNamesContext }
\translator { \ScoreContext }
+\version "1.3.146"
% JUNKME
%part-paper.ly
\paper {
\translator { \OrchestralPartStaffContext }
- \translator { \ScoreContext skipBars = ##t; }
+ \translator { \ScoreContext skipBars = ##t }
}
+\version "1.3.146"
%
% setup for Request->Element conversion. Guru-only
%
StaffContext = \translator {
- \type "Staff_performer";
- \name Staff;
- \accepts Voice;
+ \type "Staff_performer"
+ \name Staff
+ \accepts Voice
- \consists "Key_performer";
- \consists "Tempo_performer";
- \consists "Time_signature_performer";
+ \consists "Key_performer"
+ \consists "Tempo_performer"
+ \consists "Time_signature_performer"
dynamicStyle = #"dynamic"
-};
+}
\translator { \StaffContext }
\translator { \StaffContext
- \name RhythmicStaff;
+ \name RhythmicStaff
}
VoiceContext = \translator {
- \type "Performer_group_performer";
- \name Voice;
+ \type "Performer_group_performer"
+ \name Voice
% All notes fall to Grace if you leave Thread out (huh?)
- \consists "Dynamic_performer";
- \consists "Span_dynamic_performer";
- \consists "Piano_pedal_performer";
- \consists "Grace_position_performer";
- \accepts Thread;
- \accepts Grace;
-};
+ \consists "Dynamic_performer"
+ \consists "Span_dynamic_performer"
+ \consists "Piano_pedal_performer"
+ \consists "Grace_position_performer"
+ \accepts Thread
+ \accepts Grace
+}
\translator { \VoiceContext }
ThreadContext = \translator {
- \type "Performer_group_performer";
- \name Thread;
- \consists "Note_performer";
- \consists "Tie_performer";
-};
+ \type "Performer_group_performer"
+ \name Thread
+ \consists "Note_performer"
+ \consists "Tie_performer"
+}
\translator { \ThreadContext }
\translator {
- \type "Grace_performer_group";
- \name Grace;
- \consists "Note_performer";
- \consists "Tie_performer";
- \consists "Swallow_performer";
+ \type "Grace_performer_group"
+ \name Grace
+ \consists "Note_performer"
+ \consists "Tie_performer"
+ \consists "Swallow_performer"
weAreGraceContext = #t
}
\translator
{
- \type "Performer_group_performer";
- \name VoiceTwo;\consists "Note_performer";
+ \type "Performer_group_performer"
+ \name VoiceTwo\consists "Note_performer"
}
GrandStaffContext = \translator {
- \type "Performer_group_performer";
- \name GrandStaff;
- \accepts RhythmicStaff;
- \accepts Staff;
-};
+ \type "Performer_group_performer"
+ \name GrandStaff
+ \accepts RhythmicStaff
+ \accepts Staff
+}
\translator { \GrandStaffContext }
PianoStaffContext = \translator {
- \type "Performer_group_performer";
- \name "PianoStaff";
- \accepts Staff;
-};
+ \type "Performer_group_performer"
+ \name "PianoStaff"
+ \accepts Staff
+}
\translator { \PianoStaffContext }
\translator {
- \type "Performer_group_performer";
- \consists "Lyric_performer";
- \name LyricsVoice;
+ \type "Performer_group_performer"
+ \consists "Lyric_performer"
+ \name LyricsVoice
}
\translator{
- \type "Performer_group_performer";
- \name ChoirStaff;
- \accepts Staff;
+ \type "Performer_group_performer"
+ \name ChoirStaff
+ \accepts Staff
}
\translator {
- \type "Staff_performer";
- \accepts LyricsVoice;
- \name Lyrics;
- \consists "Time_signature_performer";
- \consists "Tempo_performer";
+ \type "Staff_performer"
+ \accepts LyricsVoice
+ \name Lyrics
+ \consists "Time_signature_performer"
+ \consists "Tempo_performer"
}
\translator {
- \type "Staff_performer";
- \accepts ChordNameVoice;
- \name ChordNames;
+ \type "Staff_performer"
+ \accepts ChordNameVoice
+ \name ChordNames
}
\translator {
- \type Performer_group_performer;
- \consists Note_performer;
- \name ChordNameVoice;
+ \type Performer_group_performer
+ \consists Note_performer
+ \name ChordNameVoice
}
\translator {
- \type Performer_group_performer;
+ \type Performer_group_performer
- \name StaffGroup;
- \accepts Staff;
+ \name StaffGroup
+ \accepts Staff
}
ScoreContext = \translator {
- \type "Score_performer";
-
- \name Score;
- instrument = "bright acoustic";
- \accepts Staff;
- \accepts GrandStaff;
- \accepts PianoStaff;
- \accepts Lyrics;
- \accepts StaffGroup;
- \accepts ChoirStaff;
- \accepts RhythmicStaff;
- \accepts ChordNames;
- \consists "Swallow_performer";
+ \type "Score_performer"
+
+ \name Score
+ instrument = #"bright acoustic"
+ \accepts Staff
+ \accepts GrandStaff
+ \accepts PianoStaff
+ \accepts Lyrics
+ \accepts StaffGroup
+ \accepts ChoirStaff
+ \accepts RhythmicStaff
+ \accepts ChordNames
+ \consists "Swallow_performer"
dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
instrumentEqualizer = #default-instrument-equaliser
-};
+}
\translator { \ScoreContext }
% property.ly
-\version "1.3.110";
+\version "1.3.146"
stemUp = \property Voice.Stem \override #'direction = #1
stemDown = \property Voice.Stem \override #'direction = #-1
% End the incipit and print a ``normal line start''.
endincipit = \notes{
- \partial 16; s16 % Hack to handle e.g. \bar ".|"; \endincipit
+ \partial 16 s16 % Hack to handle e.g. \bar ".|" \endincipit
\context Staff \outputproperty #(make-type-checker 'clef-interface) #'full-size-change = ##t
\context Staff \outputproperty #(make-type-checker 'clef-interface) #'non-default = ##t
- \bar "";
+ \bar ""
}
autoBeamOff = \property Voice.noAutoBeaming = ##t
+\version "1.3.146"
major = #'(
+\version "1.3.146"
"dash-hat" = "marcato"
+\version "1.3.146"
cr = \spanrequest \start "crescendo"
decr = \spanrequest \start "decrescendo"
rced = \spanrequest \stop "decrescendo"
cresc = \notes {
- \commandspanrequest \start "crescendo" ;
+ \commandspanrequest \start "crescendo"
\property Voice.crescendoText = "cresc."
\property Voice.crescendoSpanner = "dashed-line"
}
% ah, this is handy: maybe drop resetting of properties in
% dynamic-engraver ?
endcresc = \notes {
- \commandspanrequest \stop "crescendo";
+ \commandspanrequest \stop "crescendo"
\property Voice.crescendoText = ##f
\property Voice.crescendoSpanner = ##f
}
dim = \notes {
- \commandspanrequest \start "decrescendo" ;
+ \commandspanrequest \start "decrescendo"
\property Voice.decrescendoText = "dim."
\property Voice.decrescendoSpanner = "dashed-line"
}
enddim = \notes {
- \commandspanrequest \stop "decrescendo";
+ \commandspanrequest \stop "decrescendo"
\property Voice.decrescendoText = ##f
\property Voice.decrescendoSpanner = ##f
}
(hiss . ,(make-pitch -1 6 1 ))
(hississ . ,(make-pitch -1 6 2 ))
)
-\version "1.3.110";
+\version "1.3.146"
\header {
- filename = "petite-ouverture-a-danser.ly";
- title = "Petite Ouverture \\`a danser";
- subtitle = "4";
- source = "";
- composer = "Erik Satie (1866-1925)";
- enteredby = "jcn";
- copyright = "Public Domain";
+ filename = "petite-ouverture-a-danser.ly"
+ title = "Petite Ouverture \\`a danser"
+ subtitle = "4"
+ source = ""
+ composer = "Erik Satie (1866-1925)"
+ enteredby = "jcn"
+ copyright = "Public Domain"
}
%{
Tested Features:
%}
-\version "1.3.117";
+\version "1.3.146"
\include "nederlands.ly"
global = \notes {
- \key a \minor;
- \time 2/4;
+ \key a \minor
+ \time 2/4
s2*10
- \bar "||";
+ \bar "||"
s2*11
- \bar "||";
- \time 3/4;
+ \bar "||"
+ \time 3/4
s2.
- \bar "||";
- \time 2/4;
+ \bar "||"
+ \time 2/4
s2*4
- \bar "||";
- \time 3/4;
+ \bar "||"
+ \time 3/4
s2.*2
- \bar "||";
- \time 2/4;
+ \bar "||"
+ \time 2/4
s2*18
- \bar "|.";
+ \bar "|."
}
i = \context Staff \notes\relative c''{
\context GrandStaff <
\context Staff = treble <
\global
- \clef violin;
+ \clef violin
\i
\ii
>
\context Staff = bass <
\global
- \clef bass;
+ \clef bass
\lower
>
>
\paper {
- gourlay_maxmeasures = 5.;
- textheight = 295.\mm;
+ gourlay_maxmeasures = 5.
+ textheight = 295.\mm
\translator{ \OrchestralScoreContext }
\translator{
\VoiceContext
}
}
\midi {
- \tempo 4 = 60;
+ \tempo 4 = 60
}
}
instrument = "Piano"
\header {
- title = "Ständchen";
- subtitle = "(Serenade)";
- subsubtitle = "Leise flehen meine Lieder";
- opus = "D. 957 No. 4";
- date = "August 1828";
- composer = "Franz Schubert (1797-1828)";
- poet = "Text by Ludwig Rellstab (1799-1860)";
- enteredby = "JCN";
- copyright = "public domain";
- instrument = \instrument;
+ title = "Ständchen"
+ subtitle = "(Serenade)"
+ subsubtitle = "Leise flehen meine Lieder"
+ opus = "D. 957 No. 4"
+ date = "August 1828"
+ composer = "Franz Schubert (1797-1828)"
+ poet = "Text by Ludwig Rellstab (1799-1860)"
+ enteredby = "JCN"
+ copyright = "public domain"
+ instrument = \instrument
% mutopia headers.
- mutopiatitle = "Standchen";
- mutopiasubtitle = "Leise flehen meine Lieder";
- mutopiacomposer = "Franz Schubert (1797-1828)";
- mutopiapoet = "Ludwig Rellstab (1799-1860)";
- mutopiaopus = "D957.4";
- mutopiainstrument = \instrument;
- date = "1828/08";
- style = "Romantic";
- source = "Schubert-Lieder; Edition Schott No. 608, (Not dated).
- Jubilaeums-Ausgabe zum 100. Todestage (~1928).";
-
- copyright = "Public Domain";
- maintainer = "Jan Nieuwenhuizen";
- maintainer_email = "janneke@gnu.org";
- lastupdated = "2001/Mar/26";
+ mutopiatitle = "Standchen"
+ mutopiasubtitle = "Leise flehen meine Lieder"
+ mutopiacomposer = "Franz Schubert (1797-1828)"
+ mutopiapoet = "Ludwig Rellstab (1799-1860)"
+ mutopiaopus = "D957.4"
+ mutopiainstrument = \instrument
+ date = "1828/08"
+ style = "Romantic"
+ source = "Schubert-Lieder Edition Schott No. 608, (Not dated).
+ Jubilaeums-Ausgabe zum 100. Todestage (~1928)."
+
+ copyright = "Public Domain"
+ maintainer = "Jan Nieuwenhuizen"
+ maintainer_email = "janneke@gnu.org"
+ lastupdated = "2001/Mar/26"
mutopiapublicdomain = "\\parbox{\hsize}{\\thefooter\\quad\\small
\\\\This music is part of the Mutopia project,
\\texttt{http://www.mutopiaproject.org/}\\\\It has been typeset
and placed in the public domain by " + \maintainer +
".\\\\Unrestricted modification and redistribution is permitted
- and encouraged---copy this music and share it.}";
- tagline = \mutopiapublicdomain;
- footer = "Mutopia-2001/03/26-xx";
+ and encouraged---copy this music and share it.}"
+ tagline = \mutopiapublicdomain
+ footer = "Mutopia-2001/03/26-xx"
}
-\version "1.3.141";
+\version "1.3.146"
dynamicUp = \property Voice.DynamicLineSpanner \override #'direction = #1
dynamicRevert = \property Voice.DynamicLineSpanner \revert #'direction
lyricVerseOne = \lyrics{
Lei- se fleh- en mei- ne Lie- der
- Durch die Nacht zu dir;
+ Durch die Nacht zu dir
In den stil- len Hain her- nie- der
Lieb- chen, komm zu mir!
Fl\"us- ternd schlan- ke Wip- fel rau- schen
In des Mon- des Licht,
- In des Mon- des Licht;
+ In des Mon- des Licht
Des Ver- r\"a- ters feind- lich Lau- schen
F\"urch- te, Hol- de, nicht,
}
bassVerseOne = \notes\relative c{
-% \clef bass;
+% \clef bass
\dynamicUp
%5
<c,2 c'> r4 |
}
global = \notes{
- \time 3/4;
- \key es \major;
- \skip 4 * 12;
+ \time 3/4
+ \key es \major
+ \skip 4 * 12
\break
- \skip 4 * 234;
- \bar "|.";
+ \skip 4 * 234
+ \bar "|."
}
allLyrics = \lyrics {
}
vocals = \context Voice {
- \clef treble;
+ \clef treble
% certainly no auto-beaming for vocals
\property Voice.noAutoBeaming = ##t
\property Staff.automaticMelismata= ##t
\dynamicUp
- \skip 4 * 12;
+ \skip 4 * 12
\vocalVerse
- \skip 4 * 24;
+ \skip 4 * 24
\vocalVerse
\vocalThrough
}
>
treble = {
- \clef treble;
+ \clef treble
\property Voice.autoBeamSettings \override #'(begin * * * *) = #(make-moment 0 1)
\trebleIntro
\trebleVerseOne
\treble
>
bass = {
- \clef bass;
+ \clef bass
\bassIntro
\bassVerseOne
\bassEentje
\translator { \HaraKiriStaffContext }
}
\midi{
- \tempo 4 = 54;
+ \tempo 4 = 54
}
}
-\version "1.3.122"
+\version "1.3.146"
\header {
- filename = "pa.ly";
- title = "Wachet auf, ruft uns die Stimme";
- opus = "BWV";
- composer = "Johann Sebastian Bach 1685-1750 ";
- enteredby = "JCN";
- copyright = "public domain";
+ filename = "pa.ly"
+ title = "Wachet auf, ruft uns die Stimme"
+ opus = "BWV"
+ composer = "Johann Sebastian Bach 1685-1750 "
+ enteredby = "JCN"
+ copyright = "public domain"
}
commands = \notes {
- \time 4/4;
+ \time 4/4
\property Staff.TimeSignature \override #'style = #'C
- \key es \major;
- \partial 8;
+ \key es \major
+ \partial 8
}
right = \notes \relative c' {
\commands
%if urtekst
- \clef "alto";
-% \clef "violin";
+ \clef "alto"
+% \clef "violin"
%if stable
% \property Voice."beamAutoEnd_8" = "1/4"
as16 d, es f es d c bes bes'8 es, g16 f es d |
es as g f g8 es \grace d()c8. d16 d8. es16|
es1|
- \bar "|.";
+ \bar "|."
}
clefs = \notes{
- \clef "alto";
- \partial 8;
- \skip 8;
+ \clef "alto"
+ \partial 8
+ \skip 8
%testin'
-% \clef "violin";
- \skip 1;
-% \clef "alto";
- \repeat "volta" 2 { \skip 1*19; }
+% \clef "violin"
+ \skip 1
+% \clef "alto"
+ \repeat "volta" 2 { \skip 1*19 }
\alternative {
- { \skip 1*2; }
- { \skip 1*1; } }
- \skip 1*11;
- s4 \clef "violin";
+ { \skip 1*2 }
+ { \skip 1*1 } }
+ \skip 1*11
+ s4 \clef "violin"
s4 s2
s1
- s4 s8 \clef "alto"; s8 s2
- \skip 1*12;
- s4 r8 \clef "violin"; s8 s2 \clef "alto";
+ s4 s8 \clef "alto" s8 s2
+ \skip 1*12
+ s4 r8 \clef "violin" s8 s2 \clef "alto"
}
left = \notes \relative c {
\commands
%if urtekst
- \clef "tenor";
-% \clef "bass";
+ \clef "tenor"
+% \clef "bass"
%if stable
% \property Staff.noVoltaBraces = 1
c g as8 g f4\trill|
es1|
R1*4
- \bar "|.";
+ \bar "|."
}
pedal = \notes \relative c, {
% \property Staff.noVoltaBraces = 1
% \property Staff.noVoltaBraces = ##t
\property Staff.VoltaBracket = \turnOff
- \clef "bass";
+ \clef "bass"
r8 |
es4 es es g
\repeat "volta" 2 {
bes8 c bes as g c as bes|
c d es g as f bes bes,|
es1
- \bar "|.";
+ \bar "|."
}
>
\paper {
- %textheight = 280.0 \mm;
+ %textheight = 280.0 \mm
% landscape:
-% textheight = 160.0 \mm;
- orientation = "landscape";
- linewidth = 280.0 \mm;
+% textheight = 160.0 \mm
+ orientation = "landscape"
+ linewidth = 280.0 \mm
%{
\translator {
\OrchestralScoreContext
- minVerticalAlign = 4.0*\staffheight;
- maxVerticalAlign = 4.0*\staffheight;
+ minVerticalAlign = 4.0*\staffheight
+ maxVerticalAlign = 4.0*\staffheight
}
%}
\translator {
\StaffGroupContext
- minVerticalAlign = 4.0*\staffheight;
- maxVerticalAlign = 4.0*\staffheight;
+ minVerticalAlign = 4.0*\staffheight
+ maxVerticalAlign = 4.0*\staffheight
}
\translator {
\PianoStaffContext
- minVerticalAlign = 2.5*\staffheight;
- maxVerticalAlign = 2.5*\staffheight;
+ minVerticalAlign = 2.5*\staffheight
+ maxVerticalAlign = 2.5*\staffheight
}
}
\midi {
- \tempo 4 = 69;
+ \tempo 4 = 69
}
}
\header{
-title = "Fuga a 4";
-opus = "BWV 846";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "Shay Rojansky";
+title = "Fuga a 4"
+opus = "BWV 846"
+composer = "Johann Sebastian Bach (1685-1750)"
+enteredby = "Shay Rojansky"
% mutopia headers.
- mutopiatitle = "Das Wohltemperierte Clavier I, Fuga 1 (c-major)";
- mutopiacomposer = "J.S.Bach";
- mutopiaopus = "BWV846";
- style = "baroque";
- copyright = "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!";
- maintainer = "hanwen@cs.uu.nl";
- lastupdated = "1999/Oct/14";
+ mutopiatitle = "Das Wohltemperierte Clavier I, Fuga 1 (c-major)"
+ mutopiacomposer = "J.S.Bach"
+ mutopiaopus = "BWV846"
+ style = "baroque"
+ copyright = "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!"
+ maintainer = "hanwen@cs.uu.nl"
+ lastupdated = "1999/Oct/14"
}
%{
TODO: use autobeaming.
%}
-\version "1.3.117";
+\version "1.3.146"
tenor =
\context Voice = tenor \notes \relative c' {
- \clef "violin";
+ \clef "violin"
\stemDown
r8 [c8 d e] [f8. g32 f] [e8 a] |
alt =
\context Voice = alt \notes \relative c {
- \clef "bass";
+ \clef "bass"
\stemUp
bass = \context Voice = bassvoice
\notes \relative c {
- \clef "bass";
+ \clef "bass"
\stemDown
\score {
\notes \context PianoStaff <
\context Staff = one {
- \time 4/4;
+ \time 4/4
<
\soprane
\tenor
- > \bar "|."; }
+ > \bar "|." }
\context Staff = two { <
\alt
\bass
- > \bar "|."; }
+ > \bar "|." }
>
\paper{
- linewidth = 18.0 \cm;
+ linewidth = 18.0 \cm
}
- \midi { \tempo 4 = 84; }
+ \midi { \tempo 4 = 84 }
}
\header {
- title = "Fuga a 3 voci";
- opus = "BWV 847-Fuga";
- source = "Henle's Urtext";
- composer = "Johann Sebastian Bach (1685-1750)";
- enteredby = "hwn, wl, jcn";
+ title = "Fuga a 3 voci"
+ opus = "BWV 847-Fuga"
+ source = "Henle's Urtext"
+ composer = "Johann Sebastian Bach (1685-1750)"
+ enteredby = "hwn, wl, jcn"
% mutopia headers.
- mutopiatitle = "Das Wohltemperierte Clavier I, Fuga II (c-minor)";
- mutopiacomposer = "J. S. Bach (1685-1750)";
- mutopiainstrument = "Piano";
- mutopiaopus = "BWV847";
- style = "baroque";
- copyright = "Public Domain";
- tagline = "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!";
- maintainer = "hanwen@cs.uu.nl";
- lastupdated = "2000/Feb/14";
+ mutopiatitle = "Das Wohltemperierte Clavier I, Fuga II (c-minor)"
+ mutopiacomposer = "J. S. Bach (1685-1750)"
+ mutopiainstrument = "Piano"
+ mutopiaopus = "BWV847"
+ style = "baroque"
+ copyright = "Public Domain"
+ tagline = "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!"
+ maintainer = "hanwen@cs.uu.nl"
+ lastupdated = "2000/Feb/14"
}
% It would be nice to squeeze this onto two pages, but I am not sure
% if it would work with US paper.
-\version "1.3.117";
+\version "1.3.146"
dux = \context Voice=two \notes \relative c''{
\voiceTwo
- \clef violin;
+ \clef violin
r8 c16 b c8 g as c16 b c8 d |
g, c16 b c8 d f,16 g as4 g16 f |
}
bassdux = \context Voice=three \notes \relative c' {
- \clef bass;
+ \clef bass
R1 |
R |
R |
\notes \context PianoStaff <
\context Staff = treble <
- \key c \minor;
-% \key es \major;
+ \key c \minor
+% \key es \major
\dux
- { \comes \bar "|."; }
- \time 4/4;
+ { \comes \bar "|." }
+ \time 4/4
>
\context Staff = bass <
- \key c \minor;
+ \key c \minor
\bassdux
>
>
\paper {
- linewidth = 18.0 \cm;
+ linewidth = 18.0 \cm
\translator{ \OrchestralScoreContext
timeSignatureStyle \override #'style = #"C"
}
\header{
- opus = "BWV 847";
+ opus = "BWV 847"
}
\midi {
- \tempo 4 =84;
+ \tempo 4 =84
}
}
\header{
-title = "Preludium";
-opus = "BWV 846";
-composer = "Johann Sebastian Bach (1685-1750)";
-enteredby = "Shay Rojansky";
+title = "Preludium"
+opus = "BWV 846"
+composer = "Johann Sebastian Bach (1685-1750)"
+enteredby = "Shay Rojansky"
% mutopia headers.
- mutopiatitle = "Das Wohltemperierte Clavier I, Prelude 1 (c-major)";
- mutopiacomposer = "J.S.Bach";
- mutopiaopus = "BWV846";
- style = "baroque";
- copyright = "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!";
- maintainer = "hanwen@cs.uu.nl";
- lastupdated = "1999/Oct/14";
+ mutopiatitle = "Das Wohltemperierte Clavier I, Prelude 1 (c-major)"
+ mutopiacomposer = "J.S.Bach"
+ mutopiaopus = "BWV846"
+ style = "baroque"
+ copyright = "\\\\This music is part of the Mutopia project, http://sca.uwaterloo.ca/Mutopia/\\\\It has been typeset and placed in the public domain by Han-Wen Nienhuys.\\\\Unrestricted modification and redistribution is permitted and encouraged - copy this music and share it!"
+ maintainer = "hanwen@cs.uu.nl"
+ lastupdated = "1999/Oct/14"
}
-\version "1.3.117";
+\version "1.3.146"
% should do programmable input.
soprane =
\context Staff <
% Real soprane
\context Voice = uVoice {
- \time 4/4;
- \clef "violin";
+ \time 4/4
+ \clef "violin"
\stemUp
r8 [g16 c'] [e' g c' e'] r8 [g16 c'] [e' g c' e'] |
r8 [f,16 a,] [c f c a,] [c a, f, a,] [f, d, f, d,] |
r8 [g16 b] [d' f' d' b] [d' b g b] [d f e d] |
- <e1 g c'> \bar "|.";
+ <e1 g c'> \bar "|."
}
bass =
\notes {
- \clef "bass";
+ \clef "bass"
\stemDown
c, c, |
c, c, |
- c,1 \bar "|."; }>
+ c,1 \bar "|." }>
}
\bass
>
\midi {
- \tempo 4 = 80;
+ \tempo 4 = 80
}
}
# lilypond_version_re_str = '\\\\version *\"(.*)\"'
lilypond_version_re_str = '\\\\(mudela-)?version *\"(.*)\"'
lilypond_version_re = re.compile (lilypond_version_re_str)
+add_version = 1
+
def program_id ():
return '%s (GNU LilyPond) %s' %(program_name, version);
-a, --assume-old apply all conversions to unversioned files
-h, --help print this help
-e, --edit in place edit
- -f, --from=VERSION start from version
+ -f, --from=VERSION start from version. Overrides \version found in file.
-s, --show-rules print all rules.
-t, --to=VERSION target version
+ -n, --no-version don't add new version stamp.
--version print program version
Report bugs to bugs-gnu-music@gnu.org
conversions.append (((1,3,145), conv,
'ContextNameXxxxVerticalExtent -> XxxxVerticalExtent'))
+if 1:
+ def conv (str):
+ str = re.sub ('\\\\key[ \t]*;', '\\key \\default;', str)
+ str = re.sub ('\\\\mark[ \t]*;', '\\mark \\default;', str)
+
+ # only remove ; that are directly after words.
+ # otherwise we interfere with Scheme comments, which is badbadbad.
+ str = re.sub ("([^ \t]);", "\\1", str)
+
+ return str
+ conversions.append (((1,3,146), conv, 'semicolons removed'))
+
################################
# END OF CONVERSIONS
################################
if last_conversion:
sys.stderr.write ('\n')
new_ver = '\\version \"%s\"' % tup_to_str (last_conversion)
- # JUNKME?
- # ugh: this all really doesn't help
- # esp. as current conversion rules are soo incomplete
+
if re.search (lilypond_version_re_str, str):
str = re.sub (lilypond_version_re_str,'\\'+new_ver , str)
- #else:
- # str = new_ver + '\n' + str
+ elif add_version:
+ str = new_ver + '\n' + str
outfile.write(str)
outfile_name = ''
(options, files) = getopt.getopt (
- sys.argv[1:], 'ao:f:t:seh', ['assume-old', 'version', 'output', 'show-rules', 'help', 'edit', 'from=', 'to='])
+ sys.argv[1:], 'ao:f:t:senh', ['no-version', 'assume-old', 'version', 'output', 'show-rules', 'help', 'edit', 'from=', 'to='])
for opt in options:
o = opt[0]
outfile_name = a
elif o == '--assume-old' or o == '-a':
assume_old = 1
+ elif o == '--no-version' or o == '-n':
+ add_version = 0
else:
print o
raise getopt.error
#!@PYTHON@
# vim: set noexpandtab:
# TODO:
-# * Figure out clean set of options. Hmm, isn't it pretty ok now?
-# * add support for .lilyrc
+# * junk --outdir for --output
+# * Figure out clean set of options.
+# *
# * EndLilyPondOutput is def'd as vfil. Causes large white gaps.
# * texinfo: add support for @pagesize
%% Generated automatically by: lilypond-book.py
%% options are %s %%ughUGH not original options
\include "paper%d.ly"
-\paper { linewidth = %f \pt; }
+\paper { linewidth = %f \pt }
""" % (optstring, music_size, l) + body
return body