apply to input examples.
* lily/paper-outputter.cc (output_stencil): don't use
smobify_self() but self_scm() (ouch).
* lily/include/ly-smobs.icc (IMPLEMENT_SMOBS): don't return SCM
from smobify_self().
* lily/paper-book.cc (output): load framework module
scm_c_resolve_module().
2004-06-14 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * scripts/convert-ly.py (conv): remove \notes.
+ apply to input examples.
+
+ * lily/paper-outputter.cc (output_stencil): don't use
+ smobify_self() but self_scm() (ouch).
+
+ * lily/include/ly-smobs.icc (IMPLEMENT_SMOBS): don't return SCM
+ from smobify_self().
+
* lily/paper-book.cc (output): load framework module
scm_c_resolve_module().
-\version "2.2.0"
+\version "2.3.4"
% A simple scale in LilyPond
%
%%
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
c' d e f g a b c
}
\paper { }
-\version "2.2.0"
+\version "2.3.4"
% Some beamed and slurred notes of different taste in LilyPond
%
% Type:
%%
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
a''2 ~ a4( e8[ )e] a,16[ a a a]
}
\paper { }
#(ly:set-option 'old-relative)
-\version "2.2.0"
+\version "2.3.4"
-one = \notes\relative c{
+one = \relative c{
c'' d e f
}
-two = \notes\relative c{
+two = \relative c{
\clef "bass"
c'2 g2
}
#(ly:set-option 'old-relative)
-\version "2.3.2"
+\version "2.3.4"
\encoding "latin1"
\header {
composer = "ARTHUR GRAY"
(lambda (elt) (equal? text (ly:get-grob-property elt 'text))))
-treble = \new Voice \notes\relative c''{
+treble = \new Voice \relative c''{
\key a \major
r2
| %2
\bar "||"
}
-trebleTwo = \new Voice \notes\relative c''{
+trebleTwo = \new Voice \relative c''{
\stemDown
\slurDown
% \fingerDown
<a cis,>)]
}
-bass = \new Voice \notes\relative c{
+bass = \new Voice \relative c{
\partial 2
\key a \major
a)]
}
-bassTwo = \new Voice \notes\relative c{
+bassTwo = \new Voice \relative c{
\skip 2
\skip 1*2
\skip 2
cis'4( bis)
}
-middleDynamics = \notes{
+middleDynamics = {
\override Dynamics.TextScript #'padding = #-1 %tweak
s2
s1*2
-\version "2.2.0"
+\version "2.3.4"
\header {
title = "Title"
subtitle = "Subtitle"
-\version "2.3.2"
+\version "2.3.4"
\header {
title = "Puer natus est nobis (excerptum)"
subtitle = "Antiphona ad introitum VII"
%%% but this is intentional for editorial purposes (simplifies some
%%% global search/replace operations in emacs).
-cantus = \context VaticanaVoice = "cantus" \notes {
+cantus = \context VaticanaVoice = "cantus" {
\[ g4\melisma %%% Pu-
\pes
d'\melismaEnd
-\version "2.2.0"
+\version "2.3.4"
%% +.ly: Be the first .ly file for lys-to-tely.py.
%% Better to make lys-to-tely.py include "introduction.texi" or
%% other .texi documents too?
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Cautionary accidentals are indicated using either
}
\score {
- \notes {
+ {
c''4
cis''?4
\override Staff.Accidental #'cautionary-style = #'smaller
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "If two forced accidentals happen at the same time, only one
sharp sign is printed."
}
-\score { \notes \transpose c c'
+\score { \transpose c c'
\context Staff <<
\key g \major
\context Voice=va { \stemUp c' fis! }
-\version "2.2.0"
+\version "2.3.4"
\header {
\score {
- \notes
+
\relative c {
disis
dis
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="
-mel = \notes \transpose c c' {
+mel = \transpose c c' {
\time 4/4 \key d \major
gis4 g' g gis' | gis2 g' | g1 | gis | g | gis' | g |
fis4 f' f fis' | fis2 f' | f1 | fis | f | fis' | f |
-\version "2.2.0"
+\version "2.3.4"
\header {
\score {
- \notes \context Voice \relative c'
+ \context Voice \relative c'
{
cis4
c4
texidoc = "Quarter tone notation is supported, including
threequarters flat."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \relative c'' {
+ \relative c'' {
\time 12/4
ceses4
ceseh
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
A sharp sign after a double sharp sign, as well as a flat sign
-thenotes = \notes \relative cis' { \time 4/4
+thenotes = \relative cis' { \time 4/4
gisis'4 gis gisis ges |
}
-\version "2.2.0"
+\version "2.3.4"
\header {
}
-mus = \notes \relative c' {
+mus = \relative c' {
f1~
f2~f4 % ~ f8
fis8 gis8 ~
}
\score {
- \notes <<
+ <<
\new NoteNames \mus
\new Voice { \key g \major \mus }
>>
wreak havoc in the spacing when unbroken."
}
-\version "2.2.0"
+\version "2.3.4"
-rechts = \notes \relative c' {
+rechts = \relative c' {
\clef treble
\time 3/4
c8 b2 <g b des f>8 ~ |
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
-voicea = \notes \transpose c c' {
+voicea = \transpose c c' {
\stemUp
fis2 a2 f4 fis a2
}
-voiceb = \notes \transpose c c' {
+voiceb = \transpose c c' {
\stemDown
c2 fis2 f4 c f2
}
\score {
<<
- \notes
+
\new NoteNames {
\set printOctaveNames = ##f
\voicea
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
-foo = \notes\relative c'' { \key as \major dis4 dis dis!^"force" dis? }
+foo = \relative c'' { \key as \major dis4 dis dis!^"force" dis? }
\score {
<< \foo
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
This shows how accidentals are handled.
"
}
-mel = \notes { \key d \major \time 4/4
+mel = { \key d \major \time 4/4
d4 dis dis8 dis, d4 | d dis disis8 d, dis4 | d des disis8 dis, d4 | dis deses d dis ~ | dis dis ~ dis8 d, dis4 ~ | \break
dis dis cis c | c cis cisis cis | c ces cisis c | cis ceses c cis ~ | cis cis ~ cis cis \bar "|." | \break
}
-\score { \notes
+\score {
<<
\context Staff \transpose c c'' \mel
\context NoteNames{
%}
-\version "2.3.2"
+\version "2.3.4"
-upper = \notes \relative c {
+upper = \relative c {
\clef "treble"
\key c \minor
as'' c e bes f cis d e f g f e d f d e
f d e e d f d e e d f d e e d f d e
}
-lower = \notes \relative c {
+lower = \relative c {
\clef "treble"
\key e \major
e'2 b4 g a c es fis a cis b a g f e d
-\version "2.3.1"
+\version "2.3.4"
\header {
\paper { raggedright= ##t }
-\score { \notes \relative c'' {
+\score { \relative c'' {
c1 c1
%% todo: should put something interesting in the .tex output.
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc = "The @code{\applyoutput} expression is the most flexible way to
\score {
-\notes \context Voice \relative c' {
+ \context Voice \relative c' {
\stemUp
\set autoBeaming = ##f
{ <d f g b>8
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
A square bracket on the left indicates that the player should not
}
\score{
- \notes\relative c''{
+ \relative c''{
\arpeggioBracket
<fis, d a >\arpeggio
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Arpeggio stays clear of accidentals and flipped note heads."
}
\score{
- \notes \transpose c c' {
+ \transpose c c' {
<fis'' g d a>\arpeggio
<fis, g d a>\arpeggio
<fis'' g d a>\arpeggio
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Arpeggios are supported, both cross-staff and broken single staff.
\score{
- \context PianoStaff\notes <<
+ \context PianoStaff <<
\new Staff \relative c''{
<fis, d a>\arpeggio
\override Staff.Arpeggio #'arpeggio-direction = #1
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="No auto beams will be put over (manual) repeat bars."
}
\score {
- \notes {
+ {
\time 3/4
a'4 b' c''8 \bar ":|:" d''8
}
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes { c8 c-\noBeam c c }
+ { c8 c-\noBeam c c }
}
texidoc = "Automatic beaming is also done on tuplets."
}
-\version "2.2.0"
+\version "2.3.4"
\score{
- \notes\relative c''{
+ \relative c''{
c8 c c c
\times 4/6 { c c c c c c}
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Tuplet-spanner should not put (visible) brackets on
beams even if they're auto generated."
}
-\score { \notes \relative c' {
+\score { \relative c' {
\set tupletSpannerDuration = #(ly:make-moment 1 4)
\override TupletBracket #'bracket-visibility = #'if-no-beam
\times 2/3 {
}
-\version "2.3.2"
+\version "2.3.4"
\paper { raggedright = ##t }
\score {
- \notes \relative c'' {
+ \relative c'' {
a\longa a\breve
a1 a2 a4 a8 a16 a32 a64 a64
}
-\version "2.2.0"
+\version "2.3.4"
\header {
\paper { raggedright= ##t }
\score {
- \notes \context PianoStaff <<
+ \context PianoStaff <<
\context Staff = "up" {
\autochange \context Voice = VA << \relative c' { g4 c e d c r4 a g } >>
}
texidoc = "With balloon texts, objects in the output can be marked,
with lines and explanatory text added."
}
-\version "2.3.1"
+\version "2.3.4"
\score {
- \notes {
+ {
\relative c' {
-\version "2.3.0"
+\version "2.3.4"
\header {
texidoc = "The meaning of @code{|} is stored in the
identifier @code{pipeSymbol}."
pipeSymbol = \bar "||"
\score {
- \notes { c'2 | c'2 | }
+ { c'2 | c'2 | }
}
-\version "2.3.2"
+\version "2.3.4"
\header {
}
\score {
- \notes \relative c'' {
+ \relative c'' {
\partial 4 c4
c1 c c
\set Score.currentBarNumber = #99999
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\paper { raggedright = ##t }
-onestaff = \new Staff\notes\relative c'' {
+onestaff = \new Staff\relative c'' {
\set Staff.instr = instr
\set Staff.instrument = instrument \mark "B"
c1 \mark "A" \break c2 c2 \break
}
-grstaff = \notes \relative c''
+grstaff = \relative c''
\context GrandStaff <<
\new Staff {
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc="A knee is made automatically when a horizontal
beam fits in a gap between note heads that is larger than a predefined
}
\score {
- \context Staff \notes\relative c''{
+ \context Staff \relative c''{
c'8[ c,,] c8[ e']
c,16[ e g c e g c c,,]
}
"
}
-\version "2.2.0"
+\version "2.3.4"
\paper { raggedright= ##t }
-\score { \notes \relative c'' {
+\score { \relative c'' {
\set Score.allowBeamBreak = ##t
\time 3/16 c16-[ d e \break f-]
}}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="Simple beams on middle staffline are allowed to be
}
\score{
- \notes\relative c'{
+ \relative c'{
%%\override Staff.Stem #'beamed-lengths = #'(3.50)
%% c8[ d]
%% d[ c]
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "Concave beams should be horizontal. Informally spoken,
\score{
- \notes\relative c'{
+ \relative c'{
%% This case seems easy: second beam should be horizontal.
-\version "2.2.0"
+\version "2.3.4"
\header{
}
\score {
- \notes \context PianoStaff <<
- \context Staff = "up" \notes\relative c''{
+ \context PianoStaff <<
+ \context Staff = "up" \relative c''{
b8[ \change Staff="down" d,, ]
c[ \change Staff="up" c'' ]
b,[ \change Staff="down" d^"no knee" ]
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Cross staff (kneed) beams do not cause extreme slopes."
}
\score {
- \notes\context PianoStaff <<
+ \context PianoStaff <<
\context Staff = up
\relative c'' <<
{
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Beams can be typeset over fixed distance aligned staves, beam
}
\score{
\context PianoStaff <<
- \context Staff=one \notes\relative c'{
+ \context Staff=one \relative c'{
\stemUp c8[ c \change Staff=two \stemUp c c]
c[ c c c]
\change Staff=one
\stemUp c8[ c \change Staff=one \stemDown c c]
r2
}
- \context Staff=two \notes\relative c'{
+ \context Staff=two \relative c'{
\clef bass
s1
s1
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Beam Damp
Beams are less steep than the notes they encompass. " }
\score{
- \notes\relative c''{
+ \relative c''{
% \stemUp
% a16[ b b c]
% c[ b b a]
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="Beamed stems have standard lengths if possible. Quantization is switched off in this example."
}
\score{
- \notes\relative c'{
+ \relative c'{
\override Beam #'position-callbacks =
#`(,Beam::least_squares
,Beam::check_concave
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Beams should behave reasonably well, even under extreme circumstances.
"
}
-extreme = \notes\relative c'' {
+extreme = \relative c'' {
\stemBoth
g8[ c c,]
c16[ c'' a f]
-\version "2.2.0"
+\version "2.3.4"
\header {
}
-\score { \notes
+\score {
\relative c'
{
\override Stem #'french-beaming = ##t
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc=" Funky kneed beams with beamlets also work. The beamlets
\score {
- \notes\relative c' {
+ \relative c' {
c16 c''8 c,,16
c16 c''8 c16
c16 c,,8 c16
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "In complex configurations of knee beaming, according to
}
-\score { \notes
+\score {
\relative c'
{
\override Beam #'auto-knee-gap = #7
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Point-symmetric beams should receive the same
}
\score{
- \notes\relative c'{
+ \relative c'{
a8[ b'' a,, b'']
b8[ a,, b'' a,,]
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
d''8[ d d] d[ g d]
c c
}
-\version "2.2.0"
+\version "2.3.4"
\header {
"Beaming can be overidden for individual stems."
}
\score {
- \notes \relative c'' {
+ \relative c'' {
c32[ c
%% WARNING: #'beaming is written, so this
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Kneed beams (often happens with cross-staff beams)
"
}
-\score { \notes
+\score {
\context PianoStaff \relative c' <<
\context Staff = SA {
\stemDown
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Explicit beams may cross barlines. "
}
\score {
-\notes \relative c'' { c2. c8[ c8 c8 c8] }
+ \relative c'' { c2. c8[ c8 c8 c8] }
\paper { raggedright= ##t }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc=" Beams on ledgered notes should always reach the middle staff
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
f8[ f] f64[ f]
\grace {
f8[ e8]
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Beams and ties may be entered in postfix notation, separating the
\score
{
- \notes\relative c''
+ \relative c''
{
c8[~ c]
}
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \relative c''{
+ \relative c''{
\time 3/8
a'16[ b] g[ b]
a32[ b] g[ b]
-\version "2.2.0"
+\version "2.3.4"
\header{
}
\score{
- \notes\relative c' {
+ \relative c' {
c8[ c] a''[ a]
a,[ a] c[ c]
d,8[ d] g'[ g]
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc= "Quarter notes may be beamed: the beam is halted momentarily."
}
-\score {\notes \relative c'' {
+\score { \relative c'' {
c8[ c4 c8] % should warn here!
}
\paper { raggedright = ##t}
texidoc = "The number of beams does not change on a rest."
}
-\version "2.2.0"
+\version "2.3.4"
-\score { \notes \relative c, {
+\score { \relative c, {
\clef bass
e8[ r16 f d'8 e16 e16] c8[ c16 r16 bes8 r16 c16] |
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Engraving second intervals is tricky. We used to have problems with seconds
" }
\score{
- \notes\relative c''{
+ \relative c''{
\stemUp
b8[ c]
b16[ c]
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="Beams in unnatural direction, have shortened stems, but do not look too short."
}
\score{
- \notes\relative c'{
+ \relative c'{
\override Beam #'position-callbacks =
#`(,Beam::least_squares
,Beam::check_concave
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "Hairy case for beam, chord, and automatic knees."
\score{
- \notes\relative c'{
+ \relative c'{
%\stemUp
\clef alto
\time 3/4
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Automatic beaming works also in ternary time sigs."
}
\score {
- \notes \relative c'' {
+ \relative c'' {
\time 6/8
c8.[ c16 c16 c16]
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
-\score { \context Staff \notes \relative c'' {
+\score { \context Staff \relative c'' {
c8.[ c16]
c8.[ c16 c8. c16]
c16[ c8.] |
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Beaming can be also given explicitly."
}
\paper { raggedright= ##t }
-\score { \notes
+\score {
\relative c'
{
c16[ c8.]
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\score{
- \notes\relative c'' \context Voice{
+ \relative c'' \context Voice{
\emptyText
c1 \noBreak c1 \noBreak \mark "nobreak" c1 \noBreak
c1 \break \mark "break" c1 \break \mark "break" c1
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
% Gregorian notation:
%
\context VaticanaStaff {
- \notes \relative c' {
+ \relative c' {
% we turn bars and bar numbers off for Gregorian stuff
\override Staff.BarLine #'transparent = ##t
#(ly:set-option 'old-relative)
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Breathing signs are available in different tastes: commas (default),
% Modern notation:
%
\new Staff {
- \notes \relative c'' {
+ \relative c'' {
\key es \major \time 3/4
% this bar contains no \breathe
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="Property chordChanges: display chord names only when
}
\score {
- \notes <<
+ <<
\context ChordNames << \scheme \settings >>
\context Staff \transpose c c' \scheme
>>
-\version "2.2.0"
+\version "2.3.4"
\header {
-\version "2.2.0"
+\version "2.3.4"
\header {
\score
{
-\notes { \context Voice \chords {
+ { \context Voice \chords {
c1_"(nothing)"
c:7_":7"
c:m_":m"
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "The property @code{chordNameExceptions} can used
to store a list of special notations for specific chords.
Putting the exceptions list encoded as
@example
- \\notes @{ <c f g bes>1\\markup @{ \\super \"7\" \"wahh\" @} @}
+ \ @{ <c f g bes>1\\markup @{ \\super \"7\" \"wahh\" @} @}
@end example
into @code{chordNameExceptions} takes a little manoeuvring. The
following code transforms @code{chExceptionMusic} (which is a
% 7sus4 denoted with ^7 wahh
-chExceptionMusic = \notes {
+chExceptionMusic = {
<c f g bes>1-\markup { \super "7" "wahh" }}
% add to existing exceptions.
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "The layout of the major 7 can be tuned with
@code{majorSevenSymbol}."
-\version "2.2.0"
+\version "2.3.4"
\header {
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Scripts can also be attached to chord elements."
}
\score {
- \notes \relative c''{
+ \relative c''{
< c-. > 4
< c-> > 4
< c-. e-. g-. b-. >
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "
Tremolo repeats can be constructed for short tremolos (total duration smaller than 1/4) too. Only some of the beams are connected to the stems.
}
\score {
- \context Staff \notes \relative c' {
+ \context Staff \relative c' {
\repeat "tremolo" 2 { c32 e32 }
\stemDown
\repeat "tremolo" 2 { c32 e32 }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
}
\score {
- \context Voice \notes\relative c' {
+ \context Voice \relative c' {
\time 4/4
\repeat "tremolo" 16 { d32 e }
\repeat "tremolo" 8 { d16 e }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Jazz chords may have unusual combinations."
}
-chs = \notes
+chs =
{
<c d f g>1
<c d e f g>1
% #(set-chord-name-style 'ignatzek)
\chs
}
- \context Staff \notes \transpose c c' { \chs }
+ \context Staff \transpose c c' { \chs }
>>
}
-\version "2.2.0" \header {
+\version "2.3.4" \header {
texidoc = "Octavation signs may be added to clefs. These
octavation signs may be placed below or above (meaning an octave
}
-\score { \notes
+\score {
\relative c'' {
-\version "2.2.0"
+\version "2.3.4"
\header{
\score {
- \notes{
+ {
\clef "treble" c'1^"{treble}" \bar "||"
\clef "french"c'1^"{french}" \bar "||"
}
-\version "2.3.1"
+\version "2.3.4"
\score {
-\notes \new PianoStaff <<
+ \new PianoStaff <<
\context Staff = up {
s1 *2
}
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc = "Clusters are a device to denote that a complete range of
notes is to be played."
}
-fragment =\notes \relative c' {
+fragment = \relative c' {
c4 f4 <e d'>4
<g a>8 <e a> a4 c2 <d b>4 e4
c4 }
\score {
- \notes <<
+ <<
\new Staff \fragment
\new Staff \applymusic #notes-to-clusters \fragment
>>
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Single head notes may collide. "
}
\score {
- \notes
+
- \context Staff \notes \transpose c c' <<
+ \context Staff \transpose c c' <<
{ c4 d e f g2 g4 a | } \\
{ g4 f e g g2 g2 }
>>
dots: notes with dots should go to the right, if there could be
confusion to which notes the dots belong."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \relative c'' {
+ \relative c'' {
<< <a c>2\\ { <b d>4 <b d>4 } >>
<< { <a c>2 } \\ { <b d>4. <b e>8 } >>
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "If collision resolution finds dotted note head must
\paper { raggedright = ##t }
\score {
- \notes \relative c {
+ \relative c {
\key d \minor
\clef bass
<< <cis a' cis>4 \\ { g'8. bes16} >>
on the right side."
}
-\version "2.2.0"
+\version "2.3.4"
\paper { raggedright= ##t }
% todo: b2 (up) + b8 down looks strange compared to c2up + b8. (down)
\score{
- \context Staff \notes <<
+ \context Staff <<
\clef "bass"
{ b8. c'16 d'4 b8 c'8 d'4 b2 b2 }
\\
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Note heads in collisions should be merged if
they have the same positions in the extreme note heads.
\score {
-\notes \relative c'' {
+ \relative c'' {
c4
<< { c4 d4 <c d>8 <c d> <c d> } \\ { c4 c <a b>8 <b c> <c d>8 } >>
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc =
\score {
- \context Staff \notes \relative c'' <<
+ \context Staff \relative c'' <<
{
c2 c8 c4.
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "If NoteCollision has merge-differently-dotted = ##t note
\paper { raggedright= ##t }
\score {
- \context Staff \notes\relative c'' <<
+ \context Staff \relative c'' <<
{
g8[ g8]
\override Staff.NoteCollision #'merge-differently-dotted = ##t
texidoc = "When merging heads, the dots are merged too."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
-\notes {
+ {
\relative c'' \new Staff {
<< { d8. e16 } \\ { d8. b16 } >>
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Oppositely stemmed chords, meshing into each other,
are resolved."
\score {
- \context Staff \notes \transpose c c' {
+ \context Staff \transpose c c' {
\time 3/4
% Here's what I was trying to do:
<< {
#(ly:set-option 'old-relative)
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
In addition to normal collision rules, there is support for polyphony,
twovoice =
-\notes \relative c' \context Staff \notes <<
+ \relative c' \context Staff <<
{ g4 f f e e d d c }
\\ { c4 c d d e e f f }
>>
-twovoicechords = \context Staff \notes <<
+twovoicechords = \context Staff <<
\relative c' {
e4 d c b a g f
}\\
>>
-threevoice = \context Staff \notes <<
+threevoice = \context Staff <<
{ g4 f e f g a g2 } \\
{ c4 d e d c d es } \\
{ e4 e e e e e e e }
>>
-hairyChord = \context Staff \notes \relative c''
+hairyChord = \context Staff \relative c''
<< e \\
fis, \\
cis' \\
\score{
- \notes { \transpose c c' {
+ { \transpose c c' {
\twovoice
\twovoicechords
\threevoice }
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Completion heads are broken across bar lines. This was
}
\score{
- \context Staff \notes \relative c'' <<
+ \context Staff \relative c'' <<
{ c2. c bes2 } \\
{ c2. a8 g4 f4. g4 f }
>>
-\version "2.3.2"
+\version "2.3.4"
\header{
texidoc="
\score{
- \notes\relative c'{
+ \relative c'{
\time 2/4
c2. c8 d4 e f g a b c2.. b8 a g16 f4 e d c8. c2
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Custodes may be engraved in various styles."
}
\score {
- \notes {
+ {
\override Staff.Custos #'neutral-position = #4
\override Staff.Custos #'style = #'hufnagel
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Dots move to the right when a collision with the (up)flag happens."
}
\score {
- \notes\relative c''
+ \relative c''
{
\time 8/4
\set Staff.autoBeaming = ##f
-\version "2.2.0" \header{
+\version "2.3.4" \header{
texidoc=" Noteheads can have dots, and rests too.
\score {
- \context Voice \notes\relative c'' {
+ \context Voice \relative c'' {
\time 6/8
d4. g,,
\stemDown
}
-\version "2.2.0"
+\version "2.3.4"
drh = \drums { cymc4.^"crash" hhc16^"h.h." hh \repeat "unfold" 5 {hhc8 hho hhc8 hh16 hh} hhc4 r4 r2 }
drl = \drums {\repeat "unfold" 3 {bd4 sn8 bd bd4 << bd ss >> } bd8 tommh tommh bd toml toml bd tomfh16 tomfh }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "Broken crescendi should be open on one side."
}
-\score { \notes \relative c'' {
+\score { \relative c'' {
c1 \< \break c1\! \> \break c1\!
}
\paper {
-\version "2.2.0"
+\version "2.3.4"
\header {texidoc = "Dynamic letters are kerned, and their weight
matches that of the hairpin signs. The dynamic scripts should be
\score {
-\notes\relative c'' { c1\ff
+\relative c'' { c1\ff
e,-.-> \f
e \rfz
c' \mf
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc=" Dynamics appear below or above the staff. If multiple
dynamics are linked with (de)crescendi, they should be on the same
\score{
-\notes\relative c''{
+\relative c''{
a1^\sfz
a1\fff\> c,,\!\pp a'' a\p
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Crescendi may start off-notes, however, they should not collapse into flat lines."
}
-\score { \notes { \context Voice {
+\score { { \context Voice {
<< f''1 { s4 s4 \< s4\! \> s4\! } >>
}}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = " Easy-notation (or Ez-notation) prints names in note heads.
}
\score {
- \notes {
+ {
\setEasyHeads
c'2 g'2 | g'1
\override NoteHead #'note-names = ##("U" "V" "W" "X" "Y" "Z" "z")
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "
Figured bass is created by the FiguredBass context which eats
" }
-\score { \notes <<
+\score { <<
\context FiguredBass {
\figures {
<3 [5 7]>
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "With the new chord syntax, it is possible to associate
\score {
- \notes \relative c'{
+ \relative c'{
%% input order is not 1 2 3 , output is.
<c-1 g'-3 e-2 b'-4 d-5 f-6 a-7 c-8 > 4
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Automatic fingering tries to put fingering instructions
\score {
- \notes\relative c' {
+ \relative c' {
c4-4
<c-1 f-4>
< c-1 e-2 g-3 b-4 >
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "
The line-spanners connects to the Y position of the note on the next line.
\score{
\context PianoStaff <<
\set PianoStaff.followVoice = ##t
- \context Staff=one \notes\relative c''{
+ \context Staff=one \relative c''{
a1 \break
\change Staff=two
a,
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "The magnification can be set for any font. Note
that this does not change variable symbols such as beams or slurs.
" }
\score {
-\notes \relative c'' \context Voice {
+ \relative c'' \context Voice {
\override NoteHead #'font-magnification = #0.9
c4
\override NoteHead #'font-magnification = #0.8
-\version "2.2.0"
+\version "2.3.4"
\header {
%}
\score {
- \notes {
+ {
\override Staff.TimeSignature #'font-name = #"cmr17"
\set Score.skipBars = ##t
-\version "2.3.1"
+\version "2.3.4"
\header{
texidoc="
}
\score{
- \notes\relative c''{
+ \relative c''{
\context Bottom
\applyoutput #(outputproperty-compatibility
(make-type-checker 'note-head-interface)
#(ly:set-option 'old-relative)
-\version "2.3.2"
+\version "2.3.4"
\header{
}
\score{
- \context Staff=one \notes\relative c''{
+ \context Staff=one \relative c''{
% gliss non gliss and
c4 \glissando d e \glissando f \glissando \break
% consecutive
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "The autobeamer is not confused by grace notes."
}
\score{
- \notes\context Voice \relative c''{
+ \context Voice \relative c''{
\grace a8 g16 f e f \grace a8 g16 f e f \grace a8 g16 f e f
\grace a8 g16 f e f |
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Bar line should come before the grace note."
}
-\score {\notes \relative c' \context Staff {
+\score { \relative c' \context Staff {
f1 \grace { a'16[ f] } g1 }
\paper { raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace notes do tricky things with timing. If a measure
"
}
-\score { \notes\relative c'' { c1 \break
+\score { \relative c'' { c1 \break
\grace c8
c1 }
\paper { raggedright= ##t }
-\version "2.2.0"
-\score { \notes\relative c'' { c4 d8[ \grace { e32[ d c d] } e8] e[ e \grace { f16 } e8 e] }}
+\version "2.3.4"
+\score { \relative c'' { c4 d8[ \grace { e32[ d c d] } e8] e[ e \grace { f16 } e8 e] }}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="@cindex Grace End
}
\score {
- \context Voice \notes\relative c' {
+ \context Voice \relative c' {
c4 \grace { d16[ d16] }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example."
}
\score {
- \notes {
+ {
c''2 { \grace b'16 c''2 } \bar "|."
}
\paper {
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example."
\score{
-\notes
+
{ c''2 { \grace b'16 c''2 } \bar "|." }
\paper {
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace code should not be confused by nested sequential musics, containing grace notes; practically speaking, this means that the end-bar and measure bar coincide in this example."
\paper { raggedright= ##t }
-\score { \notes \context Voice {
+\score { \context Voice {
{ \grace b'8 c''2 }
\grace b'16 c''4 c''4 \bar "|."
}}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "In nested syntax, graces are still properly handled."
}
\paper { raggedright= ##t }
-\score { \notes \relative c'' {
+\score { \relative c'' {
f1
\grace e8 f1
<< { \grace { e8 } f1 } >>
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Also in the nested syntax here, grace notes appear rightly."
}
-\score { \notes \context Voice \relative c'' {
+\score { \context Voice \relative c'' {
<<
{ \grace g32 f4 }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Graces notes may have the same duration as the main note."
}
\score
-{ \notes \relative c'' {
+{ \relative c'' {
s2 <f>4
\grace g e4
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace notes may be put in a @code{partcombine}r."
}
\score {
\new Staff
\partcombine
- \notes \relative c'' {
+ \relative c'' {
c4 d e f \grace f16 g1
}
- \notes \relative c' {
+ \relative c' {
c4 d e2 g1
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "Stripped version of trip.ly. Staves should be of correct length."
}
\paper { raggedright= ##t }
\score{
- \context PianoStaff \notes \relative c'' <<
+ \context PianoStaff \relative c'' <<
\new Staff {
r1
r1
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Pieces may begin with grace notes."
}
-\score {\notes \relative c' \context Staff {
+\score { \relative c' \context Staff {
\grace { a'16[ f] } g1
\bar "||" % test if | and || are synced.
\grace { a16[ bes] } c1
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "Here @code{startGraceMusic} should set @code{no-stem-extend} to
true; the two grace beams should be the same here.
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\grace {
f8[ e8]
\override Stem #'no-stem-extend = ##t
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace notes in different voices/staves are synchronized."
}
-\score {\notes\relative c'' << \context Staff { c2
+\score {\relative c'' << \context Staff { c2
\grace c8
c4 c4 }
\new Staff { c2 \clef bass
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "There are three different kinds of grace types: the base
grace switches to smaller type, the appoggiatura inserts also a slur, and the
}
\score {
- \notes \relative c'' { c4 \grace { d8 } c4
+ \relative c'' { c4 \grace { d8 } c4
\appoggiatura { d8 } c
\acciaccatura { d } c
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "When grace notes are entered with unfolded repeats,
line breaks take place before grace notes.
\score{
- \notes\context Voice \relative c'{
+ \context Voice \relative c'{
\repeat unfold 10 {\grace d8 c4 d e f}
}
-\version "2.2.0"
+\version "2.3.4"
\header {
\paper { raggedright= ##t }
-\score {\notes\relative c' {
+\score {\relative c' {
\repeat volta 2 {
c1
}
-\version "2.2.0"
+\version "2.3.4"
\header {
}
\score{
- \notes\relative c''{\key a \minor \time 2/4
+ \relative c''{\key a \minor \time 2/4
\repeat "volta" 2 {
\grace { a16[ b] } c4 c4 |
\grace { d16[ b] } c4 c4 |
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
-\score {\notes \context Voice = VA \relative c'' {
+\score { \context Voice = VA \relative c'' {
\grace b8 c4\fermata
\grace { c32[ cis32] } gis4
\grace { cis32[ dis32] } e4
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="Hairpin crescendi may be dashed. "
}
\score {
- \notes \relative c' {
+ \relative c' {
\override Hairpin #'dash-fraction = #0.4
\override Hairpin #'dash-period = #1
f2\< g c1 d4\> b a gis\! }
-\version "2.2.0"
+\version "2.3.4"
\header {
\score {
-\notes \relative c'' { c4 \> c4 c4\! c4_\ff \> c4 c4\!\p }
+ \relative c'' { c4 \> c4 c4\! c4_\ff \> c4 c4\!\p }
\paper { raggedright = ##t}
}
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc =
\paper { raggedright= ##t }
-\score { \notes \transpose c c''
+\score { \transpose c c''
\context PianoStaff <<
\new Staff { c4 c c c \break s1 \break c4 c c c \break c c c c}
\new Staff { d4 d d d s1 s1 s1 s1 }
}
-\version "2.2.0"
+\version "2.3.4"
textFlat = \markup {\smaller \flat}
\score {
- \notes \new Staff {
+ \new Staff {
\set Staff.instrument = \markup { \column < "Clarinetti" { "in B" \textFlat } > }
\set Staff.instr = \markup { \smaller { "Cl(B" \textFlat ")" } }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Instrument names are also printed on partial starting measures."
}
\score {
- \notes \relative c'' { \set Staff.instrument = "foo" \partial 4 c4 c1 }
+ \relative c'' { \set Staff.instrument = "foo" \partial 4 c4 c1 }
\paper { raggedright = ##t }
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Staff margins are also markings attached to barlines. They should be
\score {
- \notes \context PianoStaff <<
+ \context PianoStaff <<
\context Staff = treble {
\set PianoStaff.instrument = "Piano "
\set Staff.instrument = "Right " { c''4 }}
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "Each clef have own accidental placing rules. " }
#(set-global-staff-size 16)
-\score { \notes
+\score {
\relative cis' {
% \clef french % same as octaviated bass
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "By setting @code{Staff.keySignature} directly,
key signatures can be set invidually per pitch.
"
}
-\score { \notes
+\score {
\relative c'
\context Staff {
\set Staff.keySignature = #'(((1 . 2) . 1) ((0 . 3) . -1))
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Key signatures may appear on key changes, even without a barline.
\score {
- \notes \relative c''
+ \relative c''
{
\set Staff.createKeyOnClefChange = ##t
\key bes \major c2
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "With the @code{\\lyricsto} mechanism, individual lyric
\score {
<<
- \notes \context Voice = "bla" \relative c'' {
+ \context Voice = "bla" \relative c'' {
\autoBeamOff
c2( d4) e8[ c b c] f4
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="Polyphonic rhythms and rests do not disturb
}
\score {
- \notes {
+ {
\clef violin
\time 8/8
\key des \major
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc= "Lyrics can be set to a melody automatically. Excess lyrics will be
-m = \notes \relative c'' {
+m = \relative c'' {
\autoBeamOff
g8( a) r8 \times 2/3 { g'8( f e) } r8 \grace { d16[ c b] } e4
\emptyText
\melismaEnd
b }
-noise = \repeat unfold 6 \notes \relative c'' { g16 g g g }
+noise = \repeat unfold 6 \relative c'' { g16 g g g }
textI = \context Lyrics = "middle-1" \lyrics { la2 __ la -- la __ la la la la la }
textII = \context Lyrics = "middle-1" \lyrics { da -- da __ da -- da da da da da }
\score {
- \notes << \context Staff = SA \noise
+ << \context Staff = SA \noise
\context Lyrics = LA { s1 }
\context Staff = SB { s1 }
\context Lyrics = LB { s1 }
-\version "2.2.0"
+\version "2.3.4"
\header
{
\score {
<<
- \context Voice=A \notes {
+ \context Voice=A {
a1 ( a1 \break
a) a2( b) \break
a2
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc= "In lyric extenders, a syllable may be extended over several notes. "}
\paper { raggedright= ##t }
\score{
-\notes \relative c' <<
+ \relative c' <<
\context Voice = melody {
c8[ ( d] )
r4 f4 }
-\version "2.3.2"
+\version "2.3.4"
\header {
}
\score {
-<< \notes \new Staff \relative c'' { \time 1/4 c16[ c c c]
+<< \new Staff \relative c'' { \time 1/4 c16[ c c c]
\time 1/4
c16[ c c c]
\time 1/4
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "In lyrics, hyphens may be used."
}
\score{
<<
- \context Staff \notes { c' (c') c'( c') }
+ \context Staff { c' (c') c'( c') }
\context Lyrics \lyrics { bla -- alb xxx -- yyy }
>>
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "
\score{
<<
- \notes \relative c' \context Voice = "bla" {
+ \relative c' \context Voice = "bla" {
\autoBeamOff
c4( c16 d c b) c4
d16[ e f g]
-\version "2.3.2"
+\version "2.3.4"
\header{
texidoc="
\score {
\context StaffGroup <<
- \notes \context Staff {
+ \context Staff {
b1 \bar "|:" b1 \bar ":|"
}
\lyrics <<
this4 one has no BarEngraverAddedToContext1
}
>>
- \notes \new Staff { b1 b1 }
+ \new Staff { b1 b1 }
>>
\paper {
raggedright = ##t
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "Melismata are triggered by manual beams."
\score {
<<
\new Staff
- \notes \relative c'' {
+ \relative c'' {
\set Staff.autoBeaming = ##f
c8 c8[ c8 c8] c8 }
texidoc = "The note markup function may be used to make metronome
markings. It works for a variety of flag, dot and duration settings."
}
-\version "2.2.0"
+\version "2.3.4"
-\score { \notes { c4^\markup {
+\score { { c4^\markup {
\note #"1" #1
\note #"2" #1
\note #"4" #1
-\version "2.2.0"
+\version "2.3.4"
\header {texidoc="Markup scripts may be stacked."}
\paper { raggedright = ##t}
-\score { \notes { c''^\markup { "a" \column < "1" \bold "2" "3" > } } }
+\score { { c''^\markup { "a" \column < "1" \bold "2" "3" > } } }
}
-\version "2.2.0" % to be updated
+\version "2.3.4" % to be updated
#(def-markup-command (upcase paper props str) (string?)
"Upcase the string characters. Syntax: \\upcase #\"string\""
(interpret-markup paper props (make-simple-markup (string-upcase str))))
\score {
- \notes {
+ {
c''-\markup \upcase #"hello world"
% produces a "HELLO WORLD" markup
}
}
-\version "2.3.2"
+\version "2.3.4"
%% TODO: should have 2/4 + 5/8 time sig style.
-\score { \notes
+\score {
\context Staff
\relative c' {
#(set-time-signature 2 4)
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "There is limited support for mensural notation: note head
}
-\score {\notes { \context Voice {
+\score { { \context Voice {
\override NoteHead #'style = #'mensural
\transpose c d'' { c4 c2 c8 c16 c16 c1 c\breve c\longa }
\transpose c c' { c4 c2 c8 c16 c16 c1 c\breve c\longa }
}
-\version "2.2.0"
+\version "2.3.4"
-\score { \notes \relative c'' { \tempo \breve = 100 c1 c1 \tempo 8.. = 50 c1 }
+\score { \relative c'' { \tempo \breve = 100 c1 c1 \tempo 8.. = 50 c1 }
\paper { raggedright = ##t }
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
-thenotes = \notes \relative cis' {
+thenotes = \relative cis' {
\set Score.skipBars = ##t
\time 4/4
R1 |
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc=" You can write stencil callbacks in Scheme, thus
providing custom glyphs for notation elements. A simple example is
\score {
- \notes \relative c' { c4 e
+ \relative c' { c4 e
\override NoteHead #'print-function
=
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "The multimeasure rest is centered exactly between bar lines."
}
\score {
- \notes
+
{
\set Score.skipBars = ##t
\override Staff.BarLine #'hair-thickness = #7.5
-\version "2.2.0"
+\version "2.3.4"
\header {
}
\score {
-\notes <<
+ <<
\new Staff { R1 R1 R1*3 }
\new Staff { \clef bass c1 \grace c8 c2 c2 c1 \grace c16 c2 c2 c1 }
>>
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "There are both long and short instrument names.
\context Staff <<
\set Staff.instrument = "instrument"
\set Staff.instr = "instr"
- \notes{c''1 \break R1 }
+ {c''1 \break R1 }
>>
\paper {
raggedright = ##t
independent on prefatory matter in other staves."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
-\notes << \new Staff { R1 }
+ << \new Staff { R1 }
\new Staff { f'1 \clef bass }
>>
texidoc = "By setting texts starting with a multi-measure rest, an
extra spacing column is created. This should not cause problems."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
<<
\set Score.skipBars = ##t
- \context Staff = flute \notes \new Voice {
+ \context Staff = flute \new Voice {
<< { R1*40 } { s1*0^"bla" }>>
}
>>
-\version "2.2.0"
+\version "2.3.4"
\header {
}
-\score { \notes {
+\score { {
\time 3/4
\set Score.skipBars = ##t
R2._\markup { \center-align < \musicglyph #"scripts-dfermata" \roman "Ad lib" > }
-\version "2.3.2"
+\version "2.3.4"
\header{
texidoc="
}
-\score { \notes {
+\score { {
\time 3/4 \key cis \major
R2.*15
which can be used to extend music syntax seamlessly."
}
-\version "2.3.1"
+\version "2.3.4"
#(define myBar
(ly:make-music-function
))
\score{
- \notes {
+ {
d4 \myBar #"|:" d4
}
}
-\version "2.3.1"
+\version "2.3.4"
#(define (notes-to-skip m)
"Convert all stuff with duration (notes, lyrics, bass figures, etc.) to skips.
\paper { raggedright= ##t }
-foobar = \notes \transpose c c' { c4\>-^ c4-^ c4\!-^ c4-^ }
+foobar = \transpose c c' { c4\>-^ c4-^ c4\!-^ c4-^ }
\score {
- \notes \relative c'' \context Voice {
+ \relative c'' \context Voice {
\foobar
<< \applymusic #(lambda (x) (music-map notes-to-skip x))
texts using a similar syntax as @code{\\markup}."
}
-\version "2.3.2"
+\version "2.3.4"
\score {
- \notes {
+ {
\fatText
f'1-\markup {
foo
texidoc = "With the new markup syntax, text may be written in various manners."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes
+
{
f'-\markup {
foo
}
>>
-\version "2.3.0"
+\version "2.3.4"
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc=" By default, text is set with empty horizontal dimensions.
to control the horizontal size of text. " }
\score{
- \notes\relative c''{
+ \relative c''{
%% \emptyText
%% short for \override TextScript #'no-spacing-rods = ##t
c2_"very wide and long text" c | \break
-\version "2.3.2"
+\version "2.3.4"
\header {
\score {
- \notes\relative c''
+ \relative c''
{
c4\startGroup\startGroup\startGroup
c4\stopGroup
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Note heads are flipped on the stem to prevent collisions.
\paper { raggedright= ##t }
-\score { \notes \relative c''
+\score { \relative c''
\context Voice {
<g a c>4
<c d g a>
Harmonic heads do not get dots. If @code{harmonicAccidentals} is unset, they also don't get accidentals."
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes {
+ {
< c'' f''\harmonic >4
\stemUp
< c'' f''\harmonic >4.
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Note head shapes may be set from several choices.
"
}
-pattern = \notes <<
+pattern = <<
\new Voice {
\override Stem #'direction = #UP
e'4
>>
\score {
- \notes \transpose c c {
+ \transpose c c {
\clef C
\override Staff.NoteHead #'style = #'default
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Note head lines (e.g. glissando)
run between centers of the note heads."
}
-su = \notes{ \change Staff = up}
-sd = \notes{ \change Staff = down}
+su = { \change Staff = up}
+sd = { \change Staff = down}
\score {
\context PianoStaff
- \notes <<
+ <<
\context Staff = up {
\set PianoStaff.connectArpeggios = ##t
\showStaffSwitch
-\version "2.3.2"
+\version "2.3.4"
\header{
texidoc=" The number of stafflines of a staff can be set. Ledger
}
\score {
-\context Voice \notes\relative c {
+\context Voice \relative c {
c' c c c | g' g g g \bar ":|"
}
\paper {
}
-\version "2.2.0"
+\version "2.3.4"
\paper { raggedright = ##t}
\score {
- \notes\relative c''' \notes {
+ \relative c''' {
a2 b
#(set-octavation 1)
a2 b \break c''1 \break
"
}
-\version "2.2.0"
+\version "2.3.4"
% . There must be a minimum distance between the octavation line and the
% topmost staff line, taking into account the height of the closing
\paper { raggedright = ##t}
\score {
- \notes\relative c''' \notes {
+ \relative c''' {
a b c a
#(set-octavation 1)
a b c a
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="The a2 string is printed only on notes (i.e. not on rests),
and only after chords, solo or polyphony."
}
-vone = \notes \relative a' { R1*2 g2 r2 g2 r2 a4 r4 g
+vone = \relative a' { R1*2 g2 r2 g2 r2 a4 r4 g
}
-vtwo = \notes \relative a' { R1*2 g2 r2 g2 r2 f4 r4 g }
+vtwo = \relative a' { R1*2 g2 r2 g2 r2 f4 r4 g }
\score {
<< \set Score.skipBars = ##t
"
}
-\version "2.2.0"
+\version "2.3.4"
-vone = \notes \relative a' { g4 g f f e e d d }
-vtwo = \notes \relative a' { e4 e f f g g a a }
+vone = \relative a' { g4 g f f e e d d }
+vtwo = \relative a' { e4 e f f g g a a }
\score {
\partcombine \vone \vtwo
"
}
-\version "2.2.0"
+\version "2.3.4"
-vone =\notes
+vone =
%%%%%%%%%%%%%% 0 1 2 3
\relative c'' {
a8[ a] a8[ a]
}
-vtwo =\notes
+vtwo =
\relative c' {
\time 2/4
f8[ f]~ f8[ f] |
}
-\version "2.3.0"
+\version "2.3.4"
\score {
<<
\new Staff
\partcombine
- \notes { R1 * 2 }
- \notes { c'8\> c'\! r2. }
+ { R1 * 2 }
+ { c'8\> c'\! r2. }
>>
}
}
-\version "2.2.0"
+\version "2.3.4"
\score {
\new Staff
- \partcombine \notes \relative c'' {
+ \partcombine \relative c'' {
bes2(
a4)
}
- \notes \relative c' {
+ \relative c' {
r2 cis4
}
}
"
}
-vone = \notes \relative a' { d4 r8 d8 d8 r8 d8 r8 d2 ~ d2 ~ d4 }
-vtwo = \notes \relative g' { g4. g8 r2 g4 r4 r2 g4 }
+vone = \relative a' { d4 r8 d8 d8 r8 d8 r8 d2 ~ d2 ~ d4 }
+vtwo = \relative g' { g4. g8 r2 g4 r4 r2 g4 }
-\version "2.2.0"
+\version "2.3.4"
\score {
}
-\version "2.2.0"
+\version "2.3.4"
-vone = \notes \relative a' { R1 a2 r4 r a a a a }
-vtwo = \notes \relative a' { R1 f4 f4 f4 f f f a a }
+vone = \relative a' { R1 a2 r4 r a a a a }
+vtwo = \relative a' { R1 f4 f4 f4 f f f a a }
\score {
\partcombine \vone \vtwo
"
}
-\version "2.2.0"
+\version "2.3.4"
-vone = \notes \relative a' { g2 g g g4 g f' c c( c) c c c ~ c
+vone = \relative a' { g2 g g g4 g f' c c( c) c c c ~ c
c2. c4 c
}
-vtwo = \notes \relative a' { f2 f4 f f2 g4 g c, f f f f f~ f ~ f
+vtwo = \relative a' { f2 f4 f f2 g4 g c, f f f f f~ f ~ f
f4 f2. ~ f4
}
-\version "2.2.0"
+\version "2.3.4"
\header {
At a line-break, there are no vertical endings. " }
\score {
- \notes \relative c'' {
+ \relative c'' {
\set Staff.pedalSustainStyle = #'bracket
c4 d e \sustainDown b c c, \sustainUp \sustainDown d8[ c] e8[
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Unterminated piano pedal brackets run to the end of the piece. "
}
\score {
- \notes {
+ {
\set Staff.pedalSustainStyle = #'bracket
c4 \sustainDown
\bar "|."
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "The standard piano pedals style comes with Ped symbols.
}
\score{
- \context Staff \notes\relative c'{
+ \context Staff \relative c'{
c4 d e f g
\sustainDown b c
c, d16[ c c c] e[ e \sustainUp \sustainDown e e ] f4 \sustainUp
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="Ordinary slurs should work well with phrasing slur."
}
\score {
- \notes\relative c'' {
+ \relative c'' {
\time 6/4 c\((d e) f(e d)\)
}
\paper {
-\version "2.2.0"
+\version "2.3.4"
\header {
\paper { raggedright= ##t }
-\score{ \notes {
+\score{ {
a a a a \break
\mark A
a a a a}}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Distances between prefatory items (e.g. clef, bar,
}
-\score { \notes \relative c'' {
+\score { \relative c'' {
\set Staff.instrument = "fobar"
\bar "||:"
\key cis \major
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \relative c'' {
+ \relative c'' {
<<
{ \grace e8 d2 }
\\ { a2 } >>
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Once properties take effect during a single time step only."
}
\score {
- \notes \relative c' {
+ \relative c' {
c4
\once \set Stem = #'()
c4
In this example, all instruments play sounding central C, the target is a instrument in F."
}
-\version "2.2.0"
+\version "2.3.4"
-\addquote clarinet \notes {
+\addquote clarinet {
\transposition bes
d'16 d'16 d'8
d'16 d'16 d'8
d'16 d'16 d'8
d'16 d'16 d'8
}
-\addquote sax \notes {
+\addquote sax {
\transposition es'
a8 a a a a a a a
}
\score {
- \notes{
+ {
\transposition f % french horn
g'4
music may be quoted. "
}
-\version "2.2.0"
+\version "2.3.4"
-\addquote bla \notes\relative c' {
+\addquote bla \relative c' {
fis4 g a b }
\score {
- \notes \relative c'' {
+ \relative c'' {
c8 d8 \quote bla 2 es8 gis
}
}
with @code{\mark NUMBER}, or with @code{Score.rehearsalMark}."
}
-\version "2.2.0"
-\score { \notes \relative c'' {
+\version "2.3.4"
+\score { \relative c'' {
c1 \mark \default
c1 \mark #7
c1 \mark \default
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \relative c''{
+ \relative c''{
\set Score.markFormatter = #format-mark-numbers
c1 | \mark \markup { \musicglyph #"scripts-coda" }
c1 | \mark \default
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
}
\score {
- \context Staff \notes \relative c'' {
+ \context Staff \relative c'' {
\repeat fold 3 { c^"3$\\times$ 0alt" d }
% less alts than body
\repeat fold 4 { c^"4$\\times$ 2alt" d } \alternative { e f }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\paper { raggedright= ##t }
\score {
-\notes
+
\context Staff\relative c'' {
\repeat "volta" 2 { c1 \break } \alternative { d e }
c1
-\version "2.2.0"
+\version "2.3.4"
\header {
\score {
\context Staff <<
\set Score.skipBars = ##t
- \notes {
+ {
\repeat "percent" 2 { g2 a g a }
}
>>
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Measure repeats may be nested with beat repeats."
}
-\score { \notes \relative c'' \context Voice { \time 4/4
+\score { \relative c'' \context Voice { \time 4/4
% riff
\repeat "percent" 2 { r8. a16 g8. a16 bes8. a16 f8 d | a c8 ~ c8 d8 ~ d8 r8 r4 }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Within a bar, beat repeats denote that a music snippet should be
played again."
}
-\score { \notes \relative c'
+\score { \relative c'
\context Voice { \time 4/4
\repeat "percent" 2 { c2 }
-\version "2.3.1"
+\version "2.3.4"
\header { texidoc = "Volta repeats may be unfolded through the Scheme
function @code{unfold-repeats}."
}
-nots = \notes\relative c' {
+nots = \relative c' {
c4 \repeat volta 2 c4 \alternative { d e }
}
\score {
- \notes \context Voice {
+ \context Voice {
\nots
\bar "||"
\applymusic #unfold-repeats \nots
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc = "Unfolding tremolo repeats. All fragments fill one
\score{
- \notes{
+ {
\time 2/4
\applymusic #unfold-repeats
{ \repeat tremolo 4 { c'16 e' } |
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\score {
- \context Voice \notes\relative c'' {
+ \context Voice \relative c'' {
\repeat unfold 3 { c^"3x 0a" d }
% less alts than body
\repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "When too few alternatives are present, the first
}
-\score { \notes \relative c'' \context Voice {
+\score { \relative c'' \context Voice {
\repeat volta 3 c1
\alternative { d f } e4 } }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
% no alts.
\score {
- \notes \context Voice \relative c'' {
+ \context Voice \relative c'' {
% repeat non aligning with barlines.
\repeat volta 3 { c^"3$\\times$ 0alt" d e }
% less alts than body
texidoc = "Rests under beams are only moved if necessary."
}
-\version "2.2.0"
+\version "2.3.4"
-fig = \notes \relative c' {
+fig = \relative c' {
<a c e>8[ r <c e a> r <e a c> r <a c e>] r |
}
\score {
- \notes \relative c' \new Staff {
+ \relative c' \new Staff {
\fig
\transpose c c, \fig
\new Voice { \stemUp \transpose c f \fig }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Rests should not collide with beams, stems and noteheads. Rests may
"
}
-scale = \notes \relative c' {
+scale = \relative c' {
c8 d e f g a b c c d e f g a b c
}
-rests = \notes {
+rests = {
r r r r r r r r r r r r r r r r
}
different = << {
- \notes \relative c'' {
+ \relative c'' {
r8 a e4 a e
}
}\\ {
- \notes \relative c'' {
+ \relative c'' {
r1
}} >>
-scales = \context Staff \notes <<
+scales = \context Staff <<
{ r1 r2 r2 \scale c''1 c'2 a'2 \rests }
\\
{ a'1 a'2 d'2 \rests r1 r2 r2 \scale }
>>
-restsII = \context Staff \notes {
+restsII = \context Staff {
r4 r8
\context Staff << { r8 } \\{ r8} >>
\context Staff << { r8} r8 \\{ r8} >>
}
\score{
- \notes {
+ {
\scales
\restsII
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Whole and half rests moving outside the staff should get
ledger lines."
\score {
-\notes {
+ {
\override Rest #'staff-position = #4
r1 \override Rest #'staff-position = #5
r1 \override Rest #'staff-position = #6
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Rests can have pitches--these will be affected by
\paper { raggedright= ##t }
-\score { \notes\relative c''
+\score { \relative c''
{
a4\rest b4\rest c4\rest
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \new Staff \notes \relative c' {
+ \new Staff \relative c' {
<< { r8 g''4 g8 r g4 g8 } \\
{ d,4 r d r } >>
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
}
- \score { \notes {
+ \score { {
\time 4/4
r \longa * 1/4 r\breve * 1/2
r1 r2 r4 r8 r16 r32 r64 r128 r128
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "In rhythmic staves stems should go up, and bar lines have the size for a 5 line staff. The whole note hangs from the rhythmic staff."
}
-\score { \notes \context RhythmicStaff
+\score { \context RhythmicStaff
{
r4 c4. c8 r8 c8 | c2 r2 | r1
}
-\version "2.2.0"
+\version "2.3.4"
\header {
}
\score {
-\notes \relative c'' {
+ \relative c'' {
c4
<c d c'>\marcato
<< { c4^^ }\\
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Scripts can be stacked. The order is determined by a
priority field, but when objects have the same priority, the input
"
}
-\score{ \notes\relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" }
+\score{ \relative c'' { c4^"inner up"^"outer up"_"inner down"_"outer down" }
\paper { raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\paper { raggedright= ##t }
texidoc = "Scripts may be stacked."
}
-\score { \notes { c'''->-. } }
+\score { { c'''->-. } }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
-\version "2.2.0"
+\version "2.3.4"
foollilypondbook = "
\score
"
-\version "2.2.0"
+\version "2.3.4"
foollilypondbook = "
\score
"
-\version "2.2.0"
+\version "2.3.4"
foollilypondbook = "
\score
"
-\version "2.2.0"
+\version "2.3.4"
foollilypondbook = "
\score
"
-\version "2.2.0"
+\version "2.3.4"
foollilypondbook = "
\score
"
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "The area underneath an (up) slur is minimised to improve the shape. "
}
\score{
-\notes\relative c''{
+\relative c''{
\slurUp
\stemDown
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
\score{
- \notes \relative c''{
+ \relative c''{
\override Slur #'direction = #1
a8( a a4)
a4( a8 a)
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
\score{
- \notes \relative c''{
+ \relative c''{
e1( \break a,)
\time 2/4
e'2( \break a,)(\break
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Slurs behave decently when broken across a linebreak.
\score{
\context PianoStaff <<
- \context Staff=one \notes\relative c'{
+ \context Staff=one \relative c'{
\stemUp \slurUp
c4( c \change Staff=two c c) |
\change Staff=one
c4( \change Staff=one c c \change Staff=two c)
r1
}
- \context Staff=two \notes\relative c'{
+ \context Staff=two \relative c'{
\clef bass
s1 s1 s1 s1 s1 s1 s1 s1 s1 s1
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="Slurs should not get confused by augmentation dots. With a lot
of dots, the problems becomes more visible."
}
\score {
- \notes\relative c'' {
+ \relative c'' {
c4.............( c)
}
\paper {
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Slurs should look nice and symmetric. The curvature may increase
}
\score{
- \notes\relative c''{
+ \relative c''{
\time 3/4
\slurUp
\stemBoth a ( \stemDown a \stemBoth a) a( c a) a( e' a,) a( g' a,)
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc ="Slurs may be placed over rest. The slur will avoid colliding with
"
}
-\score{ \notes { \stemDown c'4 ( r4 c'2)
+\score{ { \stemDown c'4 ( r4 c'2)
\relative c'' {
% Finish with F if played separately
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="An extra offset may be added between a slur and staccato(s)."
}
\paper { raggedright = ##t}
\score {
- \context Staff \notes\relative c'' {
+ \context Staff \relative c'' {
\override Slur
#'attachment-offset = #'((0 . 1) . (0 . 1))
a-.( g-. a)-.
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="Trend of broken slur with user-overridden stem attachment should also
follow the same vertical direction it would have had in unbroken state."
}
\score {
- \notes\relative c' {
+ \relative c' {
\override Slur #'attachment = #'(stem . stem)
f( c' c c \break
c c c \stemUp c)
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "Symmetric figures should lead to symmetric slurs."
}
\score{
- \notes\relative c''<<
+ \relative c''<<
\time 4/4
\context Staff{
f8(f f f) f(g g f) f(a a f) f(b b f)
-\version "2.2.0"
+\version "2.3.4"
\header
{
texidoc = "Symmetric figures should lead to symmetric slurs."
}
\score{
- \notes\relative c'<<
+ \relative c'<<
\time 6/8
\context Staff{
e8(e e) e(d e) e(c e) e(b e)
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Accidentals in different staves do not affect the
spacing of the quarter notes here."
}
-\score { \notes \relative c'' << \new Staff { \time 4/4
+\score { \relative c'' << \new Staff { \time 4/4
c8[ c8 cis8 cis8]
cis8[ cis8 cis8 cis]
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Accidentals do not influence the amount of stretchable space.
}
\score {
- \notes \relative c'' \context GrandStaff {
+ \relative c'' \context GrandStaff {
#(set-accidental-style 'piano-cautionary)
d16 d d d d d cis d
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Accidentals sticking out to the left
of a note will take a little more space, but only if the spacing is tight."
}
-\score { \notes \relative c'' {
+\score { \relative c'' {
\time 8/4
c2 c2 cis2 cis2 |
c8 c8 cis8 cis8 cis c c c]
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Downstem notes following a barline are
printed with some extra space. This is an optical correction similar
sd = \override Stem #'direction = #-1
su = \override Stem #'direction = #1
-\score { \notes\relative c''
+\score { \relative c''
{
%\override Staff.StaffSpacing #'stem-spacing-correction = #10
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Clef changes at the start of a line get much more space
}
-\score {\notes {
+\score { {
<< \new Staff {
c'2
\clef bass e16 f a
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="Broken engraving of a bar at the end of a line does not upset
\score
{
-\notes \relative c' {
+ \relative c' {
c2.. r8
c2.. r8
\time 3/4 \break
#(ly:set-option 'old-relative)
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "
A voicelet (a very short voice to get polyphonic chords correct)
should not confuse the spacing engine."
\score {
-\notes { \context Staff \relative c' {
+ { \context Staff \relative c' {
c4
<<
{ r4 dis'4 } \\
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "A clef can be folded below notes in a different staff, if
this does not disrupt the flow of the notes."
}
-\score { \notes \relative c'' <<
+\score { \relative c'' <<
\new Staff { c4 c16[ c c c] c4 c4 }
\new Staff { \clef bass c,2 \clef treble c'2 }
>>
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "A clef can be folded below notes in a different staff, if
show where columns are in the score."
}
-\score { \notes \relative c'' <<
+\score { \relative c'' <<
\new Staff { c4 c4 c4 \bar "|." }
\new Staff { \clef bass c,2 \clef treble c'2 }
>>
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Spacing uses the duration of the notes, but disregards
"
}
-\score { \notes \relative c''
+\score { \relative c''
\context Voice
{
c8[ c8]
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Grace note spacing. Should it be tuned? "
}
\score {
- \notes \context Voice \relative c'' { \grace { c16[ d] } c4 }
+ \context Voice \relative c'' { \grace { c16[ d] } c4 }
\paper { raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "For knees, the spacing correction is such that the
width of the note heads and the thickness of the stem.
"
}
-\score { \notes
+\score {
{
g''8[ g g'' g'']
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "Concurrent tuplets should be equidistant on all staffs.
-multipart = \notes \relative c'{
+multipart = \relative c'{
\context StaffGroup <<
\new Staff \context Voice {
\times 2/10 { c8[ c c c c c c c c c] }
}
\score{
- \notes {
+ {
\multipart
}
}
-\score { \notes \relative c'' \context Staff {
+\score { \relative c'' \context Staff {
\set autoBeaming = ##f
a8[ a8 a8 a8]
a8 a8 a8 a8
}
}
-\version "2.2.0"
+\version "2.3.4"
-\version "2.2.0"
+\version "2.3.4"
\header {
\score {
- \notes \relative c'' \new Staff { \repeat unfold 20 { c1 } }
+ \relative c'' \new Staff { \repeat unfold 20 { c1 } }
\paper{
raggedlast = ##t
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Rests get a little less space, since they are narrower.
However, the quarter rest in feta font is relatively wide, causing this
effect to be very small.
"
}
-\score { \notes \relative c'' \context Staff {
+\score { \relative c'' \context Staff {
\time 12/4
r4 c4 c4 c4 r4 r4 c4
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Notes that are shorter than the common shortest note get a
}
-\score { \notes \relative c''
+\score { \relative c''
{
\time 2/4
c16 c c c c4 c4
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Upstem notes before a barline are printed with some extra
sd = \override Stem #'direction = #-1
su = \override Stem #'direction = #1
-\score { \notes\relative e'
+\score { \relative e'
{
%\override Staff.StaffSpacing #'stem-spacing-correction = #0.5
-\version "2.2.0"
+\version "2.3.4"
\header{
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
% make sure neutral is down.
\override Stem #'neutral-direction = #-1
\time 16/4 c''4 c c, c' d, c' e, c' f, c' g c a c b c
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "For juxtaposed chords with the same direction, a
slight optical correction is used. It is constant, and works only if
two chords have no common head-positions range."
}
-\score { \notes \relative c'' {
+\score { \relative c'' {
\stemDown
\time 12/4
f8[
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="Space from a normal note (or barline) to a grace note is
}
\score {
- \context Voice \notes
+ \context Voice
{ \time 2/4
\relative c'' {
e8 e \grace d8 e e \grace f8 e es, d' d
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "
When tightly spaced, the spaces between elements (hinterfleisch?)
}
\score {
- \notes \relative c''{
+ \relative c''{
r1 e4 f, e' f,
}
\paper {
-\version "2.3.2"
+\version "2.3.4"
\header {
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Span bars are drawn only between staff bar lines. By setting
bar lines to transparent, they are shown only between systems.
}
\score {
- \notes \relative c' \new StaffGroup <<
+ \relative c' \new StaffGroup <<
\new Staff {
\override Score.BarLine #'transparent = ##t
a1 a1
-\version "2.2.0"
+\version "2.3.4"
\header{
}
\score {
- \context Voice \notes\relative c' {
+ \context Voice \relative c' {
e'4-. f-. g-. d-. c-. b-.
\stemDown
e,-. d-. c-. b-. a-. g-.
\header { texidoc = " Staves starting and ending halfway include clefs
and bar lines. " }
-\version "2.2.0"
+\version "2.3.4"
\score {
- \new StaffGroup \notes \relative c'' <<
+ \new StaffGroup \relative c'' <<
\new Staff { c4 c c c \bar "||" c c c c }
{ \skip 4 \new Staff { c c c } }
>>
}
-\version "2.2.0"
+\version "2.3.4"
\score {
<<
fontSize = #-4
\override StaffSymbol #'staff-space = #(magstep -4)
}
- \notes \relative c' {
+ \relative c' {
\override DynamicText #'extra-offset = #'(0 . 3)
s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
}
\new Staff
- \notes \relative c' {
+ \relative c' {
\override DynamicText #'extra-offset = #'(0 . 3)
s1-\f c''8[(\< r a g]) e[ r d( <f a>])\! \times 2/3 { d4 d d }
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "The staff is a grob (graphical object) which may be adjusted as well, for example, to have 6 thick lines and a slightly large @code{staff-space}.
}
-mus = \notes \relative c' { c4 g' d'8 d d d }
+mus = \relative c' { c4 g' d'8 d d d }
\score {
- \notes <<
+ <<
\new Staff {
\override Staff.StaffSymbol #'thickness = #2.0
\override Staff.StaffSymbol #'line-count = #6
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Stanza numbers are put left of their lyric. Theyr are aligned in a column."
\score {
<<
- \context Voice = "A" \notes \relative c'' { r4 r4 c4 c4 }
+ \context Voice = "A" \relative c'' { r4 r4 c4 c4 }
\lyricsto A \new Lyrics \lyrics {
\skip 2
\set stanza = "1."
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
b''4 ~ b8(b8) e4 e,
}
-\version "2.2.0"
+\version "2.3.4"
\header {
}
\score {
- \notes \relative c'' {
+ \relative c'' {
\stemDown d c b a g f e
\stemBoth
\stemUp a b c d e f g a
-\version "2.3.2"
+\version "2.3.4"
\header{
texidoc="
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\time 12/4 c''4 c c c a f' f, a
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\time 12/4 c''4 c c c a f' f, a
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
Stem tremolos or rolls are tremolo signs that look like beam segments
\score{
- \context Voice\notes \relative c''{
+ \context Voice \relative c''{
\override TextScript #'direction = #1
\override TextScript #'padding = #5
a1:4^":4" a:8^":8" c:16^":16" a:32^":32" a^"x" a:^":"
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "The size of every system is correctly determined; this
}
-\score { \notes
+\score {
\context Voice
{ \unset Staff.minimumVerticalExtent
\slurDown c4 ( g4 c''4)
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc =
"
}
-\score { \notes {
+\score { {
\context StaffGroup <<
c4
\context PianoStaff <<
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \new TabStaff {
+ \new TabStaff {
\set TabStaff.stringTunings = #'(5 10 15 20)
\relative c'' { c4 d e f }
}
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc = "@cindex Tabulature
A sample tablature, with both normal staff and tab.
"
}
-partition = \notes {
+partition = {
\key e \major
<e\5 dis'\4>
<e dis'>
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc = "The @code{\\tag} command marks music expressions with a
\paper { raggedright= ##t }
common =
-\notes \relative c'' {
+ \relative c'' {
c1
\relative c' <<
\score {
- \notes \simultaneous {
+ \simultaneous {
\new Staff {
\set Staff.instrument = #"both"
\common
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc= "Text spanners should not repeat start text when broken."
}
\score {
- \notes \relative c'' {
+ \relative c'' {
\set crescendoText = #"cresc."
\set crescendoSpanner = #'dashed-line
c1\< c \break
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Tie engraver uses @code{busyGrobs} to keep track of
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
When tying chords, the outer slurs point outwards, the inner slurs
}
-t = \notes \relative c' { <c e g> ~ <c e g> }
+t = \relative c' { <c e g> ~ <c e g> }
\score {
-\notes \context Voice {
+ \context Voice {
\t
\transpose c g \t
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Ties should not collide with dots."
}
-\score{\notes{\time 9/8 \key f \major\clef bass
+\score{{\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 "|"
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Tieing a grace to the to a following grace or main note works."
}
\paper { raggedright= ##t }
-\score { \notes \context Voice \relative c'' {
+\score { \context Voice \relative c'' {
c4 \grace { c8 ~ c16 ~ } c4
}
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
"
}
\score{
- \notes\relative c''{
+ \relative c''{
%b2~b4~b8~b16~b32~b64 r64\break
%a2~a4~a8~a16~a32~a64 r64
\time 8/4
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "In combination with a beam, the bracket of the tuplet
}
\paper { raggedright= ##t }
-\score { \notes \context Voice\relative c'' {
+\score { \context Voice\relative c'' {
\times 2/3 { r c8[ c8] }
\times 2/3 { c8[ c c] }
\times 2/3 { c16[ c16] c8[ c8] }
}
-\version "2.2.0"
+\version "2.3.4"
\paper {
indent = 0.0\mm
}
\score{
- \notes \relative c'' {
+ \relative c'' {
\set tupletNumberFormatFunction = #fraction-tuplet-formatter
\times 17/12 { c8 c4 c8 c8}
}
-\version "2.3.1"
+\version "2.3.4"
\header {
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \context Voice \notes\relative c'' {
+ \context Voice \relative c'' {
\times 2/3 { c'8 c,, c }
\times 2/3 { c'8 c'' c,, }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Tuplets may contain rests. "
}
\score {
- \context Voice \notes \relative c'' {
+ \context Voice \relative c'' {
\time 2/4
\times 2/3 { r c,,, c''' }
\times 2/3 { r c c }
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \notes \relative c' {
+ \relative c' {
\times 4/5 { a'4 as g fis f }
\times 4/5 { fis4 e es d des }
\times 4/5 { fis,4 e es d des }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "Horizontal tuplet brackets are shifted vertically
\paper { raggedright= ##t }
-\score { \notes \context Voice\relative c'' {
+\score { \context Voice\relative c'' {
\times 2/3 { b'4 b b }
\times 2/3 { f4 f f }
\times 2/3 { g4 g g }
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\paper { raggedright= ##t }
\score{
- \notes \context Voice \relative c'' {
+ \context Voice \relative c'' {
\times 2/3 { a8 b c }
\times 2/3 { r8 b[ f] }
\override TupletBracket #'bracket-flare = #'(0.5 . 0.5)
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc= "
}
\score {
- \notes \relative c'
+ \relative c'
\context PianoStaff <<
\set PianoStaff.followVoice = ##t
\context Staff = one \context Voice {
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="Broken volta spanners behave correctly at their left edge in all cases."
%}
-voiceB = \notes {
+voiceB = {
\clef bass
\set Staff.instrument = "Bass"
\set Staff.instr = "B"
}
}
}
-voiceC = \notes {
+voiceC = {
\repeat volta 2
{
f f
}
}
-voiceD = \notes {
+voiceD = {
\repeat volta 2
{
f f
}
}
}
-voiceE = \notes {
+voiceE = {
\repeat volta 2
{
f f\break
}
}
\score{
- \notes <<
+ <<
\new Staff
on more staves in a score."
}
-\version "2.2.0"
+\version "2.3.4"
-vmus = \notes { \repeat volta 2 c1 \alternative { d e } }
+vmus = { \repeat volta 2 c1 \alternative { d e } }
\score {
- \notes \relative c'' <<
+ \relative c'' <<
\new StaffGroup <<
\context Staff \vmus
\new Staff \vmus
-\version "2.3.2"
+\version "2.3.4"
\header {
title = "Screech and boink"
subtitle = "Random complex notation"
}
\score {
- \notes \context PianoStaff <<
+ \context PianoStaff <<
\context Staff = up {
\time 4/8
\key c \minor
>>
%% Optional helper for automatic updating by convert-ly. May be omitted.
-\version "2.3.0"
+\version "2.3.4"
}
%% Optional helper for automatic updating by convert-ly. May be omitted.
-\version "2.3.0"
+\version "2.3.4"
-\version "2.2.0"
+\version "2.3.4"
%% +.ly: Be the first .ly file for lys-to-tely.py.
%% Better to make lys-to-tely.py include "introduction.texi" or
%% other .texi documents too?
-\version "2.3.1"
+\version "2.3.4"
\header {
(add-script m "staccato"))
\score {
- \notes\relative c'' {
+ \relative c'' {
a b \applymusic #(lambda (x) (music-map add-staccato x)) { c c }
}
\paper{ raggedright = ##t }
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc= "@cindex make-music Fingering
m)
\score {
- \applymusic #(lambda (x) (add-text-script x "6") (display-music x) x ) \notes { c'4-3 }
+ \applymusic #(lambda (x) (add-text-script x "6") (display-music x) x ) { c'4-3 }
\paper{ raggedright = ##t }
}
"
}
-\version "2.3.2"
+\version "2.3.4"
#(define (kill-ambitus grob grob-context apply-context)
(if (memq 'ambitus-interface (ly:grob-property grob 'interfaces))
-voiceA = \notes \relative c'' {
+voiceA = \relative c'' {
c4 a d e f2
}
-voiceB = \notes \relative c' {
+voiceB = \relative c' {
es4 f g as b2
}
\score {
"
}
-\version "2.2.0"
+\version "2.3.4"
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\time 3/4
\override Staff.Accidental #'style = #'default
cisis''^"Accidental style = \#'default" cisis! cisis? |
-\version "2.3.2"
+\version "2.3.4"
% TODO: split ancient-font into seperate files; possibly in
% different locations.
\header {
\override Staff.StaffSymbol #'line-count = #4
- \notes \transpose c c {
+ \transpose c c {
\override Staff.KeySignature #'style = #'vaticana
\override Staff.Accidental #'style = #'vaticana
\override NoteHead #'style = #'vaticana_punctum
% \override Staff.StaffSymbol #'line-count = #5
\context Staff \applyoutput #(outputproperty-compatibility (make-type-checker 'staff-symbol-interface) 'line-count 5)
- \notes \transpose c c {
+ \transpose c c {
\set autoBeaming = ##f
\override NoteHead #'style = #'neo_mensural
\override Rest #'style = #'neo_mensural
-\version "2.2.0"
+\version "2.3.4"
% TODO: move stuff from ancient-font into here? See comment
% for ancient-font.ly
\header {
}
\score {
- \notes {
+ {
\override Staff.TimeSignature #'style = #'neo_mensural
s1
}
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "@cindex Bagpipe Music
}
}
-taor = \notes{ \grace {
+taor = { \grace {
g32[ d' g e']
}
}
-grip = \notes {
+grip = {
\grace {
g32[ b g ]
}
}
-thrd = \notes {
+thrd = {
\grace {
g32[ d' c']
}
}
-birl = \notes {
+birl = {
\grace {
g32[ a g]
}
}
-gstd = \notes {
+gstd = {
\grace {
g'32[ d' g]
}
}
-lgg = \notes {
+lgg = {
\grace {
g32
}
}
-lag = \notes {
+lag = {
\grace {
a32
}
}
-fgg = \notes {
+fgg = {
\grace {
f32[ g'32]
}
}
-dblb = \notes {
+dblb = {
\grace {
g'32[ b d']
}
}
-dblc = \notes {
+dblc = {
\grace {
g'32[ c' d']
}
}
-dble = \notes {
+dble = {
\grace {
g'32[ e' f']
}
}
-dblf = \notes {
+dblf = {
\grace {
g'32[ f' g']
}
}
-dblg = \notes {
+dblg = {
\grace {
g'32[ f']
}
}
-dbla = \notes {
+dbla = {
\grace {
a'32[ g']
}
}
-cg = \notes {
+cg = {
\grace {
c'32
}
}
-eg = \notes {
+eg = {
\grace {
e'32
}
}
-gg = \notes {
+gg = {
\grace {
g'32
}
}
-dg = \notes {
+dg = {
\grace {
d'32
}
}
-hag = \notes {
+hag = {
\grace {
a'32
}
}
-gefg = \notes {
+gefg = {
\grace {
g'32[ e' f']
}
}
-efg = \notes {
+efg = {
\grace {
e'32[ f']
}
}
-gdcg = \notes {
+gdcg = {
\grace {
g'32[ d' c']
}
}
-gcdg = \notes {
+gcdg = {
\grace {
g'32[ c' d']
}
}
\score {
- \notes {
+ {
\time 6/8 \partial 4
\tieUp
\slurUp
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Bars Always
\score {
- \notes \relative c''{
+ \relative c''{
\set Score.barAlways = ##t
\set Score.defaultBarType = ":|:"
c4 c4 c4 c4 }
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc = "@cindex Bar line lyric only
You can move @code{Bar_engraver} and @code{Span_bar_engraver} to
a different engraving context, if you want, for example, bar lines
}
\score {
-\notes \relative c' \context ChoirStaff <<
+ \relative c' \context ChoirStaff <<
\new Staff { c1 c1 c1}
\context Lyrics \lyrics <<
{ bla1 die bla }
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Bar Lines
There a many types of bar lines available.
% TODO: dashed "|", HJJ
\score
{
-\notes \relative c'' {
+ \relative c'' {
c4
\bar "|." c
\bar "|:"c
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc = "@cindex Bar Number Every Fifth Reset
#(set-bar-number-visibility 4)
\score {
<<
- \notes \transpose c c'' {
+ \transpose c c'' {
\override Score.BarNumber #'break-visibility =#end-of-line-invisible
\override Score.RehearsalMark #'padding = #2.5
\mark "A" \resetBarnum
" }
-\version "2.2.0"
+\version "2.3.4"
\score {
- \context Staff \notes \transpose c c' {
+ \context Staff \transpose c c' {
\override Score.BarNumber #'break-visibility = #end-of-line-invisible
\set Score.barNumberVisibility = #(every-nth-bar-number-visible 4)
\override Score.BarNumber #'print-function =
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Bar Number Show All
By default, bar numbers are printed only in the first measure. This
" }
\score{
- \notes\relative c'{
+ \relative c'{
c1 c c
\override Score.BarNumber
#'break-visibility = #end-of-line-invisible
}
-\version "2.2.0"
+\version "2.3.4"
wipeNote = {
\once \override NoteHead #'transparent = ##t
\score {
- \notes \relative c'' {
+ \relative c'' {
<< {
c8[~
\wipeNote
-\version "2.2.0"
+\version "2.3.4"
% keep for now, although merging into beam-auto-override is a possibility.
\header {
texidoc = "@cindex Auto Beaming 4/8
}
\score{
- \notes\relative c''{
+ \relative c''{
\time 4/8
%{
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Auto Beaming Override
%% TODO: check doc string. -hw
\score{
- \notes \relative c''{
+ \relative c''{
#(override-auto-beam-setting '(end * * * *) 1 2)
\time 2/4
% one beam per measure
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc = "@cindex Beaming Presets
There are presets for the @code{auto-beam} engraver in the case of common
time signatures. " }
\score{
- \notes \relative c''{
+ \relative c''{
\time 1/2
c8 c c c
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Beam Position Control
" }
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
%% from upper staffline (position 4) to centre (position 0)
\override Beam #'positions = #'(2 . 0)
c'8[ c]
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Beam Count
" }
-fragment = \notes {
+fragment = {
#(override-auto-beam-setting '(end * * * *) 1 4)
f32 g a b b a g f
\score {
- \notes\relative c \fragment
+ \relative c \fragment
\paper { raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Beam Dir Functions
\paper { raggedright = ##t}
\score {
- \notes\relative c'' {\time 3/4
+ \relative c'' {\time 3/4
\override Beam #'dir-function = #beam-dir-majority
c8[ g]
\override Beam #'dir-function = #beam-dir-mean
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Beam Isknee
}
\score{
\context PianoStaff <<
- \context Staff=one \notes\relative c'{
+ \context Staff=one \relative c'{
s1
}
- \context Staff=two \notes\relative c'{
+ \context Staff=two \relative c'{
\clef bass
% no knee
\stemUp c8[ \change Staff=one \stemDown g'16 f]
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Beam Neutral Direction
When a beam falls in the middle of the staff, the beams point normally
down. However, this behaviour can be altered, if desired.
" }
-fragment = \notes {
+fragment = {
b''8[ b]
\override Beam #'neutral-direction = #-1
b[ b]
\paper { raggedright = ##t}
\score {
- \notes\relative c \fragment
+ \relative c \fragment
\paper {raggedright = ##t }
}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Beam Over Rests
" }
\score{
- \notes\relative c''{
+ \relative c''{
r4 r8[ g a]
bes8[ r16 f g a]
bes8[ r16 \set stemLeftBeamCount = #1 f g a]
-\version "2.2.0"
+\version "2.3.4"
% possible rename to invis-notes.ly
% check if other documents call this "blank notes", though. I think
% invisible notes sounds better, but whatever it is, it should be
\score {
- \notes \relative c'' { c4 d4
+ \relative c'' { c4 d4
\blanknotes e4 f4 \unblanknotes
g4 a
}
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "@cindex Blank Paper Tab
@code{Bar_number_engraver}. Here is an empty staff with a tablature staff.
" }
-emptymusic = \notes { \repeat unfold 4 { s1\break } \bar "|." }
+emptymusic = { \repeat unfold 4 { s1\break } \bar "|." }
\score {
-\notes <<
+ <<
\context Staff \emptymusic
\context TabStaff \emptymusic
>>
-\version "2.3.0"
+\version "2.3.4"
\header {
texidoc="@cindex Blank Paper
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Boxed Stencil
grob. " }
- \score { \notes \relative c'' {
+ \score { \relative c'' {
\override TextScript #'print-function =
#(make-stencil-boxer 0.1 0.3 0.2 Text_item::print)
}
-\version "2.2.0"
+\version "2.3.4"
-cadenza = \notes \relative c' {
+cadenza = \relative c' {
c4 d8 << { e f g } \\ { d4. } >>
g4 f2 g4 g
}
\score {
- \notes
+
\relative c' \new GrandStaff <<
\new Staff { \cadenza c4 \bar "|." }
\new Staff {
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Capital Letters
The font can be changed to small caps.
shapeNorm = \revert LyricText #'font-shape
\score { <<
- \notes \relative c'' { c4 c4 c8 c8 c8 }
+ \relative c'' { c4 c4 c8 c8 c8 }
\context Lyrics \lyrics {
what4 is4 \shapeSC The8 Ma -- trix? }
>>
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Cautionary Accidentals
Cautinary accidentals are displayed in slurs by default. They can be
shown also with accidentals of smaller size.
" }
-\score { \notes \context Staff \transpose c c'' {
+\score { \context Staff \transpose c c'' {
\key d \major
% \set Staff.autoReminders = #'cautionary
\override Staff.Accidental #'font-size = #0
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "@cindex Chord Names German
The english naming of chords (default) can be changed to german
% beses/beses
}
\score {
-\notes <<
+ <<
\context ChordNames { \scm }
\new ChordNames {
\set instrument = #"german"
-\version "2.3.2"
+\version "2.3.4"
\header {
}
-chs = \notes \transpose c' c'
+chs = \transpose c' c'
{
<c e g>1
<c es g>% m = minor triad
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% alternate Jazz notation
-efullmusicJazzAlt = \notes
+efullmusicJazzAlt =
{
<c e gis>1-\markup { "+" }
<c e g b>-\markup { \normal-size-super
efullJazzAlt = #(sequential-music-to-chord-exceptions efullmusicJazzAlt #f)
-epartialmusicJazzAlt = \notes{
+epartialmusicJazzAlt = {
<c d>1-\markup { \normal-size-super "2" }
<c es>-\markup { "m" }
<c f>-\markup { \normal-size-super "sus4" }
}
%}
- \new Staff \notes \transpose c c' { \chs }
+ \new Staff \transpose c c' { \chs }
>>
\paper {
indent = 3.\cm
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc= "@cindex Chord Names No Inversions
Since there are several interpretations for recognizing
chord names, the lowest note is the bass note of a chord and the inversion
of the chord is found accordingly. " }
-scheme = \notes {
+scheme = {
<c' e' g'>1
<e' g' c''>
<e e' g' c''>
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Jazz chord names can also be printed without notes."
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Chord Octavation
Appending @code{_8} or @code{^8} to a clef name will
" }
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\clef "bass_8" c4 c c c |
\clef "treble^8" c'''4 c c c |
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Clef End of Line
" }
\score {
- \notes \transpose c c' {
+ \transpose c c' {
\override Staff.Clef #'break-visibility = #end-of-line-visible
\override Staff.KeySignature #'break-visibility = #end-of-line-visible
\set Staff.explicitClefVisibility = #end-of-line-visible
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc = "
@cindex Clef Manual Control
}
-\score { \notes {
+\score { {
\set Staff.clefGlyph = #"clefs-F"
\set Staff.clefPosition = #2
c'4
-\version "2.3.2"
+\version "2.3.4"
% Ugh, we need to override some LaTeX titling stuff
-flauti = \notes \relative c' {
+flauti = \relative c' {
\set Staff.instrument = #"2 Flauti"
\set Staff.instr = #"Fl."
\time 4/4
\bar"|."
}
-oboi = \notes \relative c' {
+oboi = \relative c' {
\set Staff.instrument = #"2 Oboi"
\set Staff.instr = #"Ob."
c1 c
}
-clarinetti = \notes \relative c' {
+clarinetti = \relative c' {
\set Staff.instrument = \markup { \column < "Clarinetti" { "in B" \raisedFlat } > }
\set Staff.instr = \markup { \smaller { "Cl(B" \raisedFlat ")" } }
c1 c
}
-fagotti = \notes \relative c' {
+fagotti = \relative c' {
\set Staff.instrument = #"2 Fagotti"
\set Staff.instr = #"Fg."
c1 c
}
-corni = \notes \relative c' {
+corni = \relative c' {
\set Staff.instrument = \markup { \column < "Corni" { "in E" \raisedFlat } > }
\set Staff.instr = \markup { \smaller { "Cor(E" \raisedFlat ")" } }
c1 c
}
-trombe = \notes \relative c' {
+trombe = \relative c' {
\set Staff.instrument = \markup \column < "2 Trombe" "(C)" >
\set Staff.instr = \markup \column < "Tbe." "(C)" >
c1 c
}
-timpani = \notes \relative c' {
+timpani = \relative c' {
\set Staff.instrument = \markup \column < "Timpani" "(C-G)" >
\set Staff.instr = #"Timp."
c1 c
}
-violinoI = \notes \relative c' {
+violinoI = \relative c' {
\set Staff.instrument = #"Violino I "
\set Staff.instr = #"Vl. I "
c1 c
}
-violinoII = \notes \relative c' {
+violinoII = \relative c' {
\set Staff.instrument = #"Violino II "
\set Staff.instr = #"Vl. II "
c1 c
}
-viola = \notes \relative c' {
+viola = \relative c' {
\set Staff.instrument = #"Viola"
\set Staff.instr = #"Vla."
c1 c
%c
}
-violoncello = \notes \relative c' {
+violoncello = \relative c' {
\set Staff.instrument = \markup \column < "Violoncello" "e" "Contrabasso" >
\set Staff.instr = \markup \column < "Vc." "Cb." >
c1 c
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Count Systems
\score{
- \notes\relative c''{
+ \relative c''{
\override NoteHead #'after-line-breaking-callback
= #display-system-count
% = #display-systemno
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Crescendi
Crescendi can be printed in a number of different ways.
" }
\score{
-\notes\relative c''{
+\relative c''{
a1\fff\> a\pp\!
a\< a\!
\set crescendoText = \markup { \italic \bold "cresc." }
-\version "2.2.0"
+\version "2.3.4"
% TODO: check to see if this example can be simplified using \small
% or \tiny.
\header { texidoc = "@cindex Cue Notes
\score {
- \notes
+
{
\set Staff.instrument = #"Horn in F"
\set Score.skipBars = ##t
@code{caesura}.
" }
-\version "2.2.0"
+\version "2.3.4"
\include "gregorian-init.ly"
\score {
<<
- \context Voice \notes \transpose c c' {
+ \context Voice \transpose c c' {
\set Score.timing = ##f
\set Score.barAlways = ##t
\override TextScript #'padding = #3
-\version "2.2.0"
+\version "2.3.4"
% possible rename to slurs-?
% TODO: find out what drarn means, and if there's an overlap with drarn.ly
\header{
"
}
-fragment = \notes {
+fragment = {
\override Slur #'direction = #1
\override Slur #'attachment = #'(head . head)
g''16(g)(g)(g)(d')(d)(d)(d)
\paper { raggedright = ##t}
\score {
- \notes\relative c \fragment
+ \relative c \fragment
\paper { raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header{texidoc="@cindex Drarn
You can attach slurs and ties to noteheads.
" }
\score {
- \context Staff \notes <<
+ \context Staff <<
\relative c'' {
\time 3/8
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Dynamic Absolute Volume
Absolute dynamics have an effect on MIDI files.
\score{
-\notes\relative c''{
+\relative c''{
%segfault in engraver
a1\ppp
a1\pp
-\version "2.2.0"
+\version "2.3.4"
% probably should be merged into refman.
\header{
texidoc = "@cindex Dynamic Piu Forte
piuf = \markup { \italic "pi\\`u" \dynamic "f" }
\score{
- \notes\relative c''{
+ \relative c''{
c-\piuf
c
c2\< c2\!
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Embedded Postscript
By inserting the @TeX{} command \embeddedps, you can
%
\score {
- \notes \relative c'' {
+ \relative c'' {
a-"\\embeddedps{3 4 moveto 5 3 rlineto stroke}"
-"\\embeddedps{ [ 0 1 ] 0 setdash 3 5 moveto 5 -3 rlineto stroke}"
b-"\\embeddedps{3 4 moveto 0 0 1 2 8 4 20 3.5 rcurveto stroke}"
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Embedded scm
(newline))
\score {
- \notes\relative c' { c }
+ \relative c' { c }
\paper {raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc="@cindex Embedded Tex
You can embed Tex commands in your score. "}
-fragment = \notes {
+fragment = {
a''^"3 $\\times$ \\`a deux"
}
\paper { raggedright = ##t}
\score {
- \notes\relative c \fragment
+ \relative c \fragment
\paper { raggedright = ##t }
}
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="In polyphonic notation, many voices can share a staff: In
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "The notation problem, creating a certain symbol,
-\version "2.3.2"
+\version "2.3.4"
% definitely wil be renamed to something.
%{
\score {
<<
- \new Staff \notes\relative c''{ c1 c c c c }
- \new StaffGroup \notes\relative c''{
+ \new Staff \relative c''{ c1 c c c c }
+ \new StaffGroup \relative c''{
\new Staff
c1 c
<< c1 \new Staff { c1 } >>
texidoc = "An alternate method to make bass figures is to use
@code{markup} texts."
}
-\version "2.2.0"
+\version "2.3.4"
nat = \markup { \natural }
sh = \markup { \smaller \raise #0.6 \sharp }
fl = \markup { \flat }
\score {
- \context Voice \notes {
+ \context Voice {
\clef bass
\override TextScript #'font-family = #'number
\override TextScript #'font-size = #-6
-\version "2.2.0"
+\version "2.3.4"
% MERGED: stuff from follow-break.ly to follow-thread.ly
% followVoice: connect note heads with line when thread switches staff
\score {
- \notes\relative c {
+ \relative c {
\new PianoStaff <<
\set PianoStaff.followVoice = ##t
\context Staff=one \context Voice {
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="@cindex Force hshift
Horizontal shift (@code{hshift}) can be forced in order to avoid collisions. " }
\score {
- \notes\relative c'
+ \relative c'
\context Staff << {
<d g>
<d g>
texidoc = "Frets are supported as markup commands."
}
-\version "2.3.1"
+\version "2.3.4"
\score {
<<
\new ChordNames \chords {c2. f d s bes}
- \notes \context Voice=mel {
+ \context Voice=mel {
% c'2. c' c' c' c'
c'2.^\markup \override #'(staff-padding . 4.0) {\fret-diagram #1 #"f:2;6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;"}
f'^\markup {\fret-diagram #1 #"c:6-1-1;p:0.5;6-1;5-3;4-3;3-2;2-1;1-1;"}
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Gourlay
}
\score{
- \notes \context Staff \relative c'' <<
+ \context Staff \relative c'' <<
{ \stemUp d2 d | d d | d4 d2. | \break c1 }
\\
{ \stemDown g4 g g g | \times 2/3 { g2 g2 g2 } | g4. g8 g2 | c1 }
-\version "2.2.0"
+\version "2.3.4"
\header {
title = "Gregorian Scripts"
texidoc = "@cindex Gregorian Scripts
\score {
\context VaticanaVoice {
\override VaticanaScript #'padding = #-0.5
- \notes {
+ {
a\ictus
a\circulus
a\semicirculus
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="@cindex Artificial Harmonics
}
\score {
- \notes {
+ {
<c' g'\harmonic>4
}
\paper {
-\version "2.2.0"
+\version "2.3.4"
#(if (not (defined? 'pieceTagLine))
"
}
-\score{ \notes{ c'4 }
+\score{ { c'4 }
\paper {raggedright=##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Horizontal Shift
Notes may be manually horizontally shifted. " }
shiftV = \override NoteColumn #'horizontal-shift = #4
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\context Staff <<
\new Voice {\stemUp \shiftI g'' }
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc = "
\context Staff <<
\time 4/4
\partcombine
- \notes\relative c'' {
+ \relative c'' {
a4 c4.(g8) a4 |
g4 e' g(f) |
b, a c2
}
- \notes\relative c'' {
+ \relative c'' {
g4 e4.(d8) c4 |
g'4 c, e(f) |
d2 a
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc =
}
-improOn = \notes {
+improOn = {
\set squashedPosition = #0
\override NoteHead #'style = #'slash
}
-improOff = \notes {
+improOff = {
\unset squashedPosition
\revert NoteHead #'style
}
-global = \notes { s1*3 \bar "|." }
+global = { s1*3 \bar "|." }
\score {
<<
\context ChordNames \chords {
e8*7:m7 a2.:m7 bes4:m7 b1:m7 e8:m
}
- \notes <<
+ <<
\context Voice = melo \transpose c c' {
e8 e g a a16(bes)(a8) g \improOn
e8
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Incipit
This example shows how to make an ``incipit'' to indicate
scordatora tuning of a violin part, by overriding the @code{style} of
-violinincipit = \notes\relative c''{
+violinincipit = \relative c''{
\clef "french"
\time 2/2
\override Staff.TimeSignature #'style = #'old
\override Staff.TimeSignature #'style = #'C
}
-bcincipit = \notes\relative c{
+bcincipit = \relative c{
\clef bass
\override Staff.TimeSignature #'style = #'old
b2. cis4 |
\override Staff.TimeSignature #'style = #'C
}
-violin = \notes\relative c''{
+violin = \relative c''{
% Key signatures with different alterations in different octaves
% are broken since 1.3.58!
% \specialkey \keysignature f' fis'' g' gis''
<<{ a d}\\ { es,4}>>|
}
-BC = \notes\relative c{
+BC = \relative c{
\key d \major
\time 2/2
\clef "bass"
\score{
<<
- \context Staff = violin {\notes{
+ \context Staff = violin {{
\override Staff.Clef #'transparent = ##t
\violinincipit \bar ".|"
\revert Staff.Clef #'transparent
\endincipit
\violin
}}
- \new Staff {\notes{
+ \new Staff {{
\override Staff.Clef #'transparent = ##t
\bcincipit \bar ".|"
\revert Staff.Clef #'transparent
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc = "@cindex Instrument Name Grandstaff
You can have a name for the whole @code{GrandStaff} in addition to
individual @code{Staff}s. " }
\score {
- \notes
- \notes \context GrandStaff <<
+
+ \context GrandStaff <<
\context Staff = treble {
\set GrandStaff.instrument = "Violini "
\set Staff.instrument = " vn I" { c''4 }}
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc = "@cindex Ancient Vaticana
Vaticana ligature uses four staff lines, special clef, an notes
\include "gregorian-init.ly"
-cantus = \context VaticanaVoice = "cantus" \notes {
+cantus = \context VaticanaVoice = "cantus" {
\clef "vaticana_fa2"
\[ f\melisma \quilisma g \auctum \descendens a\melismaEnd \]
\[ \virga a\melisma g \pes a \inclinatum f \inclinatum d
-\version "2.2.0"
+\version "2.3.4"
% MERGE with title.ly -gp
%{
\score {
- \notes \relative c'' { c1 c1 c1 c1 }
+ \relative c'' { c1 c1 c1 c1 }
}
\score {
- \notes \relative c'' { c1 c1 c1 c1 }
+ \relative c'' { c1 c1 c1 c1 }
\header {
-\version "2.3.2"
+\version "2.3.4"
\header {
}
\score {
-<< \notes \new Staff \relative c'' { \time 1/4 c16[ c c c]
+<< \new Staff \relative c'' { \time 1/4 c16[ c c c]
\time 1/4
c16[ c c c]
\time 1/4
% shorthand for Skip Lyric
-sl = \notes { \skip 4 }
+sl = { \skip 4 }
-\version "2.2.0"
+\version "2.3.4"
\score {
<<
- \context Voice = "A" \notes {c4 c c c}
+ \context Voice = "A" {c4 c c c}
\lyricsto "A" \context Lyrics=A \lyrics { foo __ \sl \sl bar }
\lyricsto "A" \context Lyrics=B \lyrics { foo -- \sl baz bar }
\lyricsto "A" \context Lyrics=C \lyrics { foo -- baz -- baaz bar }
texidoc = "Use \\score block as markup command."
}
-\version "2.3.2"
+\version "2.3.4"
tuning = \markup {
\score {
-\version "2.3.2"
+\version "2.3.4"
% TODO:
% check with ancient- stuff. rename, merge, something. -gp
% graphical width of the ligatures rather to the musical moment in time.
% This is intended behaviour.
-voice = \notes \transpose c c' {
+voice = \transpose c c' {
\set Score.timing = ##f
\set Score.defaultBarType = "empty"
g\longa c\breve a\breve f\breve d'\longa^\fermata
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc ="@cindex Ancient Mensural Note Heads
}
\score {
- \notes {
+ {
\relative c'' {
\override NoteHead #'style = #'mensural
c\maxima*1/8
-\version "2.2.0"
+\version "2.3.4"
% candidate for regression. -gp
\header {
texidoc="Converting LilyPond input to MIDI and then again back with
%}
-scales = \notes \relative c {
+scales = \relative c {
% [INSTRUMENT_NAME] bright acoustic
\key c \major % sharp-major
-\version "2.3.1"
+\version "2.3.4"
% possible rename to scheme- or something like that. -gp
\header { texidoc= "@cindex Scheme Manual Accidentals
(ly:grob-parent elt 1) 'staff-position) pos))))
\score {
- \context Voice \notes \relative c'' {
+ \context Voice \relative c'' {
c2.
<<
\set Staff.AccidentalPlacement = \turnOff
-\version "2.3.1"
+\version "2.3.4"
% possible rename to scheme- or something like that. -gp
\header { texidoc = "@cindex Scheme Move Text
Objects, like text, can be moved around by using some Scheme code.
(lambda (grob) (equal? text (ly:grob-property grob 'text))))
\score {
- \notes\relative c''' {
+ \relative c''' {
\override Stem #'direction = #1
\applyoutput #(outputproperty-compatibility (make-text-checker (make-simple-markup "m.d."))
'extra-offset '(-3.5 . -4.5))
-\version "2.3.2"
+\version "2.3.4"
\include "deutsch.ly"
% possible rename to scheme- something. -gp
% TODO: ask if it needs to have so many empty bars in the middle. -gp
-\version "2.3.2"
+\version "2.3.4"
-pat = \notes \transpose c c' \repeat unfold 2 {
+pat = \transpose c c' \repeat unfold 2 {
<< { \context Staff=up {r8 e16 f g e f g } }
{ \context Staff=down <<
\context Voice=vup { \stemUp \tieUp r16 d8.~d4 }
>>
}
-enda = \notes { r8 f,16 a, c f c a, \stemUp c \change Staff = down
+enda = { r8 f,16 a, c f c a, \stemUp c \change Staff = down
a, f, a, f, d, f, d, \change Staff = up \stemBoth
r8 g16 h d' f' d' h d' h g h d f e\prall d <e g c'>1^\fermata \bar "|."
}
-endb = \notes {\stemUp \tieUp r16 c,8.~c,4~c,2 r16 h,,8.~h,,4~h,,2 c,1 \bar "|."}
-endc = \notes {\stemDown \tieDown c,,2~c,, c,,~c,, c,,1_\fermata }
+endb = {\stemUp \tieUp r16 c,8.~c,4~c,2 r16 h,,8.~h,,4~h,,2 c,1 \bar "|."}
+endc = {\stemDown \tieDown c,,2~c,, c,,~c,, c,,1_\fermata }
\score {
- \notes \transpose c c' \context PianoStaff <<
+ \transpose c c' \context PianoStaff <<
\context Staff=up { \clef "G" }
\context Staff=down { \clef "F" }
{ \applymusic #transform {\pat {c e g c' e' }
-\version "2.2.0"
+\version "2.3.4"
% possible rename to scheme- something. -gp
\header { texidoc = "@cindex Scheme Music Creation
-\version "2.3.2"
+\version "2.3.4"
% possible rename to bar-lines-foo. -gp
\header{ texidoc = "@cindex Bar Lines Remove
}
\score {
- \notes \relative c'' {
+ \relative c'' {
a b c d
d c b a
}
-\version "2.3.2"
+\version "2.3.4"
% possible rename to staff-something. -gp
\header{ texidoc = "@cindex Staff Remove
}
\score {
- \notes { c4 d4 e8 d8 }
+ { c4 d4 e8 d8 }
\paper {
raggedright = ##t
\context {
@code{RemoveEmptyStaffContext} take out the unused parts.
" }
-\version "2.3.2"
+\version "2.3.4"
\score {
- \notes\relative c''
+ \relative c''
\new StaffGroup \with {
\remove "System_start_delimiter_engraver"
\override SpanBar #'glyph = #":"
-\version "2.2.0"
+\version "2.3.4"
\header {
pattern = { a b c d \break }
\book {
\score {
- \context Staff \notes \relative c' {
+ \context Staff \relative c' {
%% 16: ideally cramped
%% 17: very bad without density
% \repeat unfold 17 { a b c d \break }
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc="@cindex Part Combine
In orchestral scores and hymns, voices are traditionally combined into
}
\score{
- \notes \context Staff = flauti <<
+ \context Staff = flauti <<
\time 4/4
\partcombine
\relative c'' {
-\version "2.2.0"
+\version "2.3.4"
% check with invisible-notes or blank-notes. possible rename. -gp
\header{ texidoc = "@cindex Partial Blank
When entering partially typeset music (i.e. for students to be
implemented by adding an invisible staff with a lot of fast notes. "
}
-quickmeasure = \notes {
+quickmeasure = {
\repeat unfold 16 c''16
}
-mel = \notes \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
+mel = \relative c' {c16 d16 e8 a4 g2 e8 d c2. g'1 e4 d c2}
\score {
-\context PianoStaff \notes <<
+\context PianoStaff <<
\new Staff <<
\clef G
\new Voice {\mel}
\repeat unfold 4 \quickmeasure
}
>>
- \new Staff \notes {\clef F s1*4}
+ \new Staff {\clef F s1*4}
>>
\paper {}
}
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc="@cindex Phrasing Slur Height
The @code{PhrasingSlur} can be made higher in order to avoid collision
with other slurs. "
}
\score {
- \new Staff \notes\relative c''{
+ \new Staff \relative c''{
\override Staff.PhrasingSlur #'height-limit = #8.0
c8 \( (d e f) g ( a b c)
| c ( b a g) f ( e d c)\)
}
-\version "2.2.0"
+\version "2.3.4"
#(define ((futz-alignment-callback distance count) grob axis)
(Align_interface::fixed_distance_alignment_callback grob axis)) )
\score {
- \notes \relative c'' \context PianoStaff
+ \relative c'' \context PianoStaff
\with {
verticalAlignmentChildCallback = #(futz-alignment-callback 20 1)
-\version "2.3.1"
+\version "2.3.4"
\header{ texidoc="
\score {
- \notes \relative c' <<
+ \relative c' <<
\new Staff {
\time 3/4
c4 c c | c c c |
-\version "2.3.2"
+\version "2.3.4"
\header{ texidoc="@cindex Time Signature Multiple
%% Should print bar lines according to the time signature of each staff. -HJJ
\score{
- \notes \relative c' <<
+ \relative c' <<
\new Staff {
\time 3/4
c4 c c | c c c |
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "
@cindex Preset Extent
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Repeat Manual
By controlling manually the signs and numbers in repeats, an unusual
output can be produced. "
}
-\score { \notes \relative c'' {
+\score { \relative c'' {
% First a normal looking repeat:
c2 c
\set Score.repeatCommands = #'((volta "1."))
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="
\score {
<<
- \context Staff \notes\relative c''{
+ \context Staff \relative c''{
c c c c
% coda-klugde: let volta span only one bar
\set Staff.voltaSpannerDuration = #(ly:make-moment 1 1)
-\version "2.2.0"
+\version "2.3.4"
% possible rename to lyric-repeat or repeat-lyric.
\score{
<<
- \context Staff \notes\relative c'{
+ \context Staff \relative c'{
c d e f
\repeat "volta" 2 { g a b c }
\alternative { { c b a g } { f e d c } }
-\version "2.2.0"
+\version "2.3.4"
% candidate for regression. -gp
\header { texidoc = "@cindex Rest Dot Positions
Dots of rests should follow the rest positions. " }
-muz = \notes \relative c'' {
+muz = \relative c'' {
\time 6/1
r\longa r\breve |
r\longa. |
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "@cindex Rests
% happen, since there are no notes/stems in this example.
\score {
- \context Staff \notes\relative c {
+ \context Staff \relative c {
\set Score.timing = ##f
\override Staff.Rest #'style = #'mensural
r\maxima^"Rest style = \#'mensural"
-\version "2.3.1"
+\version "2.3.4"
% possible rename to scheme-something.
\header { texidoc="@cindex Scheme Reverse Music
Symmetric, or palindromical music can be produced, first, by printing
"
}
-music = \notes \relative c'' { c4 d4( e4 f4 }
+music = \relative c'' { c4 d4( e4 f4 }
#(define (reverse-music music)
(let* ((elements (ly:music-property music 'elements))
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc = "@cindex Rhythm Exercise
Rythmic exercises may be produced by removing the @code{Clef} engraver,
putting all notes to the same pitch and using transparent staff lines.
"
}
-\score { \notes { c4 c4 c8[ c8] c2 c2 }
+\score { { c4 c4 c8[ c8] c2 c2 }
\paper {
\context { \Staff
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc = "
"
}
-\score { \notes {
+\score { {
\key c \ionian c'8 -"C ionian, major" d'8 e'8 f'8 g'8 a'8 b'8 c''8
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Scheme Interactions
Using @code{ly:export}, the result of Scheme expressions can be passed
as LilyPond input. Within a Scheme expression, you can use, define or
" }
-foo = \notes \transpose c c { d''4-. }
-bra = \notes \transpose c c { e'4-. }
+foo = \transpose c c { d''4-. }
+bra = \transpose c c { e'4-. }
\score {
- \context Voice \notes\relative c' {
+ \context Voice \relative c' {
c4
#(ly:export (make-sequential-music (list foo foo foo )))
#(begin (define baz (make-simultaneous-music (list foo bra)))
% this chart is used in the manual too.
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Script Abbreviations
Some articulations may be entered using an abbreviation.
}
\score {
- \notes \context Voice {
+ \context Voice {
\override TextScript #'font-family = #'typewriter
\override TextScript #'font-shape = #'upright
c''4-._"c-." s4
-\version "2.2.0"
+\version "2.3.4"
% this chart is used in the manual too.
<<
\override Score.LyricText #'font-family = #'typewriter
\override Score.LyricText #'font-shape = #'upright
- \context Staff \notes {
+ \context Staff {
\set Score.timing = ##f
\set Score.barAlways = ##t
\override Staff.BarLine #'transparent = ##t
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Script Priority
Relative placements of different script types can be controlled
\score{
- \context Staff \notes \relative g''{
+ \context Staff \relative g''{
\override Score.TextScript #'script-priority = #-100
a4^\prall^\markup { \sharp }
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Stacked Text Articulation
Text and articulations may be stacked on top of each other. "
}
\score {
- \notes\relative c' {
+ \relative c' {
c2_"geen gedonder"_"jij gaat onder"
c2^^^.^|^"down"^"up"
}
-\version "2.2.0"
+\version "2.3.4"
% possible rename. -gp
\header { texidoc="@cindex Seperate Staccato
is attached to the notes."
}
-staccatos = \notes { s4-. s-. s-. s s }
+staccatos = { s4-. s-. s-. s s }
-music = \notes\relative c' { c4 d e f g a b c d e }
+music = \relative c' { c4 d e f g a b c d e }
\score {
\context Voice <<
-\version "2.2.0"
+\version "2.3.4"
\header{
texidoc="@cindex Slur Attachment Override
%% except that both slurs are stem <<-> stem.
%%
-fragment = \notes {
+fragment = {
\set autoBeaming = ##f
\override Stem #'direction = #1
\override Slur #'direction = #1
\score {
- \notes\relative c \fragment
+ \relative c \fragment
\paper { raggedright = ##t}
}
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc ="@cindex Slur Beautiful
The curvature of a slur is adjusted to stay away from note heads and
"
}
-\score { \notes {\relative c' {
+\score { {\relative c' {
\stemDown \slurUp
c16( a' f' a a f a, c,)
c( a' f' a a f d, c)
-\version "2.2.0"
+\version "2.3.4"
\header {texidoc = "@cindex Slur, dotted
The appearance of slurs may be changed from solid to dotted or dashed.
"
}
\score{
- \notes\relative c'{
+ \relative c'{
c( d e c) |
\slurDotted
c( d e c) |
-\version "2.2.0"
+\version "2.3.4"
\header {
}
\score {
- \notes \new PianoStaff
+ \new PianoStaff
<<
\context Staff = up {
\clef bass
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Slur Minimum Length
By setting the minimum length of a slur, notes are more separated. "
}
\score{
- \notes\relative c''{
+ \relative c''{
\time 2/4
\override Slur #'minimum-length = #40
c(c)
-\version "2.3.2"
+\version "2.3.4"
\header { texidoc="@cindex Slur Ugly
Strange slurs can be produced by setting properties by hand. "
}
-baseWalk = \notes \relative c {
+baseWalk = \relative c {
d,8( a' d f a d f d a f d a)
}
\score {
- \notes \context PianoStaff <<
+ \context PianoStaff <<
\time 6/4
\context Staff=up { s1 * 6/4 }
\context Staff=down <<
-\version "2.3.1"
+\version "2.3.4"
\header {
texidoc="@cindex Smart Transpose
music))
-music = \notes \relative c' { c4 d e f g a b c }
+music = \relative c' { c4 d e f g a b c }
\score {
- \notes \context Staff {
+ \context Staff {
\transpose c ais \music
\applymusic #naturalise \transpose c ais \music
\transpose c deses \music
-\version "2.2.0"
+\version "2.3.4"
% more yummy regression goodness. -gp
\header {
}
\score {
- \notes \relative c''
+ \relative c''
\context GrandStaff <<
\new Staff <<
\new Voice { \stemUp\slurUp\tieUp
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Spanner after break
#(debug-enable 'backtrace)
-\score {\notes \relative c'' {
+\score { \relative c'' {
\override Tie #'after-line-breaking-callback =
#my-callback
c1 ~ \break c2 ~ c
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc="@cindex Nested Staff Groups
Staffs can be nested in various combinations. Here, @code{StaffGroup}
"
}
-\score { \notes
+\score {
<<
\new StaffGroup <<
\new Staff {c' d' e' f'}
-\version "2.3.2"
+\version "2.3.4"
\header {
\score {
- \notes \relative c'' <<
+ \relative c'' <<
\new StaffContainer {
%% need << >>, otherwise we descend to the voice inside SA
-\version "2.2.0"
+\version "2.3.4"
\header {
}
-upper = \notes\relative c'' {
+upper = \relative c'' {
c1 d e f
}
-lower = \notes\relative c {
+lower = \relative c {
c1 b a g
}
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Staff Size
}
\score {
- \notes \relative c' <<
+ \relative c' <<
\new Staff \relative c'' {
\dynamicDown c,,4 \ff c c c
}
-\version "2.3.2"
+\version "2.3.4"
\header{ texidoc ="@cindex Staff Space
By just increasing @code{staff-space} on a staff, you may produce strange
}
\score {
- \notes \relative c'' \context GrandStaff <<
+ \relative c'' \context GrandStaff <<
\new Staff { c4 c4 }
\new Staff {
c4
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Stem Cross Staff
The chords which exceptionally cross staves may be produced by increasing
noFlag = \once \override Stem #'flag-style = #'no-flag
-\score { \notes
+\score {
\context PianoStaff
<< \new Staff {
\stemDown
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Stem Extend
Extending stems to the center line may be prevented using @code{no-stem-extend}.
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
\context Staff <<
\new Voice {
f2 f8 g a b
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc = "@cindex Stem Length
The length of stems can be altered. "
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
g''4 \override Stem #'length = #14 g4
\override Stem #'length = #3 g4 g,,4
}
-\version "2.2.0"
+\version "2.3.4"
\header {texidoc = "@cindex Tablature hammer
A hammer in tablature can be faked with slurs. "
}
\score{
\context TabStaff <<
- \notes\relative c''{
+ \relative c''{
c(d)
d(d)
d(c)
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc = "@cindex Tabulature
Tablature is internally done by overriding the note-head formatting function
"
}
-partition = \notes {
+partition = {
\key e \major
e8\5 fis\5 gis\5 a\5 b\5 cis'\5 dis'\5 e'\5
e8\4 fis\4 gis\4 a\4 b\4 cis'\4 dis'\4 e'\4
-\version "2.3.2"
+\version "2.3.4"
\header {
}
\score {
- \notes {
+ {
\relative c' {
\context Staff = One { c4 d e f }
<<
}
-\version "2.2.0"
+\version "2.3.4"
\score {
-\new Staff \notes \relative c'' {
+\new Staff \relative c'' {
\set Staff.instrument = #"rotatebox{90}{Chor}"
%% uncomment this for rotation
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex text spanner
Text spanners can be used in the similar manner than markings for pedals
}
\score{
- \notes\relative c''{
+ \relative c''{
\override TextSpanner #'edge-text = #'("bla" . "blu")
a \startTextSpan
b c
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc = "@cindex Textscript
There are different fonts and glyphs to be used with @code{\markup} command. "
}
\score{
- \notes\relative c''{
+ \relative c''{
\override TextScript #'font-shape = #'upright
c1^\markup { \dynamic "p" "ma sosten." }
c^\markup \huge "ABCD"
-\version "2.2.0"
+\version "2.3.4"
\score {
-\context Staff \notes {
+\context Staff {
\relative c'' <<
{
\once \override Stem #'transparent = ##t
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc= "
}}
-\score { \notes \relative c'
+\score { \relative c'
{
\override Staff.TimeSignature #'print-function = #Text_item::print
\override Staff.TimeSignature #'text = #tsMarkup
-\version "2.2.0"
+\version "2.3.4"
% TODO: This file could be old. Ask about it later. -gp
\header { texidoc = "@cindex Time
%}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
% LilyPond doesn't understand 'default =>> it does what you want
\override Staff.TimeSignature #'style = #'default
\time 1/1
-\version "2.2.0"
+\version "2.3.4"
% possible rename to bar-something.
\header{ texidoc = "@cindex Bar Length
}
\score {
- \context Voice \notes\relative c {
+ \context Voice \relative c {
% \set Score.measurePosition = #(ly:make-moment -1 4)
-\version "2.2.0"
+\version "2.3.4"
%{
Markup titles also available for direct PostScript output:
\book {
\score {
- \context Staff \notes \relative c' {
+ \context Staff \relative c' {
c2-\sizeTest c2-\spaceTest
}
\paper {
}
\score {
- \context Staff \notes \relative c' {
+ \context Staff \relative c' {
%% stress page breaking:
%% 35 keep on 3 pages
%% 36 spread evenly over 4 pages
-\version "2.2.0"
+\version "2.3.4"
% MERGE with lilypond-
\header {
filename = "title.ly"
}
\score {
- \context Staff \notes \relative c' {
+ \context Staff \relative c' {
\repeat unfold 10 {
c d e f f e d c \break
c d e f f e d c
}
\score {
- \notes \relative c' {
+ \relative c' {
f e d c c d e f \break
f e d c c d e f
}
-\version "2.2.0"
+\version "2.3.4"
-fooBar = \notes { << c''4 \\ g'4 >> }
+fooBar = { << c''4 \\ g'4 >> }
#(ly:set-option 'parse-protect #f)
#(load-from-path "to-xml.scm")
-\version "2.2.0"
+\version "2.3.4"
\header{ texidoc = "@cindex Transposition
Transposing has also an effect key signature, if it is given using
% should the explicitly set key signature transpose also? -HJJ
-vOne = \notes \relative c''{
+vOne = \relative c''{
\clef"violin"
\key d \major
\time 2/4
c4 c |
}
-vTwo = \notes \transpose c d { \vOne }
+vTwo = \transpose c d { \vOne }
-vThree = \notes \relative c''{
+vThree = \relative c''{
\clef"violin"
% keysignature fis cis
\set Staff.keySignature = #'((0 . 2)(3 . 2))
}
-vFour = \notes \transpose c d \vThree
+vFour = \transpose c d \vThree
\score {
\context StaffGroup <<
-\version "2.2.0"
+\version "2.3.4"
\header { texidoc="@cindex Trill
The extended trill may be produced using @code{TextSpanner} with @code{trill}
\score {
- \context RhythmicStaff \notes {
+ \context RhythmicStaff {
\stemDown
\override Stem #'transparent = ##t
\override TextSpanner #'dash-fraction = #0.0
-\version "2.2.0"
+\version "2.3.4"
\header {
texidoc="@cindex Trills
\score {
<<
\context GrandStaff <<
- \new Staff \notes\relative c'' {
+ \new Staff \relative c'' {
\time 1/4
c4\prall
\time 3/8
"de suite"1
%}
}
- \new Staff \notes\relative c'' {
+ \new Staff \relative c'' {
% autobeamer has som problems here
d32[ \repeat unfold 3 { c d } c]
d8 ~ d32[\repeat unfold 3 { c32 d } c]
-\version "2.3.1"
+\version "2.3.4"
% regression. -gp
\header {
}
-mel = \notes \context Staff {
+mel = \context Staff {
\repeat tremolo 8 {c'32 e' }
\repeat percent 2 { c''8 d'' }
\repeat volta 2 {c'4 d' e' f'}
\bar "|."
}
-\score { \notes {
+\score { {
\mel \break
\applymusic #unfold-repeats \mel
}
-\version "2.2.0"
+\version "2.3.4"
\header {
}
-\score { \context Lyrics \notes {
+\score { \context Lyrics {
\override Score.RehearsalMark #'self-alignment-X = #LEFT
\mark #(ly:export (string-append "Processed with LilyPond version " (lilypond-version)))
s2
-\version "2.2.0"
+\version "2.3.4"
% TODO: huh? what's this file about? -gp
\header { texidoc = "
" }
\score {
- \notes <<
+ <<
\new Staff {
\set Staff.verticalExtent = #'(-15.0 . 0.0)
\clef alto
#(ly:set-option 'old-relative)
-\version "2.2.0"
+\version "2.3.4"
\header{
filename = "twinkle-pop.ly"
xtitle = "Ah, vous dirais-je, maman "
}
-melodie = \notes\relative c'' {
+melodie = \relative c'' {
\clef "violin"
\time 2/4
-\version "2.3.2"
+\version "2.3.4"
\header {
texidoc = "Wilhelmus van Nassouwe"
(prepend-grob-property grob-name 'space-alist
(cons entry (cons 'extra-space value))))
-noclefs = \notes {
+noclefs = {
s1
\override Staff.Clef #'break-visibility = #(lambda (dir) (cons #t #t))
}
textheight = 270.0\mm
}
-voice = \notes \relative c' {
+voice = \relative c' {
\clef violin
\key g \major
d4 | g g a a b | a8 \myBreak
\bar "|."
}
-stich = \notes \relative c'' {
+stich = \relative c'' {
\override Staff.NoteCollision #'merge-differently-dotted = ##t
\set fontSize = #-3
%% broken?
#define IMPLEMENT_SMOBS(CL) \
IMPLEMENT_BASE_SMOBS (CL) \
-SCM \
+void \
CL::smobify_self () \
{ \
- SCM s = unprotected_smobify_self ();\
+ SCM s = unprotected_smobify_self ();\
scm_gc_protect_object (s);\
return s;\
}\
virtual ~CL ();\
SCM unprotected_smobify_self ();\
private: \
- SCM smobify_self (); \
+ void smobify_self (); \
SCM self_scm_; \
public: \
SCM self_scm () const { return self_scm_; } \
String format = output_formats[i];
String func_nm = format;
func_nm = "output-classic-framework-" + func_nm;
+ String mod_nm = "scm framework-" + format;
+
+ SCM mod = scm_c_resolve_module (mod_nm.to_str0 ());
+ SCM func = scm_c_module_lookup (mod, func_nm.to_str0 ());
+
+ func = scm_variable_ref (func);
- SCM func = ly_scheme_function (func_nm.to_str0 ());
Paper_outputter *out = get_paper_outputter (outname + "." + format,
format);
{
ly_interpret_stencil (stil.expr (),
ly_scheme_function ("ly:paper-outputter-dump"),
- smobify_self (),
+ self_scm (),
ly_offset2scm (Offset (0, 0)));
}
(make-module 1021 (list (resolve-interface '(scm output-tex)))))
(define output-ps-module
(make-module 1021 (list (resolve-interface '(scm output-ps)))))
-(define-public (tex-output-expression expr port)
- (display (eval expr output-tex-module) port))
+
(define-public (ps-output-expression expr port)
(display (eval expr output-ps-module) port))
-(define output-alist
- `(
- ("tex" . ("TeX output. The default output form." ,tex-output-expression))
- ("scm" . ("Scheme dump: debug scheme stencil expressions" ,write))
-; ("sketch" . ("Bare bones Sketch output." ,sketch-output-expression))
-; ("sodipodi" . ("Bare bones Sodipodi output." ,sodipodi-output-expression))
-; ("pdftex" . ("PDFTeX output. Was last seen nonfunctioning." ,pdftex-output-expression))
- ))
-
-
-(define (document-format-dumpers)
- (map
- (lambda (x)
- (display (string-append (pad-string-to 5 (car x)) (cadr x) "\n"))
- output-alist)
- ))
-
-(define-public (find-dumper format)
- (let ((d (assoc format output-alist)))
- (if (pair? d)
- (caddr d)
- (scm-error "Could not find dumper for format ~s" format))))
-
-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; other files.
conversions.append (((2, 3, 2), conv,
'''\\FooContext -> \\Foo'''))
+def conv (str):
+ str = re.sub (r'\\notes\b', '', str)
+
+ return str
+
+conversions.append (((2, 3, 4), conv,
+ '''remove \\notes'''))
+
################################
# END OF CONVERSIONS
################################