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.13 since 2.12
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 Lilypond now helps beams avoid collisions with other grobs! This feature
66 works completely with manual beams. It also works for all automatic beams
67 that do not end right before a change in staff. For this special case, please
68 use manual beams. Note that beam collision avoidance does not kick in for
72 The Articulate script by Peter Chubb, which is GPLv3 licensed, is now
73 a part of the distribution. It allows easy generation of improved
74 MIDI files that perform non-legato by default, legato slurs, staccato,
75 tempo markings, trills, etc.
78 \include "articulate.ly"
80 all the rest of the score...
85 Single beat repeats for sixteenth or shorter notes and beat repeats for
86 measures containing notes of varying durations are now supported.
88 @lilypond[fragment,relative=2]
89 \repeat percent 2 { c16 d }
90 \repeat percent 2 { c32 e }
91 \repeat percent 2 { c64 f }
92 \repeat percent 2 { c128 g' }
97 Lilypond now engraves woodwind fingering charts.
103 \woodwind-diagram #'bassoon #'((lh . (thumb-cis))
104 (cc . (one two three five six))
108 \woodwind-diagram #'oboe #'((rh . (c))
110 (cc . (one two three four five six)))
117 MIDI output has been improved
119 @item voices are kept separated, which makes the MIDI file much more useful for postprocessing
120 @item optimal channel distribution: identical instruments share the same channel. This means that e.g. for a full orchestral score there are always 16 (15 plus percussion) diffently sounding instruments available, unrestricted by the number of staves or voices.
121 @item @code{\set Score.midiChannelMapping = #'staff} assigns one MIDI channel per staff, previously the default behavior. This setting is required if you want instrument changes to create MIDI program changes on a single MIDI channel.
122 @item dynamics are now rendered as note velocities, no longer as midi volume. This improves the sound on [high end] midi renderers.
126 MIDI-import through Midi2ly is improved
128 @item Midi2ly now also works on Windows systems
129 @item MIDI-files with more than 32 tracks are now handled
130 @item notes on certain simultaneous voices no longer ignored
131 @item notes overrunning a bar line are no longer truncated
132 @item initial key signature and time signature are respected
133 @item a problem with octaves in subsequent tracks/voices is fixed
134 @item initial support for multiple voices notated on one staff
135 @item the instrumentName is set from track data
136 @item new --skip option, rests are displayed by default
137 @item rests overrunning a bar line are not truncated
138 @item new --include-header option for setting titles
139 @item new --preview option for big MIDI-files
141 The first feature was sponsored by Valentin Villenave,
142 the other features were sponsored by Image-Line Software for FL Studio.
145 A new @code{Completion_rest_engraver} is available for automatically
146 converting long rests which overrun bar lines, matching the
147 @code{Completion_heads_engraver} for notes
152 \remove "Note_heads_engraver"
153 \consists "Completion_heads_engraver"
154 \remove "Rest_engraver"
155 \consists "Completion_rest_engraver"
159 This feature was sponsored by Image-Line Software for FL Studio.
162 Dots can be added to the table of contents items using:
165 tocItemMarkup = \tocItemWithDotsMarkup
170 New markup commands @code{\pattern} and @code{\fill-with-pattern} are available.
173 \pattern #3 #Y #0.3 \flat
175 \pattern #7 #X #2 \flat
176 \override #'(line-width . 40) \fill-with-pattern #1 #CENTER . left right
181 A minimal composer toolkit of modal transformations is provided.
182 A motif may be @notation{transposed}, @notation{inverted} and/or
183 converted to its @notation{retrograde} within any scale.
186 pentatonicScale = \relative a' { a c d f g }
187 motif = \relative c'' { d8 c f,4 <a f'> <a f'> }
194 \modalTranspose c a, \pentatonicScale \motif
195 \modalInversion d'' a' \pentatonicScale \motif
200 s4^"pentatonic scale"
211 Added minimal support for black mensural notation.
214 Enhanced support for obliqua shapes within white mensural ligatures.
217 \context MensuralStaff
221 \override NoteHead #'style = #'semipetrucci
223 \override NoteHead #'style = #'blackpetrucci
225 \revert NoteHead #'style
226 \override NoteHead #'ligature-flexa = ##t
227 \override NoteHead #'flexa-width = #3
230 \override NoteHead #'flexa-width = #5
233 \revert NoteHead #'style
240 New markup functions @code{\with-link} and @code{\page-link} that add
241 hyperlinks to a given label or a given page number. This works in the PDF
242 backend only. All entries to the table of contents now automatically add
243 hyperlinks to the pages they are referring to.
246 Compound time signatures are now supported by the @code{\compoundMeter} command,
247 which can be used instead of @code{\time}:
251 \compoundMeter #'(3 1 8)
253 \compoundMeter #'((2 8) (5 8))
255 \compoundMeter #'((1 2 3 8) (1 4) (3 8))
256 c8 c c c c c c4 c8 c c
261 Lyrics above a staff must have their @code{staff-affinity} set to
262 @code{DOWN} or must have their @code{alignAboveContext} property
263 set in order to be properly aligned. For more information, see
264 @ruser{Placing lyrics vertically}.
267 @code{stringTunings} property values have changed from a list of
268 semitones above middle C to a list of LilyPond pitch values.
269 convert-ly will handle the change automatically where the value
270 of @code{stringTunings} is set to a Scheme constant value.
272 New commands @code{makeStringTuning} and @code{contextStringTuning}
273 allow the creation of string tunings in the form of a Lilypond
277 By using @code{\cueDuringWithClef}, cue notes can now also have their own
278 clef, which is correctly reset at the end of the cue notes. At the begin
279 of each line, the standard clef is still displayed, but the cue clef is
280 shown after the time/key signature in smaller size.
283 vI = \relative c'' { \clef "treble" \repeat unfold 40 g4 }
284 \addQuote vIQuote { \vI }
288 \cueDuringWithClef #"vIQuote" #DOWN #"treble" { R1 } |
289 c4 \cueDuringWithClef #"vIQuote" #DOWN #"treble" {
293 \cueDuringWithClef #"vIQuote" #DOWN "soprano" { R1*2 \break R1 } |
299 \new Staff \new Voice \Solo
306 Note names can be selected with a new
307 @code{@bs{}language "italiano"} command, which
308 can be used in safe mode. The old
309 @code{@bs{}include "italiano.ly"} syntax is
310 still supported for now, but will be deprecated
314 autobeaming is now disabled by @code{\cadenzaOn} and enabled by
315 @code{\cadenzaOff}. Beaming in cadenzas should be indicated manually.
316 Also, if a cadenza is used in a piece with autobeaming disabled, it
317 will need to be disabled again after the cadenza.
320 The user is now able to specify the name of the predefined fretboard
321 table. This allows the use of multiple tables, with switching between them
325 The part-combiner's decision to combine/not combine notes can now be customized
327 @lilypond[quote,relative=2]
329 \relative c' { c2 \partcombineApart c | \partcombineChordsOnce e' e }
330 \relative c' { c2 \partcombineApart c | c c }
334 Tablature staves show fret numbers only by default. To get the
335 former style, @code{\tabFullNotation} is provided.
338 Funk-style and Walker-style shape notes have been added.
341 Rests will no longer keep a staff alive if @code{\RemoveEmptyStaffContext}
345 New option @code{-dinclude-settings=INCLUDEFILE.ly}, which causes lilypond
346 to include the given file before the score is processed. This allows the
347 user to change global settings without the need to change the score itself.
348 That way, several different editions/version (e.g. different page sizes)
349 can be generated from a file without having to modify the score for each
353 The autobeaming settings syntax has been changed. beatLength,
354 beatGrouping, beamSettings, and measureGrouping have all been eliminated.
355 Autobeaming is now controlled by baseMoment, beatStructure, and
356 beamExceptions. Default settings for each of these properties can be
357 stored for any time signature in time-signature-settings, so that
358 when the time signature is changed, the autobeaming will automatically
359 change. The new syntax should be much easier and require fewer
363 The SVG backend has optional support for
364 @uref{http://www.w3.org/Submission/WOFF, WOFF fonts}. Using the Scheme
365 option @code{-d svg-woff} together with the SVG backend selection
366 @code{-d backend=svg}, produces SVG output with CSS WOFF font selection.
369 The LilyPond G clef has been rotated 1.5 degrees clockwise for improved
370 balance. The old and new versions can be compared by looking at the
372 @uref{http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font.html#Clef-glyphs,
374 @uref{http://lilypond.org/doc/v2.13/Documentation/notation/the-feta-font.html#Clef-glyphs,
379 Text crescendo spanners can now be added directly using @code{\cresc},
380 @code{\dim} and @code{\decresc}.
381 @lilypond[quote,relative=2]
388 The documented syntax of @samp{lilypond} environments in the @LaTeX{}
389 mode of @command{lilypond-book} has been changed to conform with
390 standard @LaTeX{} syntax: options now come after the environment name:
392 \begin@{lilypond@}[@var{options}] @dots{}
395 The previous syntax with options after @samp{\begin} is still accepted
396 by @command{lilypond-book} but deprecated. Something like
398 sed -i '/begin\[/s/begin\(\[[^]]*]\)\(@{lilypond@}\)/begin\2\1/'
401 might do the trick for conversion.
404 Aesthetics of shape note heads have been enhanced. Variable line thicknesses
405 have been implemented. All note widths have been made consistent.
406 Minor shape note commands that use the relative major key for scale steps
410 A variant of the Segno sign is provided:
411 @lilypond[quote,relative=2]
417 Context modifications (@code{\with} blocks) can be stored in variables and
418 inserted into contexts or other @code{\with} blocks:
419 @lilypond[quote,verbatim]
420 coloredheads = \with { \override NoteHead #'color = #red }
421 noclef = \with { \remove "Clef_engraver" }
424 \new Voice \with { \coloredheads } \relative c' { c4 e g c }
436 A half-open articulation was added:
437 @lilypond[quote,relative=2]
440 This is sometimes used to indicate half-open hi-hats.
443 The Unicode Bidirectional Algorithm is now fully supported for
444 single-line markup due to enhanced integration with Pango.
447 LilyPond is now licensed under the GNU GPL v3+.
450 In tablature, frets can be indicated with labels other than numbers:
452 @lilypond[verbatim,quote,relative=1]
455 stringTunings = #`(,(ly:make-pitch 1 3 NATURAL)
456 ,(ly:make-pitch 1 1 NATURAL)
457 ,(ly:make-pitch 0 5 NATURAL)
458 ,(ly:make-pitch 0 3 NATURAL)
459 ,(ly:make-pitch 0 1 NATURAL)
460 ,(ly:make-pitch -1 5 NATURAL))
461 tablatureFormat = #fret-letter-tablature-format
464 \set fretLabels = #`(,(markup #:with-color red "a")
466 ,(markup #:italic #:smaller "c"))
467 <f d>4. <bes>8 <g e>4
472 Layout objects can be printed over a white background, which whites-out objects
473 in lower layers which lie beneath:
475 @lilypond[verbatim,quote,relative=1]
477 \override Staff.StaffSymbol #'layer = #4
478 \once \override Tie #'layer = #2
480 \once \override Staff.TimeSignature #'whiteout = ##t
481 \once \override Staff.TimeSignature #'layer = #3
487 Chords can be repeated using the @code{q} shortcut:
489 @lilypond[verbatim,quote,relative=2]
494 With two-sided mode, margins for odd and even pages can be set using
495 @code{inner-margin} and @code{outer-margin}:
500 inner-margin = 10 \mm
501 outer-margin = 20 \mm
506 Paper margin defaults, as specified in @file{ly/paper@/-defaults-init.ly}, apply
507 to the default paper size (a4) and are automatically scaled according to the
511 All combinations of @code{left-margin}, @code{right-margin} and
512 @code{line-width} work now. There is no more need to set @code{line-width}
513 manually unless you explicitly want to.
516 Support for using an alternative music font, such as Gonville, is now
520 In addition to the existing @code{\hspace} markup command,
521 a new @code{\vspace} command has been added to provide an easy
522 and flexible way to add vertical space in markups.
525 The direction of manual beams can be set with @code{^[} and @code{_[}.
528 A version of the breve note head has been added with two vertical lines on each side.
529 @lilypond[quote,relative=2]
531 \override Staff.NoteHead #'style = #'altdefault
536 Instrument names and vocal names now take into account the extent of
537 system start delimiters in other staves for their positioning,
538 resulting in improved default alignment for left-, center- and
540 @lilypond[quote,indent=18\mm]
545 \set Staff.instrumentName = #"Piccolo"
549 \set Staff.instrumentName = #"Flute"
554 \set Staff.instrumentName = #"Bassoon"
560 \set PianoStaff.instrumentName = #"Piano"
561 \context Staff = "up" {
564 \context Staff = "down" {
573 Braces in markup can now be selected by point size using the markup commands
574 @code{\left-brace} and @code{\right-brace}.
584 Intermediate .ps files which are created by LilyPond
585 during compilation are now deleted by default. To keep them,
586 add the following line to your input files:
588 #(ly:set-option 'delete-intermediate-files #f)
592 Dashed and dotted slurs, phrasing slurs, and ties
593 have been made variable thickness, and
594 partially dashed slurs are now available:
595 @lilypond[quote,relative=2]
605 An eyeglasses markup was added, indicating strongly to look at the
606 conductor for instructions:
607 @lilypond[quote,relative=2]
608 \mark \markup { \eyeglasses }
609 c4_\markup { \eyeglasses }
613 A snap-pizzicato (also known as Bartok-pizzicato) articulation was added:
614 @lilypond[quote,relative=2]
619 Tuplet number formatting functions are now available to print other fractions
620 and to add notes to the number or fraction:
621 @lilypond[quote,relative=2]
622 \once \override TupletNumber #'text =
623 #(tuplet-number::non-default-tuplet-denominator-text 7)
624 \times 2/3 { c4. c4. c4. c4. }
626 \once \override TupletNumber #'text =
627 #(tuplet-number::non-default-tuplet-fraction-text 12 7)
628 \times 2/3 { c4. c4. c4. c4. }
629 \once \override TupletNumber #'text =
630 #(tuplet-number::append-note-wrapper
631 (tuplet-number::non-default-tuplet-fraction-text 12 7) "8")
632 \times 2/3 { c4. c4. c4. c4. }
634 \once \override TupletNumber #'text =
635 #(tuplet-number::append-note-wrapper tuplet-number::calc-denominator-text "4")
636 \times 2/3 { c8 c8 c8 c8 c8 c8 }
637 \once \override TupletNumber #'text =
638 #(tuplet-number::append-note-wrapper tuplet-number::calc-fraction-text "4")
639 \times 2/3 { c8 c8 c8 c8 c8 c8 }
641 \once \override TupletNumber #'text =
642 #(tuplet-number::fraction-with-notes "4." "8")
643 \times 2/3 { c4. c4. c4. c4. }
644 \once \override TupletNumber #'text =
645 #(tuplet-number::non-default-fraction-with-notes 12 "8" 4 "4")
646 \times 2/3 { c4. c4. c4. c4. }
650 FretBoards now have a chordChanges property to keep repeated FretBoard objects
654 The vertical spacing engine has been drastically changed, making
655 it more flexible and easier to control.
656 The spacing between staves within a system can now change
657 to better use the space on the page.
658 User-defined contexts may participate in this flexible spacing,
659 depending on how their @code{staff-affinity} is defined.
660 Some page formatting variables (@code{page-top-space},
661 @code{between-system-space -padding}, and
662 @code{before- between- after-title-space}) have been replaced
663 by flexible vertical dimensions.
670 For older news, go to
671 @uref{http://lilypond.org/doc/v2.12/Documentation/topdocs/NEWS.html},
672 @uref{http://lilypond.org/doc/v2.10/Documentation/topdocs/NEWS.html},
673 or @uref{../,go back} to the Documentation index.