]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/changes.tely
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / Documentation / changes.tely
1 \input texinfo @c -*- coding: utf-8; mode: texinfo; -*-
2 @setfilename lilypond-changes.info
3 @settitle LilyPond Changes
4
5 @include macros.itexi
6
7 @ifhtml
8 @macro inputfileref{DIR,NAME}
9 @uref{../../\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
10 @end macro
11 @macro usermanref{NAME}
12 @inforef{\NAME\,,../user/lilypond/lilypond}@c
13 @end macro
14 @end ifhtml
15
16 @ifnothtml
17 @macro inputfileref{DIR,NAME}
18 @file{\DIR\/\NAME\}@c
19 @end macro
20 @macro usermanref{NAME}
21 See user manual, \NAME\
22 @end macro
23 @end ifnothtml
24
25 @macro textanchor{NAME}
26 @html
27 <a name="\NAME\"></a>
28 @end html
29 @end macro
30
31
32 @documentencoding utf-8
33 @documentlanguage en
34 @afourpaper
35
36 @finalout
37
38 @node Top
39 @top New features in 2.20 since 2.18
40
41 @allowcodebreaks false
42
43 @itemize
44
45 @ignore
46
47 HINTS
48
49 * add new items at the top
50
51 * only show verbatim input for syntax/input changes
52
53 * try to be as brief possible in those cases
54
55 * don't try to provide real-world examples, they often get too big,
56 which scares away people.
57
58 * Write complete sentences.
59
60 * only show user-visible changes.
61
62 @end ignore
63
64 @item
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
69
70   \clef "GG" c c c c
71   \clef "tenorG" c c c c
72   \clef "varC" c c c c
73   \clef "varpercussion" c c c c
74
75   \break
76   \override Staff.Clef.full-size-change = ##f
77
78   \clef "GG" c c c c
79   \clef "tenorG" c c c c
80   \clef "varC" c c c c
81   \clef "varpercussion" c c c c
82 @end lilypond
83
84 @item
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:
90
91 @lilypond[verbatim,quote]
92 \new DrumStaff \with { \override StaffSymbol.line-count = 1 }
93 \drummode {
94   \time 3/4
95   tambourine 8 \tuplet 3/2 { 16 16 16 }
96              8 \tuplet 3/2 { 16 16 16 } 8 8 |
97 }
98 @end lilypond
99
100 @lilypond[verbatim,quote]
101 \new Staff { r16 c'16 ~ 8 ~ 4 ~ 2 | }
102 @end lilypond
103
104 @item
105 Beaming exceptions can now be constructed using the
106 @code{\beamExceptions} scheme function.  One can now write
107
108 @lilypond[verbatim,quote,relative=1]
109 \time #'(2 1) 3/16
110 \set Timing.beamExceptions =
111   \beamExceptions { 32[ 32] 32[ 32] 32[ 32] }
112 c16 c c |
113 \repeat unfold 6 { c32 } |
114 @end lilypond
115
116 @noindent
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
121
122 @example
123 \set Timing.beamExceptions =
124 #'(                         ;start of alist
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
128     )))
129 @end example
130
131 @item
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
135 note.
136
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.
140
141 @item
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.
148
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.
154
155 @end itemize
156
157 @ifhtml
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.
162
163
164 @end ifhtml
165
166 @bye