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.
64 Isolated durations in music sequences now stand for unpitched
65 notes. This may be useful for specifying rhythms to music or
66 scheme functions. When encountered in the final score, the
67 pitches are provided by the preceding note or chord. Here are two
68 examples where this makes for readable input:
70 @lilypond[verbatim,quote]
71 \new DrumStaff \with { \override StaffSymbol.line-count = 1 }
74 tambourine 8 \tuplet 3/2 { 16 16 16 }
75 8 \tuplet 3/2 { 16 16 16 } 8 8 |
79 @lilypond[verbatim,quote]
80 \new Staff { r16 c'16 ~ 8 ~ 4 ~ 2 | }
84 Beaming exceptions can now be constructed using the
85 @code{\beamExceptions} scheme function. One can now write
87 @lilypond[verbatim,quote,relative=1]
89 \set Timing.beamExceptions =
90 \beamExceptions { 32[ 32] 32[ 32] 32[ 32] }
92 \repeat unfold 6 { c32 } |
96 with multiple exceptions separated with @code{|} bar checks
97 (writing the exception pattern without pitches is convenient but
98 not mandatory). Previously, setting the beam exceptions would
102 \set Timing.beamExceptions =
104 (end . ;entry for end of beams
105 ( ;start of alist of end points
106 ((1 . 32) . (2 2 2)) ;rule for 1/32 beams -- end each 1/16
111 The most common articulations are now reflected in MIDI output.
112 Accent and marcato make notes louder; staccato, staccatissimo and
113 portato make them shorter. Breath marks shorten the previous
116 This behavior is customizable through the @code{midiLength} and
117 @code{midiExtraVelocity} properties on @code{ArticulationEvent}.
118 See @file{script-init.ly} for examples.
121 The PostScript functionality of stroke adjustment is no longer
122 applied automatically but left to the discretion of the PostScript
123 device (by default, Ghostscript uses it for resolutions up to
124 150dpi when generating raster images). When it is enabled, a more
125 complex drawing algorithm designed to benefit from stroke
126 adjustment is employed mostly for stems and bar lines.
128 Stroke adjustment can be forced by specifying the command line
129 option @samp{-dstrokeadjust} to LilyPond. When generating
130 @code{PDF} files, this will usually result in markedly better
131 looking @code{PDF} previews but significantly larger file size.
132 Print quality at high resolutions will be unaffected.
137 For older news, go to
138 @uref{http://lilypond.org/doc/v2.18/Documentation/changes/},
139 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
140 or @uref{../,go back} to the Documentation index.