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