]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/topdocs/NEWS.texi
release commit
[lilypond.git] / Documentation / topdocs / NEWS.texi
1 \input texinfo @c -*-texinfo-*-
2 @setfilename NEWS.info
3 @settitle NEWS
4
5 @node Top, , , 
6 @top
7
8 @chapter New features in 2.1 since 2.0
9
10 Unreleased:
11
12 @itemize
13 @end itemize
14
15 Version 2.1.7
16
17 @itemize @bullet
18
19 @item Contexts may now be changed locally for an isolated music
20 expression. For example,
21   
22 @example
23   \new Voice \with @{
24      \consists "Pitch_squash_engraver"
25   @} @{
26     c'4
27   @}
28 @end example
29
30 @item The syntax for changing staffs has changed. The keyword
31 @code{\change} should now be used, e.g.
32
33 @example
34   \change Staff = up
35 @end example 
36
37 @item Features of spanner contexts, like @code{Staff}, can now be changed
38   using @code{\property}, eg.
39
40 @example
41   \new Staff @{
42        \property Staff.StaffSymbol \set #'line-count = #4
43        c'4
44   @} 
45 @end example
46
47 @noindent
48 puts a quarter note C on a staff with 4 lines.  
49
50
51 @item Multi measure rests are now truly centered between the
52 clefs/barlines of the staff, their position is independent of symbols
53 on the other staffs.
54
55 @item Collision resolution for dots in chords has been improved greatly. 
56
57 @item
58 Spacing following barlines was improved for widely stretched lines.
59
60 @item
61 Lyric hyphens and extenders now conform to standard typesetting
62 practice.
63
64 @item
65 Lyrics are now aligned under note heads conforming to engraving
66 standards. The responsible code has been rewritten, and is drastically
67 simpler from the previous version. To aid this rewrite, the syntactic
68 function of the extender line ( __ ) has been changed: it is now
69 attached to the lyric syllable.
70
71 @item
72 When redefining a context, the associated identifier is also
73 updated. For example, after reading following the snippet,
74 @example
75  \translator @{
76         \ScoreContext
77         autoBeaming = ##f
78  @}
79 @end example
80 the definition of @code{ScoreContext} is updated to include the changed
81 setting.
82
83
84 @item
85 The weight of the stafflines is now heavier at smaller staff sizes.
86 The font has been modified to match this look: at smaller sizes, the
87 font is heavier and the note heads are more rounded.
88
89 @item Processing scores is now done while parsing the file. New
90 Scheme functions give more flexibility: for example, it is now possible
91 interpret a score, collecting synchronized musical events in a list, and
92 manipulate that information using inline Scheme. For an example, see
93 @file{input/no-notation/recording.ly}.
94
95 @item Font sizes can now truly be scaled continuously: the  @code{font-size}
96 is similar to the old @code{font-relative-size}, but may be set to
97 fractional values; the closest design size will be scaled to achieve
98 the desired size. As a side-effect, there are now no longer
99 limitations in using smaller fonts (eg. grace notes) at small staff
100 sizes.
101
102 @item The appearance of stem tips is now also engraved with rounded corners.
103
104 @item
105 The placement of accidentals on chords and ledgered notes is improved.
106
107 @end itemize
108
109
110 @chapter New features in 2.0 since 1.8
111
112 @itemize
113
114 @item
115 Crescendos can now be drawn dotted or dashed.
116
117 @item
118 Quarter tones are now supported. They are entered by suffixing
119 @code{ih} for a half-sharp and @code{eh} for a half-flat. Hence, the
120 following is an ascending list of pitches:
121
122 @example
123   ceses ceseh ces ceh c cih cis cisih cisis
124 @end example
125
126 @item
127 The following constructs have been removed from the syntax:
128
129 @example
130   \duration #SCHEME-DURATION
131   \pitch #SCHEME-PITCH
132   \outputproperty @var{func} @var{symbol} = @var{value}
133 @end example
134
135 For @code{\outputproperty}, the following may be substituted:
136
137 @example
138    \applyoutput #(outputproperty-compatibility @var{func}
139                   @var{symbol} @var{value}) 
140 @end example 
141
142 @item
143 Clefs may now be transposed arbitrarily, for example
144
145 @example
146   \clef "G_8"
147   \clef "G_15"
148   \clef "G_9"
149 @end example
150
151
152 @item
153 The syntax for chords and simultaneous music have changed.
154 Chords are entered as
155
156 @example
157    <@var{pitches}>
158 @end example
159
160 while simultaneous music is entered as
161
162 @example
163    <<@var{..music list..}>>
164 @end example
165
166 In effect, the meanings of both have been swapped relative to their 1.8
167 definition.  The syntax for lists in @code{\markup} has changed
168 alongside, but figured bass mode was not  changed, i.e.:
169
170 @example
171   \markup @{ \center <@var{..list of markups..}> @}
172   \figure @{ <@var{figures}> @}
173 @end example
174
175 As chords the more often used than simultaneous music, this change will
176 save keystrokes.
177
178 @item
179 Each music expression can now be tagged, to make different printed
180 versions from the same music expression.  In the following example,
181 we see two versions of a piece of music, one for the full score, and
182 one with cue notes for the instrumental part:
183
184 @example
185 << \tag #'part <<
186      @{ c4 f2 g4 @}      % in the part, we have cue-notes  
187      \\ R1 >>
188   \tag #'score R1  % in the score: only a rest
189 >>
190 @end example
191  
192 The same can be applied to articulations, texts, etc.: they are
193 made by prepending
194
195 @example
196         -\tag #@var{your-tags} 
197 @end example
198
199 to an articulation, for example, 
200
201 @example
202         c4-\tag #'with-fingerings -4 -\tag #'with-strings \6
203 @end example
204
205 This defines a note, which has a conditional fingering and a
206 string-number indication.
207
208 @item
209 The settings for chord-fingering are more flexible. You can specify a
210 list where fingerings may be placed, eg.
211
212 @example
213         \property Voice.fingeringOrientations = #'(left down)
214 @end example
215
216 This will put the fingering for the lowest note below the chord, and the
217 rest to the left.
218
219 @item
220 The script previously known as @code{ly2dvi} has been renamed to
221 @code{lilypond}. The binary itself is now installed as
222 @code{lilypond-bin}.
223
224 @item
225 Markup text (ie. general text formatting) may now be used for lyrics too. 
226
227 @item
228 Two new commands for grace notes have been added, @code{\acciaccatura}
229 and @code{\appoggiatura},
230
231 @example
232   \appoggiatura f8 e4
233   \acciaccatura g8 f4
234 @end example
235
236 Both reflect the traditional meanings of acciaccatura and appogiatura,
237 and both insert insert a slur from the first grace note to the main
238 note.
239
240 @item 
241 Layout options for grace notes are now stored in a context property,
242 and may now be set separately from musical content.
243
244 @item
245 The @code{\new} command will create a context with a unique
246 name automatically. Hence, for multi-staff scores, it is no longer
247 necessary to invent arbitrary context names. For example, a two-staff
248 score may be created by
249
250 @example
251   \simultaneous @{
252     \new Staff @{ @var{notes for 1st staff} @}
253     \new Staff @{ @var{notes for 2nd staff} @}
254   @}
255 @end example
256
257
258
259 @item
260 Octave checks make octave errors easier to correct.
261 The syntax is 
262
263 @example
264   \octave @var{pitch}
265 @end example
266
267 This checks that @var{pitch} (without octave) yields @var{pitch} (with
268 octave) in \relative mode. If not, a warning is printed, and the
269 octave is corrected.
270
271 @item
272 All articulations must now be entered postfix. For example,
273
274 @example
275         c8[( d8]) 
276 @end example
277
278 @noindent
279 is a pair of beamed slurred eighth notes.
280
281 @item
282 The definition of @code{\relative} has been simplified.  Octaves are
283 now always propagated in the order that music is entered. In the
284 following example,  
285
286 @example
287   PRE
288   \repeat "unfold" 3  BODY \alternative @{ ALT1 ALT2 @}
289   POST
290 @end example
291
292 @noindent
293 the octave of BODY is based on PRE, the starting octave of ALT1 on
294 BODY, the starting octave of ALT2 on ALT1, and the starting octave of
295 POST on ALT2.
296
297 The same mechanism is used for all other music expressions, except the
298 chord. Backwards compatibility is retained through a special program option,
299 which is set through 
300
301 @example
302   #(ly:set-option 'old-relative)
303 @end example
304
305 @item
306 Windows users can double click a @code{.ly} file to process and view
307 it automagically through the new @code{lily-wins} frontend.
308
309 @end itemize
310
311
312
313
314 @chapter New features in 1.8 since 1.6
315
316 @itemize
317
318 @item 
319 The chord entry code has been completely rewritten. It is now
320 cleaner and more flexible.
321
322 @item 
323 A new syntax has been added for text entry.  This syntax is more
324 friendly than the old mechanism, and it is implemented in a more
325 robust and modular way. For more information, refer to the section on
326 "Text markup" in the notation manual.
327
328 @item 
329 The integration of the input language and Scheme has been made deeper:
330 you can now use LilyPond identifiers in Scheme, and use Scheme
331 expressions instead of LilyPond identifiers.
332
333 @item 
334 The internal representation of music has been cleaned up completely
335 and converted to Scheme data structures.  The representation may be
336 exported as XML.
337
338 @item 
339 A new uniform postfix syntax for articulation has been introduced.
340 A beamed slurred pair of eighth notes can be entered as
341
342 @example
343         c8-[-( d8-]-) 
344 @end example
345
346 In version 2.0, postfix syntax will be the only syntax
347 available, and the dashes will become optional.
348
349 This will simplify the language: all articulations can be entered as
350 postfix, in any order.
351
352 @item 
353 A new syntax has been added for chords:
354
355
356 @example
357         << PITCHES >>
358 @end example 
359
360 It is not necessary to update files to this syntax, but it will be for
361 using LilyPond version 2.0.  In version 2.0, this syntax will be
362 changed to
363
364 @example
365         < PITCHES >
366 @end example
367
368 for chords, and
369
370 @example
371         \simultaneous @{ .. @} 
372 @end example
373
374 for simultaneous music.
375
376 To convert your files from <PITCHES> to <<PITCHES>>, use the script
377 included in buildscripts/convert-new-chords.py
378
379 This change was introduced for the following reasons
380
381 @itemize @bullet
382 @item
383 It solves the "start score with chord" problem, where you have to
384   state \context Voice explicitly when a chord was the start of a
385   Staff or Score.
386 @item
387 With the new syntax, it is possible to distinguish between
388   articulations (or fingerings) which are for a single chord note,
389   and which are for the entire chord. This allows for per-note
390   fingerings, and is more logical on the whole.
391 @end itemize
392
393 @item 
394 User code may now be executed during interpreting.  The syntax for
395 this code is
396
397 @example
398         \applycontext #SCHEME-FUNCTION
399 @end example
400
401 @item 
402 User code may now be executed on arbitrary grobs during interpreting.
403 The syntax for this feature is
404
405 @example
406         \applyoutput #SCHEME-FUNCTION
407 @end example
408
409 @noindent
410 SCHEME-FUNCTION takes a single argument, and is called for every grob
411 that is created in the current context.
412
413 @item 
414 New algorithms for chord-name formatting have been installed. They
415 can be tuned and have ergonomic syntax for entering exceptions.
416
417 @item 
418 Texts may now be put on multimeasure rests, e.g.
419
420 @example
421         R1*20^\markup @{ "GP" @}
422 @end example
423
424 @item
425 Ancient notation now prints ligatures in Gregorian square neumes
426 notation, roughly following the typographical style of the Liber
427 hymnarius of Solesmes, published in 1983.  Ligatures are still printed
428 without the proper line breaking and horizontal spacing.
429
430 @item 
431 Glissandi can now be printed using the zigzag style.
432
433 @item 
434 LilyPond can now print clusters. The syntax is
435
436 @example
437         \apply #notes-to-clusters @{ NOTE NOTE .. @}
438 @end example
439
440 @item
441 For irregular meters, beat grouping marks can be printed. The
442 syntax for this is
443
444 @example
445         #(set-time-signature 7 8 '(3 2 2))
446 @end example
447
448
449 @item 
450 Nested horizontal brackets for music analysis can now be printed:
451
452 @example
453         NOTE-\startGroup
454                 ..
455         NOTE-\stopGroup
456 @end example
457
458
459 @item  Ottava brackets are now fully supported as a feature.  The syntax
460 is
461
462 @example
463         #(set-octavation 1)
464 @end example
465
466
467 @item  Metronome markings are printed when a \tempo command is processed.
468
469
470
471 @item Fingerings can be put on chords horizontally.
472
473
474
475 @item  The appearance of various glyphs has been fine-tuned.
476
477
478
479 @item  Different types of percent style repeats may now be nested.
480
481
482
483 @item  The emacs support has been extended.
484
485
486 @item 
487 The manual has been completely revised and extended.
488
489 @end itemize
490
491 @chapter New features in 1.6 since 1.4
492
493
494 @itemize @bullet
495
496 @item
497 Support for figured bass and tablature.
498
499 @item
500 Completely rewritten beam formatting: provides much better output
501 now.
502
503
504 @item
505 Completely revised and improved music font.
506
507
508 @item
509 Completely rewritten MIDI import support.
510
511 @item
512 Completely rewritten grace note support. Practically speaking this
513 means that grace notes can be slurred to normal normal notes.
514
515
516 @item
517 Improved accidental handling and formatting: styles for producing
518 cautionaries may vary, and complex collisions between accidentals of a
519 chord are handled much better.
520
521 @item
522 Better spacing: both globally and locally. This includes subtle
523 details like optical stem spacing.
524
525 @item
526 More support for ancient notation: mensural ligatures, ambitus
527 (pitch range) of voices, more shapes, etc.
528
529 @item
530 More support for piano notation: bracket pedals, directed arpeggios,
531 arpeggio brackets.
532
533 @item
534 Easier music polyphonic music entry.
535
536 @item
537 More extensibility, many speedups and bugfixes
538
539 @item
540 The manual has been thoroughly revised.
541
542 @item
543 Development is now hosted at http://savannah.gnu.org, and sources
544 can be downloaded through anonymous CVS.
545
546 @item
547 Support for windows: LilyPond is part of the cygwin distribution,
548 which comes with a user-friendly installer.
549
550 @end itemize