Dear music enthusiasts, LilyPond is a program for making beautiful music notation. It is free/open source software, and is available for all popular operating systems. It runs on most Unix flavors --including Linux and MacOS X-- and MS Windows. Use it for your music too! LilyPond version 2.2 was released today! This release has completely revamped support for for orchestral score formatting, cue notes, font size management, lyric formatting, drum notation/playback and document integration. In addition, it has numerous syntax simplifications, proper support for 8va brackets, and a completely updated manual. Go and grab it at http://lilypond.org A big thank-you goes out to our contributors: David Bobroff, Edward Sanford Sutton, Heikki Junes, and Nicolas Sceaux. Also thanks to our bug-hunters: Alexandre Beneteau, Andrew McNabb, Atte Andre Jensen , Bertalan Fodor, Bruce McIntyre, Dave Symonds, David Bobroff, Darius, Delma Avers, Doug Linhardt, Eric Wurbel, Erik Sandberg, Ferenc Wagner, Hans Forbrich, John Williams, José Luis Cruz, Juergen Reuter, Kieren Richard MacMillan, Laurent Martelli, Mats Bengtsson, Matthias Kilian, Nancho Alvarez, Nick Busigin, Nicolas Sceaux , Olivier Guery, Patrick Atamaniuk, Paul Scott, Pawel D, Pedro Kroger, Ray McKinney, Reuben Thomas, Rob V, Stef Epardaud, Thomas Willhalm, Thomas Scharkowski, Tom Bäckström, Werner Lemberg, and Will Oram. Happy music printing, Han-Wen Nienhuys & Jan Nieuwenhuizen (core development team)
raggedlast = ##t
in the \paper
block
causes the last line to be set flush-left instead of justified.
Timing_engraver
now sets the Timing
alias on
its containing context automatically.
font-encoding
has been added, which makes the switch between normal text
and
other encodings like braces
, music
and math
.
\context
instead of \translator
.
set!
,
for example
(set! (ly:grob-property grob 'beam) ... )
\addquote clarinet \notes\relative c' { \transposition bes fis4 fis fis fis } \score { \notes \relative c'' { c8 d8 \quote 2 oboe es8 gis } }
\transposition
command. An
E-flat alto saxophone is specified as
\transposition es'
convert-ly -e -n --from=2.1.24 --to=2.1.26 *.scm
\noBeam
c8 c \noBeam c c
will print two separate eighth notes, and two beamed notes.
Score
no longer is the top context;
Score
is contained in the Global
context. Consequently,
it is possible to tweak Score
as follows:
\context Score \with { ... }
stringTunings
property.
(old) (new) \property A.B = #C \set A.B = #C \property A.B \unset \unset A.B \property A.B \set #C = #D \override A.B #C = #D \property A.B \override #C = #D (removed) \property A.B \revert #C \revert A.B #C
Furthermore, if A
is left out, the bottommost context is used
by default. In other words, it is no longer necessary to explicitly
mention Voice
, Lyrics
or ChordNames
.
Old:
\property Voice.autoBeaming = ##f \property Staff.TimeSignature \set #'style = #'C
New:
\set autoBeaming = ##f \override Staff.TimeSignature #'style = #'C
\override
and \revert
no longer
hide tweaks at higher context levels.
mbinclude
has been removed, plain @include
or
\input
can be used now.
It now supports running convert-ly on the lilypond snippets,
lilypond-book --filter='convert-ly --from=2.0.0' my-book.tely
LyricsVoice
context has been removed. Lyrics should only
be constructed in Lyrics
.
Thread
context has been removed. Note heads and rests
are now constructed at Voice
level.
<c' g''\harmonic>
\drums
mode, and printed or
performed in a DrumStaff
context:
\score { \drums \new DrumStaff { hihat4 cowbell8 } }
\autochange the-music
\markup
now has an equivalent in
Scheme. The markup*
macro creates such objects; the following
two markup commands are equivalent:
f4^#(markup* #:raise 0.2 #:bold "hi") f4^\markup { \raise #0.2 \bold hi }
vocalName
and vocNam
.
--safe-mode
, TeX and
PostScript file output is disallowed, and lilypond-bin is invoked with
--safe-mode
, the user's Guile expressions are evaluated in a
safe environment and file inclusion is not allowed.
Warning: this does not protect against denial-of-service attacks using Guile, TeX or PostScript.
(This feature is still experimental.)
\partcombine mus1 mus2
See input/regression/new-part-combine.ly for an example.
\mark
command now only does automatic incrementing for marks specified as
integer. For example, \mark #1
will print an A in the default
style. See input/regression/rehearsal-mark-letter.ly,
input/regression/rehearsal-mark-number.ly.
\context Voice \applyoutput #(add-balloon-text 'NoteHead "heads, or tails?" '(0 . -3)) c8
#(set-global-staff-size 15) \paper { #(paper-set-staff-size (* 15 pt)) }
Both have the same effect on the global layout of a piece. Similarly, the paper size may be changed as follows
#(set-default-paper-size "a4") \paper { #(set-paper-size "a4") }
barCheckSynchronize
superfluous, so it is now switched
off by default.
Warning: this will cause problems in scores that use bar checks to shorten measures.
=
quotes which indicates what its absolute
octave should be. In the following example,
\relative c'' { c='' b=' d,='' }
the d will generate a warning, because a d” is expected, but a d' is found.
Lyrics
lines can be put melodies
individually, allowing for different melismatic sections in every
Lyrics
. See input/regression/lyric-combine-new.ly.
\new Voice \with { \consists "Pitch_squash_engraver" } { c'4 }
\change
should now be used, e.g.
\change Staff = up
Staff
, can now be changed
using \set
, eg.
\new Staff { \override Staff.StaffSymbol #'line-count = #4 c'4 }
puts a quarter note C on a staff with 4 lines.
\translator { \ScoreContext autoBeaming = ##f }
the definition of ScoreContext
is updated to include the changed
setting.
font-size
is similar to the old font-relative-size
, but may be set to
fractional values; the closest design size will be scaled to achieve
the desired size. As a side-effect, there are now no longer
limitations in using smaller fonts (eg. grace notes) at small staff
sizes.