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