]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/changes.tely
Issue 4722 Introduce new markup-command draw-squiggle-line.
[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 Markup-command @code{\draw-squiggle-line} is now available.
66 Customizing is possible with overrides of @code{thickness}, @code{angularity},
67 @code{height} and @code{orientation}
68 @lilypond[quote,verbatim]
69 \markup
70   \overlay {
71     \draw-squiggle-line #0.5 #'(3 . 3) ##t
72
73     \translate #'(3 . 3)
74     \override #'(thickness . 4)
75     \draw-squiggle-line #0.5 #'(3 . -3) ##t
76
77     \translate #'(6 . 0)
78     \override #'(angularity . -5)
79     \draw-squiggle-line #0.5 #'(-3 . -3) ##t
80
81     \translate #'(3 . -3)
82     \override #'(angularity . 2)
83     \override #'(height . 0.3)
84     \override #'(orientation . -1)
85     \draw-squiggle-line #0.2 #'(-3 . 3) ##t
86   }
87 @end lilypond
88
89 @item
90 Markup-commands @code{\undertie} and @code{\overtie} are now available, as well
91 the generic markup-command @code{\tie}.
92 @lilypond[quote,verbatim]
93 \markup {
94   \undertie "undertied"
95   \overtie "overtied"
96 }
97
98 m = {
99   c''1 \prall -\tweak text \markup \tie "131" -1
100 }
101
102 { \voiceOne \m \voiceTwo \m }
103 @end lilypond
104
105 @item
106 @code{TabStaff} is now able to print micro-tones for bendings etc.
107 @lilypond[quote,verbatim]
108 \layout {
109   \context {
110     \Score
111     supportNonIntegerFret = ##t
112   }
113 }
114
115 mus = \relative { c'4 cih d dih }
116
117 <<
118   \new Staff << \clef "G_8" \mus >>
119   \new TabStaff \mus
120 >>
121 @end lilypond
122
123 @item
124 Two new styles of whiteout are now available.  The @code{outline} style
125 approximates the contours of a glyph's outline, and its shape is
126 produced from multiple displaced copies of the glyph.  The
127 @code{rounded-box} style produces a rounded rectangle shape.  For all
128 three styles, including the default @code{box} style, the whiteout
129 shape's @code{thickness}, as a multiple of staff-line thickness, can be
130 customized.
131
132 @lilypond[verbatim,quote]
133 \markup {
134   \combine
135     \filled-box #'(-1 . 15) #'(-3 . 4) #1
136     \override #'(thickness . 3)
137     \whiteout whiteout-box
138 }
139 \markup {
140   \combine
141     \filled-box #'(-1 . 24) #'(-3 . 4) #1
142     \override #'(style . rounded-box)
143     \override #'(thickness . 3)
144     \whiteout whiteout-rounded-box
145 }
146 \markup {
147   \combine
148     \filled-box #'(-1 . 18) #'(-3 . 4) #1
149     \override #'(style . outline)
150     \override #'(thickness . 3)
151     \whiteout whiteout-outline
152 }
153 \relative {
154   \override Staff.Clef.whiteout-style = #'outline
155   \override Staff.Clef.whiteout = 3
156   g'1
157 }
158 @end lilypond
159
160 @item
161 All of @code{\override}, @code{\revert}, @code{\set}, and
162 @code{\unset} now work with the @code{\once} prefix for making
163 one-time settings.
164 @lilypond[quote,verbatim]
165 \relative {
166   c'4 d
167   \override NoteHead.color = #red
168   e4 f |
169   \once \override NoteHead.color = #green
170   g4 a
171   \once \revert NoteHead.color
172   b c |
173   \revert NoteHead.color
174   f2 c |
175 }
176 @end lilypond
177
178 @item
179 When outputting MIDI, LilyPond will now store the @code{title}
180 defined in a score's @code{\header} block (or, if there is no
181 such definition on the @code{\score} level, the first such
182 definition found in a @code{\header} block of the score's
183 enclosing @code{\bookpart}, @code{\book}, or top-level scope)
184 as the name of the MIDI sequence in the MIDI file.  Optionally,
185 the name of the MIDI sequence can be overridden using the new
186 @code{midititle} @code{\header} field independently of
187 @code{title} (for example, in case @code{title} contains markup
188 code which does not render as plain text in a satisfactory way
189 automatically).
190
191 @item
192 Music (and scheme and void) functions and markup commands that
193 just supply the final parameters to a chain of overrides, music
194 function and markup command calls can now be defined in the form
195 of just writing the expression cut short with @code{\etc}.
196
197 @lilypond[verbatim,quote]
198 bold-red-markup = \markup \bold \with-color #red \etc
199 highlight = \tweak font-size 3 \tweak color #red \etc
200
201 \markup \bold-red "text"
202 \markuplist \column-lines \bold-red { One Two }
203
204 { c' \highlight d' e'2-\highlight -! }
205 @end lilypond
206
207 @item
208 LilyPond functions defined with @code{define-music-function},
209 @code{define-event-function}, @code{define-scheme-function} and
210 @code{define-void-function} can now be directly called from Scheme
211 as if they were genuine Scheme procedures.  Argument checking and
212 matching will still be performed in the same manner as when
213 calling the function through LilyPond input.  This includes the
214 insertion of defaults for optional arguments not matching their
215 predicates.  Instead of using @code{\default} in the actual
216 argument list for explicitly skipping a sequence of optional
217 arguments, @code{*unspecified*} can be employed.
218
219 @item
220 Current input location and parser are now stored in GUILE fluids
221 and can be referenced via the function calls @code{(*location*)}
222 and @code{(*parser*)}.  Consequently, a lot of functions
223 previously taking an explicit @code{parser} argument no longer do
224 so.
225
226 Functions defined with @code{define-music-function},
227 @code{define-event-function}, @code{define-scheme-function} and
228 @code{define-void-function} no longer use @code{parser} and
229 @code{location} arguments.
230
231 With those particular definitions, LilyPond will try to recognize
232 legacy use of @code{parser} and @code{location} arguments,
233 providing backwards-compatible semantics for some time.
234
235 @item
236 In the "english" notename language, the long notenames for pitches
237 with accidentals now contain a hyphen for better readability.  You
238 now have to write
239 @example
240 \key a-flat \major
241 @end example
242 instead of the previous
243 @example
244 \key aflat \major
245 @end example
246
247 Double accidentals do not get another hyphen, so the Dutch
248 @code{cisis} has the long English notename @code{c-sharpsharp}.
249
250 @item
251 The visual style of tremolo slashes (shape, style and slope)
252 is now more finely controlled.
253 @lilypond[quote,relative=2]
254   a8:32 b: c: d:
255   \override StemTremolo.shape = #'beam-like
256   a: b: c: d:
257   \override StemTremolo.style = #'constant
258   a: b: c: d:
259   g,2
260 @end lilypond
261
262
263 @item
264 Multi-measure rests have length according to their total duration,
265 under the control of @code{MultiMeasureRest.space-increment}.
266 @lilypond[quote]
267 { \compressFullBarRests
268   \override Staff.MultiMeasureRest.space-increment = 3.0
269   R1*2 R1*12 R1*64 }
270 @end lilypond
271
272 @item
273 Page numbers may now be printed in roman numerals, by setting the
274 @code{page-number-type} paper variable.
275
276 @item
277 It is now possible to use @code{\time} and @code{\partial}
278 together to change the time signature in mid measure.
279
280 @lilypond[verbatim,quote,relative=1]
281 \override Score.BarNumber.break-visibility = #end-of-line-invisible
282 \partial 4 \time 3/4 f4 | 2 4 | 2 \bar "||"
283 \time 9/8 \partial 4. f8 8 8 | 2. 8 8 8 |
284 @end lilypond
285
286 @item
287 It is now possible to override the @code{text} property of
288 chord names.
289
290 @lilypond[verbatim,fragment,quote]
291 <<
292 \new ChordNames \chordmode {
293   a' b c:7
294   \once \override ChordName.text = #"foo"
295   d
296 }
297 >>
298 @end lilypond
299
300 @item
301 Improved horizontal alignment when using @code{TextScript},
302 with @code{DynamicText} or @code{LyricText}.
303
304 @item
305 A new command @code{\magnifyStaff} has been added which scales staff
306 sizes, staff lines, bar lines, beamlets and horizontal spacing generally
307 at the @code{Staff} context level.  Staff lines are prevented from being
308 scaled smaller than the default since the thickness of stems, slurs, and
309 the like are all based on the staff line thickness.
310
311 @item
312 @code{InstrumentName} now supports @code{text-interface}.
313
314 @item
315 There is now support for controlling the @q{expression level} of
316 MIDI channels using the @code{Staff.midiExpression} context property.
317 This can be used to alter the perceived volume of even sustained notes
318 (albeit in a very @q{low-level} way) and accepts a number value between
319 @code{0.0} and @code{1.0}.
320
321 @example
322 \score @{
323   \new Staff \with @{
324     midiExpression = #0.6
325     midiInstrument = #"clarinet"
326   @}
327   <<
328     @{ a'1~ a'1 @}
329     @{
330       \set Staff.midiExpression = #0.7 s4\f\<
331       \set Staff.midiExpression = #0.8 s4
332       \set Staff.midiExpression = #0.9 s4
333       \set Staff.midiExpression = #1.0 s4
334
335       \set Staff.midiExpression = #0.9 s4\>
336       \set Staff.midiExpression = #0.8 s4
337       \set Staff.midiExpression = #0.7 s4
338       \set Staff.midiExpression = #0.6 s4\!
339     @}
340   >>
341   \midi @{ @}
342 @}
343 @end example
344
345 @item
346 Support for making it easier to use alternative @q{music} fonts other
347 than the default Emmentaler in LilyPond has been added.  See
348 @uref{http://fonts.openlilylib.org/} for more information.
349
350 @item
351 Grobs and their parents can now be aligned separately allowing
352 more flexibility for grob positions.  For example the @q{left} edge of a
353 grob can now be aligned on the @q{center} of its parent.
354
355 @item
356 Improvements to the @code{\partial} command have been made to
357 avoid problems when using multiple, parallel contexts.
358
359 @item @code{\chordmode} can now use @code{< >} and @code{<< >>}
360 constructs.
361
362 @item
363 A new command @code{\tagGroup} has now been added.  This complements
364 the existing @code{\keepWithTag} and @code{\removeWithTag} commands.
365 For Example:
366
367 @example
368 \tagGroup #'(violinI violinII viola cello)
369 @end example
370
371 declares a list of @q{tags} that belong to a single @q{tag group}.
372
373 @example
374 \keepWithTag #'violinI
375 @end example
376
377 Is now only concerned with @q{tags} from @q{violinI}’s tag group.
378
379 Any element of the included music tagged with one or more tags from the
380 group, but @emph{not} with @var{violinI}, will be removed.
381
382 @item
383 The @code{\addlyrics} function now works with arbitrary contexts
384 incuding @code{Staff}.
385
386 @item
387 String numbers can now also be used to print roman numerals
388 (e.g. for unfretted string instruments).
389 @lilypond[verbatim,quote,relative=2]
390 c2\2
391 \romanStringNumbers
392 c\2
393 \arabicStringNumbers
394 c1\3
395 @end lilypond
396
397 @item
398 The @code{thin-kern} property of the @code{BarLine} grob has been
399 renamed to @code{segno-kern}.
400
401 @item
402 @code{KeyCancellation} grobs now ignore cue clefs (like
403 @code{KeySignature} grobs do).
404
405 @item
406 Add support for @code{\once@tie{}\unset}
407
408 @item
409 It is now possible to individually color both the dots and parentheses
410 in fret diagrams when using the @code{\fret-diagram-verbose} markup
411 command.
412
413 @lilypond[verbatim,quote,relative=1]
414 \new Voice {
415   c1^\markup {
416     \override #'(fret-diagram-details . (
417                  (finger-code . in-dot))) {
418       \fret-diagram-verbose #'((mute 6)
419                                (place-fret 5 3 1 red)
420                                (place-fret 4 5 2 inverted)
421                                (place-fret 3 5 3 green)
422                                (place-fret 2 5 4 blue inverted)
423                                (place-fret 1 3 1 violet)
424                                (barre 5 1 3 ))
425     }
426   }
427   c1^\markup {
428     \override #'(fret-diagram-details . (
429                  (finger-code . below-string))) {
430       \fret-diagram-verbose #'((mute 6)
431                              (place-fret 5 3 1 red parenthesized)
432                              (place-fret 4 5 2 yellow
433                                                default-paren-color
434                                                parenthesized)
435                              (place-fret 3 5 3 green)
436                              (place-fret 2 5 4 blue )
437                              (place-fret 1 3 1)
438                              (barre 5 1 3))
439     }
440   }
441 }
442 @end lilypond
443
444 @item
445 Two new properties have been added for use in
446 @code{fret-diagram-details} when using the @code{\fret-diagram-verbose}
447 markup command; @code{fret-label-horizontal-offset} which affects the
448 @code{fret-label-indication} and @code{paren-padding} which controls the
449 space between the dot and the parentheses surrounding it.
450
451 @lilypond[verbatim,quote,relative=1]
452 \new Voice {
453   c1^\markup {
454     \fret-diagram-verbose #'((mute 6)
455                              (place-fret 5 3 1)
456                              (place-fret 4 5 2)
457                              (place-fret 3 5 3)
458                              (place-fret 1 6 4 parenthesized)
459                              (place-fret 2 3 1)
460                              (barre 5 2 3))
461   }
462   c1^\markup {
463     \override #'(fret-diagram-details . (
464                  (fret-label-horizontal-offset . 2)
465                  (paren-padding . 0.25))) {
466       \fret-diagram-verbose #'((mute 6)
467                                (place-fret 5 3 1)
468                                (place-fret 4 5 2)
469                                (place-fret 3 5 3)
470                                (place-fret 1 6 4 parenthesized)
471                                (place-fret 2 3 1)
472                                (barre 5 2 3))
473     }
474   }
475 }
476 @end lilypond
477
478 @item
479 A new markup command @code{\justify-line} has been added.  Similar to
480 the @code{\fill-line} markup command except that instead of setting
481 @emph{words} in columns, the @code{\justify-line} command balances the
482 whitespace between them ensuring that when there are three or more
483 words in a markup, the whitespace is always consistent.
484
485 @lilypond[quote,verbatim,papersize=a6]
486 \markup \fill-line {oooooo oooooo oooooo oooooo}
487 \markup \fill-line {ooooooooo oooooooo oo ooo}
488 @end lilypond
489
490 @lilypond[quote,verbatim,papersize=a6]
491 \markup \justify-line {oooooo oooooo oooooo oooooo}
492 \markup \justify-line {ooooooooo oooooooo oo ooo}
493 @end lilypond
494
495 @item
496 A new command @code{\magnifyMusic} has been added, which allows
497 the notation size to be changed without changing the staff size,
498 while automatically scaling stems, beams, and horizontal spacing.
499
500 @lilypond[verbatim,quote]
501 \new Staff <<
502   \new Voice \relative {
503     \voiceOne
504     <e' e'>4 <f f'>8. <g g'>16 <f f'>8 <e e'>4 r8
505   }
506   \new Voice \relative {
507     \voiceTwo
508     \magnifyMusic 0.63 {
509       \override Score.SpacingSpanner.spacing-increment = #(* 1.2 0.63)
510       r32 c'' a c a c a c r c a c a c a c
511       r c a c a c a c a c a c a c a c
512     }
513   }
514 >>
515 @end lilypond
516
517 @item
518 A new flexible template suitable for a range of choral music, is now
519 provided.  This may be used to create simple choral music, with or
520 without piano accompaniment, in two or four staves. Unlike other
521 templates, this template is @q{built-in}, which means it does not
522 need to be copied and edited: instead it is simply @code{\include}'d
523 in the input file.  For details, see @rlearning{Built-in templates}.
524
525 @item
526 The positioning of tuplet numbers for kneed beams has been significantly
527 improved.  Previously, tuplet numbers were placed according to the
528 position of the tuplet bracket, even if it was not printed.  This could
529 lead to stranded tuplet numbers.  Now they are now positioned
530 closer to the kneed-beam when an appropriate beam segment exists for its
531 placement and when the the bracket is not drawn.
532
533 Collision detection is also added, offsetting horizontally if too close
534 to an adjoining note column but preserving the number's vertical
535 distance from the kneed beam.  If the number itself is too large to
536 fit in the available space the original, bracket-based, positioning
537 system is used instead; and in the event of a collision (e.g. with an
538 accidental) the tuplet number is moved vertically away instead.
539
540 @lilypond[verbatim,fragment,quote,relative=1]
541 \time 3/4
542 \override Beam.auto-knee-gap = 3
543 \tuplet 3/2 4 {
544   g8 c'' e,
545   c'8 g,, e''
546   g,,8 e''' c,,
547 }
548 @end lilypond
549
550 @noindent
551 The original kneed-beam tuplet behavior is still available through an
552 @code{\override} via a new, @code{knee-to-beam} property.
553
554 @lilypond[verbatim,fragment,quote,relative=1]
555 \time 3/4
556 \override Beam.auto-knee-gap = 3
557 \override TupletNumber.knee-to-beam = ##f
558 \tuplet 3/2 4 {
559   g8 c'' e,
560   c'8 g,, e''
561   g,,8 e''' c,,
562 }
563 @end lilypond
564
565 @item
566 @code{\lyricsto} and @code{\addLyrics} have been @q{harmonized}.  Both
567 now accept the same kind of delimited argument list that @code{\lyrics}
568 and @code{\chords} accept.  Backward compatibility has been added so
569 music identifiers (i.e. @code{\mus}) are permitted as arguments.  A
570 @code{convert-ly} rule has been added that removes redundant uses of
571 @code{\lyricmode} and rearranges combinations with context starters such
572 that @code{\lyricsto} in general is applied last (i.e. like
573 @code{\lyricmode} would be).
574
575 @item
576 Scheme functions and identifiers can now be used as output definitions.
577
578 @item
579 Scheme expressions can now be used as chord constituents.
580
581 @item
582 Improved visual spacing of small and regular @q{MI} Funk and Walker
583 noteheads so they are now the same width as other shaped notes in
584 their respective sets.  @code{SOL} noteheads are also now visually
585 improved when used with both the normal Aiken and Sacred Harp heads, as
586 well as with the thin variants.
587
588 @item
589 @code{LeftEdge} now has a definable @code{Y-extent} (i.e.vertical).  See
590 @rinternals{LeftEdge}.
591
592 @item
593 Added a new @code{make-path-stencil} function that supports all
594 @code{path} commands both relative and absolute:
595
596 @code{lineto}, @code{rlineto}, @code{curveto}, @code{rcurveto},
597 @code{moveto}, @code{rmoveto}, @code{closepath}.  The function also
598 supports @q{single-letter} syntax used in standard SVG path commands:
599
600 @code{L}, @code{l}, @code{C}, @code{c}, @code{M}, @code{m}, @code{Z} and
601 @code{z}.  The new command is also backward-compatible with the original
602 @code{make-connected-path-stencil} function.  Also see
603 @file{scm/stencil.scm}.
604
605 @item
606 Context properties named in the @samp{alternativeRestores} property are
607 restored to their value at the start of the @emph{first} alternative in
608 all subsequent alternatives.
609
610 Currently the default set restores @q{current meter};
611
612 @lilypond[verbatim,fragment,quote,relative=2]
613 \time 3/4
614 \repeat volta 2 { c2 e4 | }
615 \alternative {
616   { \time 4/4 f2 d | }
617   { f2 d4 | }
618 }
619 g2. |
620 @end lilypond
621
622 @noindent
623 @q{measure position};
624
625 @lilypond[verbatim,fragment,quote,relative=2]
626 \time 3/4
627 \repeat volta 2 { c2 e4 | }
628 \alternative {
629   { \time 4/4
630     \set Timing.measurePosition = #(ly:make-moment -1/2)
631     f2 | }
632   { f2 d4 | }
633 }
634 g2. |
635 @end lilypond
636
637 @noindent
638 and @q{chord changes};
639
640 @lilypond[verbatim,fragment,quote]
641 <<
642   \new ChordNames {
643     \set chordChanges = ##t
644     \chordmode { c1:m d:m c:m d:m }
645   }
646   \new Staff {
647     \repeat volta 2 { \chordmode { c1:m } }
648     \alternative {
649       { \chordmode { d:m } }
650       { \chordmode { c:m } }
651     }
652   \chordmode { d:m }
653 }
654 >>
655 @end lilypond
656
657 @item
658 Improved MIDI output for breathe marks.  After tied notes, breaths take
659 time @emph{only} from the last note of the tie; e.g.
660 @code{@{ c4~ c8 \breathe @}} performs as @code{@{ c4~ c16 r @}} instead
661 of @code{@{ c4 r8 @}}.  This is more consistent with articulations and
662 how humans interpret breaths after ties.  It now also makes it easier to
663 align simultaneous breathe marks over multiple parts, all with different
664 note lengths.
665
666 @item
667 A new note head style for Tabulature has been added;
668 @code{TabNoteHead.style = #'slash}.
669
670 @item
671 Four new Clef glyphs have been added @emph{Double G}, @emph{Tenor G},
672 @emph{Varpercussion} and @emph{varC} and their related tessitura.
673 @lilypond[verbatim,quote,fragment]
674   \override Staff.Clef.full-size-change = ##t
675
676   \clef "GG" c c c c
677   \clef "tenorG" c c c c
678   \clef "varC" c c c c
679   \clef "altovarC" c c c c
680   \clef "tenorvarC" c c c c
681   \clef "baritonevarC" c c c c
682   \clef "varpercussion" c c c c
683
684   \break
685   \override Staff.Clef.full-size-change = ##f
686
687   \clef "GG" c c c c
688   \clef "tenorG" c c c c
689   \clef "varC" c c c c
690   \clef "altovarC" c c c c
691   \clef "tenorvarC" c c c c
692   \clef "baritonevarC" c c c
693   \clef "varpercussion" c c c c
694 @end lilypond
695
696 @item
697 Isolated durations in music sequences now stand for unpitched
698 notes.  This may be useful for specifying rhythms to music or
699 scheme functions.  When encountered in the final score, the
700 pitches are provided by the preceding note or chord.  Here are two
701 examples where this makes for readable input:
702
703 @lilypond[verbatim,quote]
704 \new DrumStaff \with { \override StaffSymbol.line-count = 1 }
705 \drummode {
706   \time 3/4
707   tambourine 8 \tuplet 3/2 { 16 16 16 }
708              8 \tuplet 3/2 { 16 16 16 } 8 8 |
709 }
710 @end lilypond
711
712 @lilypond[verbatim,quote]
713 \new Staff { r16 c'16 ~ 8 ~ 4 ~ 2 | }
714 @end lilypond
715
716 @item
717 @code{\displayLilyMusic} and its underlying Scheme functions no
718 longer omit redundant note durations.  This makes it easier to
719 reliably recognize and format standalone durations in expressions
720 like
721 @example
722 @{ c4 d4 8 @}
723 @end example
724
725 @item
726 Beaming exceptions can now be constructed using the
727 @code{\beamExceptions} scheme function.  One can now write
728
729 @lilypond[verbatim,quote,relative=1]
730 \time #'(2 1) 3/16
731 \set Timing.beamExceptions =
732   \beamExceptions { 32[ 32] 32[ 32] 32[ 32] }
733 c16 c c |
734 \repeat unfold 6 { c32 } |
735 @end lilypond
736
737 @noindent
738 with multiple exceptions separated with @code{|} bar checks
739 (writing the exception pattern without pitches is convenient but
740 not mandatory).  Previously, setting the beam exceptions would
741 have required writing
742
743 @example
744 \set Timing.beamExceptions =
745 #'(                         ;start of alist
746    (end .                   ;entry for end of beams
747     (                       ;start of alist of end points
748      ((1 . 32) . (2 2 2))   ;rule for 1/32 beams -- end each 1/16
749     )))
750 @end example
751
752 @item
753 The most common articulations are now reflected in MIDI output.
754 Accent and marcato make notes louder; staccato, staccatissimo and
755 portato make them shorter. Breath marks shorten the previous
756 note.
757
758 This behavior is customizable through the @code{midiLength} and
759 @code{midiExtraVelocity} properties on @code{ArticulationEvent}.
760 See @file{script-init.ly} for examples.
761
762 @item
763 The PostScript functionality of stroke adjustment is no longer
764 applied automatically but left to the discretion of the PostScript
765 device (by default, Ghostscript uses it for resolutions up to
766 150dpi when generating raster images).  When it is enabled, a more
767 complex drawing algorithm designed to benefit from stroke
768 adjustment is employed mostly for stems and bar lines.
769
770 Stroke adjustment can be forced by specifying the command line
771 option @samp{-dstrokeadjust} to LilyPond.  When generating
772 @code{PDF} files, this will usually result in markedly better
773 looking @code{PDF} previews but significantly larger file size.
774 Print quality at high resolutions will be unaffected.
775
776 @end itemize
777
778 @ifhtml
779 For older news, go to
780 @uref{http://lilypond.org/doc/v2.18/Documentation/changes/},
781 @uref{http://lilypond.org/doc/v2.16/Documentation/changes/},
782 or @uref{../,go back} to the Documentation index.
783
784
785 @end ifhtml
786
787 @bye