1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
8 @macro inputfileref{DIR,NAME}
9 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
11 @macro usermanref{NAME}
12 @inforef{\NAME\,,../user/lilypond/lilypond}@c
17 @macro inputfileref{DIR,NAME}
20 @macro usermanref{NAME}
21 See user manual, \NAME\
25 @macro textanchor{NAME}
32 @documentencoding utf-8
39 @top New features in 2.20 since 2.18
41 @allowcodebreaks false
49 * add new items at the top
51 * only show verbatim input for syntax/input changes
53 * try to be as brief possible in those cases
55 * don't try to provide real-world examples, they often get too big,
56 which scares away people.
58 * Write complete sentences.
60 * only show user-visible changes.
65 Four new Clefs have been added. @emph{Double G}, @emph{Tenor G},
66 @emph{Varpercussion} and @emph{varC}.
67 @lilypond[verbatim,quote,fragment]
68 \override Staff.Clef.full-size-change = ##t
71 \clef "tenorG" c c c c
73 \clef "varpercussion" c c c c
76 \override Staff.Clef.full-size-change = ##f
79 \clef "tenorG" c c c c
81 \clef "varpercussion" c c c c
85 Isolated durations in music sequences now stand for unpitched
86 notes. This may be useful for specifying rhythms to music or
87 scheme functions. When encountered in the final score, the
88 pitches are provided by the preceding note or chord. Here are two
89 examples where this makes for readable input:
91 @lilypond[verbatim,quote]
92 \new DrumStaff \with { \override StaffSymbol.line-count = 1 }
95 tambourine 8 \tuplet 3/2 { 16 16 16 }
96 8 \tuplet 3/2 { 16 16 16 } 8 8 |
100 @lilypond[verbatim,quote]
101 \new Staff { r16 c'16 ~ 8 ~ 4 ~ 2 | }
105 Beaming exceptions can now be constructed using the
106 @code{\beamExceptions} scheme function. One can now write
108 @lilypond[verbatim,quote,relative=1]
110 \set Timing.beamExceptions =
111 \beamExceptions { 32[ 32] 32[ 32] 32[ 32] }
113 \repeat unfold 6 { c32 } |
117 with multiple exceptions separated with @code{|} bar checks
118 (writing the exception pattern without pitches is convenient but
119 not mandatory). Previously, setting the beam exceptions would
120 have required writing
123 \set Timing.beamExceptions =
125 (end . ;entry for end of beams
126 ( ;start of alist of end points
127 ((1 . 32) . (2 2 2)) ;rule for 1/32 beams -- end each 1/16
132 The most common articulations are now reflected in MIDI output.
133 Accent and marcato make notes louder; staccato, staccatissimo and
134 portato make them shorter. Breath marks shorten the previous
137 This behavior is customizable through the @code{midiLength} and
138 @code{midiExtraVelocity} properties on @code{ArticulationEvent}.
139 See @file{script-init.ly} for examples.
142 The PostScript functionality of stroke adjustment is no longer
143 applied automatically but left to the discretion of the PostScript
144 device (by default, Ghostscript uses it for resolutions up to
145 150dpi when generating raster images). When it is enabled, a more
146 complex drawing algorithm designed to benefit from stroke
147 adjustment is employed mostly for stems and bar lines.
149 Stroke adjustment can be forced by specifying the command line
150 option @samp{-dstrokeadjust} to LilyPond. When generating
151 @code{PDF} files, this will usually result in markedly better
152 looking @code{PDF} previews but significantly larger file size.
153 Print quality at high resolutions will be unaffected.
158 For older news, go to
159 @uref{http://lilypond.org/doc/v2.18/Documentation/changes/},
160 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
161 or @uref{../,go back} to the Documentation index.