]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/expressive.itely
Docs: move Programming interfaces into Extending.
[lilypond.git] / Documentation / notation / expressive.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  See TRANSLATION for details.
7 @end ignore
8
9 @c \version "2.12.0"
10
11 @node Expressive marks
12 @section Expressive marks
13
14 @lilypondfile[quote]{expressive-headword.ly}
15
16 This section lists various expressive marks that can be
17 created in a score.
18
19 @menu
20 * Attached to notes::
21 * Curves::
22 * Lines::
23 @end menu
24
25
26 @node Attached to notes
27 @subsection Attached to notes
28
29 This section explains how to create expressive marks that are
30 attached to notes: articulations, ornamentations, and dynamics.
31 Methods to create new dynamic markings are also discussed.
32
33 @menu
34 * Articulations and ornamentations::
35 * Dynamics::
36 * New dynamic marks::
37 @end menu
38
39 @node Articulations and ornamentations
40 @unnumberedsubsubsec Articulations and ornamentations
41
42 @cindex articulations
43 @cindex ornamentation
44 @cindex scripts
45 @cindex ornaments
46 @cindex espressivo
47 @cindex fermata
48 @cindex upbow
49 @cindex downbow
50 @cindex foot marks
51 @cindex organ pedal marks
52 @cindex pedal marks, organ
53 @cindex turn
54 @cindex open
55 @cindex stopped
56 @cindex flageolet
57 @cindex reverseturn
58 @cindex trill
59 @cindex prall
60 @cindex mordent
61 @cindex prallprall
62 @cindex prallmordent
63 @cindex prall, up
64 @cindex prall, down
65 @cindex thumb marking
66 @cindex segno
67 @cindex coda
68 @cindex varcoda
69
70 @funindex -
71
72 A variety of symbols that denote articulations, ornamentations,
73 and other performance indications can be attached to a note using
74 this syntax:
75
76 @example
77 @var{note}\@var{name}
78 @end example
79
80 The possible values for @var{name} are listed in @ref{List of
81 articulations}.  For example:
82
83 @lilypond[verbatim,quote,relative=2]
84 c4\staccato c\mordent b2\turn
85 c1\fermata
86 @end lilypond
87
88 @cindex marcato
89 @cindex tenuto
90 @cindex staccatissimo
91 @cindex accent
92 @cindex staccato
93 @cindex portato
94
95 Some of these articulations have shorthands for easier entry.
96 Shorthands are appended to the note name, and their syntax
97 consists of a dash @code{-} followed by a symbol signifying the
98 articulation.  Predefined shorthands exist for @notation{marcato},
99 @notation{stopped}, @notation{tenuto}, @notation{staccatissimo},
100 @notation{accent}, @notation{staccato}, and @notation{portato}.
101 Their corresponding output appears as follows:
102
103 @lilypond[verbatim,quote,relative=2]
104 c4-^  c-+  c--  c-|
105 c4->  c-.  c2-_
106 @end lilypond
107
108 The rules for the default placement of articulations are defined
109 in @file{scm/@/script@/.scm}.  Articulations and ornamentations
110 may be manually placed above or below the staff; see
111 @ref{Direction and placement}.
112
113
114 @snippets
115
116 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
117 {modifying-default-values-for-articulation-shorthand-notation.ly}
118
119 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
120 {controlling-the-vertical-ordering-of-scripts.ly}
121
122 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
123 {creating-a-delayed-turn.ly}
124
125 @seealso
126 Music Glossary:
127 @rglos{tenuto},
128 @rglos{accent},
129 @rglos{staccato},
130 @rglos{portato}.
131
132 Notation Reference:
133 @ref{Direction and placement},
134 @ref{List of articulations},
135 @ref{Trills}.
136
137 Installed Files:
138 @file{scm/@/script@/.scm}.
139
140 Snippets:
141 @rlsr{Expressive marks}.
142
143 Internals Reference:
144 @rinternals{Script},
145 @rinternals{TextScript}.
146
147
148 @node Dynamics
149 @unnumberedsubsubsec Dynamics
150
151 @cindex absolute dynamics
152 @cindex dynamics
153 @cindex dynamics, absolute
154
155 @funindex \ppppp
156 @funindex ppppp
157 @funindex \pppp
158 @funindex pppp
159 @funindex \ppp
160 @funindex ppp
161 @funindex \pp
162 @funindex pp
163 @funindex \p
164 @funindex p
165 @funindex \mp
166 @funindex mp
167 @funindex \mf
168 @funindex mf
169 @funindex \f
170 @funindex f
171 @funindex \ff
172 @funindex ff
173 @funindex \fff
174 @funindex fff
175 @funindex \ffff
176 @funindex ffff
177 @funindex \fffff
178 @funindex fffff
179 @funindex \fp
180 @funindex fp
181 @funindex \sf
182 @funindex sf
183 @funindex \sff
184 @funindex sff
185 @funindex \sp
186 @funindex sp
187 @funindex \spp
188 @funindex spp
189 @funindex \sfz
190 @funindex sfz
191 @funindex \rfz
192 @funindex rfz
193
194 Absolute dynamic marks are specified using a command after a note,
195 such as @code{c4\ff}.  The available dynamic marks are
196 @code{\ppppp}, @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p},
197 @code{\mp}, @code{\mf}, @code{\f}, @code{\ff}, @code{\fff},
198 @code{\ffff}, @code{\fffff}, @code{\fp}, @code{\sf}, @code{\sff},
199 @code{\sp}, @code{\spp}, @code{\sfz}, and @code{\rfz}.  Dynamic
200 marks may be manually placed above or below the staff; see
201 @ref{Direction and placement}.
202
203 @lilypond[verbatim,quote,relative=2]
204 c2\ppp c\mp
205 c2\rfz c^\mf
206 c2_\spp c^\ff
207 @end lilypond
208
209 @cindex hairpin
210 @cindex crescendo
211 @cindex decrescendo
212 @cindex diminuendo
213
214 @funindex \<
215 @funindex \>
216 @funindex \!
217 @funindex \cr
218 @funindex cr
219 @funindex \decr
220 @funindex decr
221
222 A @notation{crescendo} mark is started with @code{\<} and
223 terminated with @code{\!}, an absolute dynamic, or an additional
224 crescendo or decrescendo mark.  A @notation{decrescendo} mark is
225 started with @code{\>} and is also terminated with @code{\!}, an
226 absolute dynamic, or another crescendo or decrescendo mark.
227 @code{\cr} and @code{\decr} may be used instead of @code{\<} and
228 @code{\>}.  @notation{Hairpins} are engraved by default using this
229 notation.
230
231 @lilypond[verbatim,quote,relative=2]
232 c2\< c\!
233 d2\< d\f
234 e2\< e\>
235 f2\> f\!
236 e2\> e\mp
237 d2\> d\>
238 c1\!
239 @end lilypond
240
241 Spacer rests are needed to engrave multiple marks on one note.
242
243 @cindex multiple dynamic marks on one note
244 @cindex dynamic marks, multiple on one note
245
246 @lilypond[verbatim,quote,relative=2]
247 c4\< c\! d\> e\!
248 << f1 { s4 s4\< s4\> s4\! } >>
249 @end lilypond
250
251 @cindex espressivo articulation
252
253 @funindex \espressivo
254 @funindex espressivo
255
256 In some situations the @code{\espressivo} articulation mark may be
257 the appropriate choice to indicate a crescendo and decrescendo on
258 one note:
259
260 @lilypond[verbatim,quote,relative=2]
261 c2 b4 a
262 g1\espressivo
263 @end lilypond
264
265
266 @funindex \crescTextCresc
267 @funindex crescTextCresc
268 @funindex \dimTextDecresc
269 @funindex dimTextDecresc
270 @funindex \dimTextDecr
271 @funindex dimTextDecr
272 @funindex \dimTextDim
273 @funindex dimTextDim
274 @funindex \crescHairpin
275 @funindex crescHairpin
276 @funindex \dimHairpin
277 @funindex dimHairpin
278
279 Crescendos and decrescendos can be engraved as textual markings
280 instead of hairpins.  Dashed lines are printed to indicate their
281 extent.  The built-in commands that enable these text modes are
282 @code{\crescTextCresc}, @code{\dimTextDecresc},
283 @code{\dimTextDecr}, and @code{\dimTextDim}.  The corresponding
284 @code{\crescHairpin} and @code{\dimHairpin} commands will revert
285 to hairpins again:
286
287 @lilypond[verbatim,quote,relative=2]
288 \crescTextCresc
289 c2\< d | e f\!
290 \dimTextDecresc
291 e2\> d | c b\!
292 \crescHairpin
293 c2\< d | e f\!
294 \dimHairpin
295 e2\> d\!
296 @end lilypond
297
298
299 To create new absolute dynamic marks or text that should be
300 aligned with dynamics, see @ref{New dynamic marks}.
301
302 @cindex dynamics, vertical positioning
303 @cindex vertical positioning of dynamics
304
305 @funindex DynamicLineSpanner
306
307
308 Vertical positioning of dynamics is handled by
309 @rinternals{DynamicLineSpanner}.
310 @funindex \dynamicUp
311 @funindex dynamicUp
312 @funindex \dynamicDown
313 @funindex dynamicDown
314 @funindex \dynamicNeutral
315 @funindex dynamicNeutral
316
317
318 @predefined
319 @code{\dynamicUp},
320 @code{\dynamicDown},
321 @code{\dynamicNeutral},
322 @code{\crescTextCresc},
323 @code{\dimTextDim},
324 @code{\dimTextDecr},
325 @code{\dimTextDecresc},
326 @code{\crescHairpin},
327 @code{\dimHairpin}.
328 @endpredefined
329
330
331 @snippets
332
333 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
334 {setting-hairpin-behavior-at-bar-lines.ly}
335
336 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
337 {setting-the-minimum-length-of-hairpins.ly}
338
339 @cindex al niente
340 @cindex niente, al
341
342 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
343 {printing-hairpins-using-al-niente-notation.ly}
344
345 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
346 {vertically-aligned-dynamics-and-textscripts.ly}
347
348 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
349 {hiding-the-extender-line-for-text-dynamics.ly}
350
351 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
352 {changing-text-and-spanner-styles-for-text-dynamics.ly}
353
354
355 @seealso
356 Music Glossary:
357 @rglos{al niente},
358 @rglos{crescendo},
359 @rglos{decrescendo},
360 @rglos{hairpin}.
361
362 Learning Manual:
363 @rlearning{Articulation and dynamics}.
364
365 Notation Reference:
366 @ref{Direction and placement},
367 @ref{New dynamic marks},
368 @ref{What goes into the MIDI output?},
369 @ref{Controlling MIDI dynamics}.
370
371 Snippets:
372 @rlsr{Expressive marks}.
373
374 Internals Reference:
375 @rinternals{DynamicText},
376 @rinternals{Hairpin},
377 @rinternals{DynamicLineSpanner}.
378
379
380 @node New dynamic marks
381 @unnumberedsubsubsec New dynamic marks
382
383 @cindex new dynamic marks
384 @cindex dynamic marks, new
385
386 The easiest way to create dynamic indications is to use
387 @code{\markup} objects.
388
389 @lilypond[verbatim,quote]
390 moltoF = \markup { molto \dynamic f }
391
392 \relative c' {
393   <d e>16_\moltoF <d e>
394   <d e>2..
395 }
396 @end lilypond
397
398 @cindex dynamics, editorial
399 @cindex dynamics, parenthesis
400 @cindex editorial dynamics
401 @funindex \bracket
402 @funindex bracket
403 @funindex \dynamic
404 @funindex dynamic
405
406 In markup mode, editorial dynamics (within parentheses or square
407 brackets) can be created.  The syntax for markup mode is described
408 in @ref{Formatting text}.
409
410 @lilypond[verbatim,quote]
411 roundF = \markup { \center-align \concat { \bold { \italic ( }
412            \dynamic f \bold { \italic ) } } }
413 boxF = \markup { \bracket { \dynamic f } }
414 \relative c' {
415   c1_\roundF
416   c1_\boxF
417 }
418 @end lilypond
419
420 @cindex make-dynamic-script
421 @funindex make-dynamic-script
422
423 Simple, centered dynamic marks are easily created with the
424 @code{make-dynamic-script} function.
425
426 @lilypond[verbatim,quote]
427 sfzp = #(make-dynamic-script "sfzp")
428 \relative c' {
429   c4 c c\sfzp c
430 }
431 @end lilypond
432
433 In general, @code{make-dynamic-script} takes any markup object as its
434 argument.  The dynamic font only contains the characters
435 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
436 plain text or punctuation symbols is desired, markup commands that
437 reverts font family and font encoding to normal text should be used,
438 for example @code{\normal-text}.  The interest of using
439 @code{make-dynamic-script} instead of an ordinary markup is ensuring
440 the vertical alignment of markup objects and hairpins that are
441 attached to the same note head.
442
443 @lilypond[verbatim,quote]
444 roundF = \markup { \center-align \concat {
445            \normal-text { \bold { \italic ( } }
446            \dynamic f
447            \normal-text { \bold { \italic ) } } } }
448 boxF = \markup { \bracket { \dynamic f } }
449 mfEspress = \markup { \center-align \line {
450               \hspace #3.7 mf \normal-text \italic espress. } }
451 roundFdynamic = #(make-dynamic-script roundF)
452 boxFdynamic = #(make-dynamic-script boxF)
453 mfEspressDynamic = #(make-dynamic-script mfEspress)
454 \relative c' {
455   c4_\roundFdynamic\< d e f
456   g,1~_\boxFdynamic\>
457   g
458   g'~\mfEspressDynamic
459   g
460 }
461 @end lilypond
462
463 The Scheme form of markup mode may be used instead.  Its syntax is
464 explained in @rextend{Markup construction in Scheme}.
465
466 @lilypond[verbatim,quote]
467 moltoF = #(make-dynamic-script
468             (markup #:normal-text "molto"
469                     #:dynamic "f"))
470 \relative c' {
471   <d e>16 <d e>
472   <d e>2..\moltoF
473 }
474 @end lilypond
475
476 Font settings in markup mode are described in
477 @ref{Selecting font and font size}.
478
479
480 @seealso
481 Notation Reference:
482 @ref{Formatting text},
483 @ref{Selecting font and font size},
484 @ref{What goes into the MIDI output?},
485 @ref{Controlling MIDI dynamics}.
486
487 Snippets:
488 @rlsr{Expressive marks}.
489
490 Extend:
491 @rextend{Markup construction in Scheme},
492
493
494
495 @node Curves
496 @subsection Curves
497
498 This section explains how to create various expressive marks that
499 are curved: normal slurs, phrasing slurs, breath marks, falls, and
500 doits.
501
502 @menu
503 * Slurs::
504 * Phrasing slurs::
505 * Breath marks::
506 * Falls and doits::
507 @end menu
508
509 @node Slurs
510 @unnumberedsubsubsec Slurs
511
512 @cindex slurs
513
514 @notation{Slurs} are entered using parentheses:
515
516 @warning{In polyphonic music, a slur must be terminated
517 in the same voice it began.}
518
519 @lilypond[verbatim,quote,relative=2]
520 f4( g a) a8 b(
521 a4 g2 f4)
522 <c e>2( <b d>2)
523 @end lilypond
524
525 @cindex slurs, manual placement
526 @cindex slurs, below notes
527 @cindex slurs, above notes
528 @funindex \slurDown
529 @funindex slurDown
530 @funindex \slurNeutral
531 @funindex slurNeutral
532
533 Slurs may be manually placed above or below the staff; see
534 @ref{Direction and placement}.
535
536 @cindex phrasing slur
537 @cindex multiple slurs
538 @cindex simultaneous slurs
539 @cindex slur, phrasing
540 @cindex slurs, multiple
541 @cindex slurs, simultaneous
542
543 Simultaneous or overlapping slurs are not permitted, but a phrasing
544 slur can overlap a slur.  This permits two slurs to be printed at
545 once.  For details, see @ref{Phrasing slurs}.
546
547 @cindex slur style
548 @cindex slur, solid
549 @cindex slur, dotted
550 @cindex slur, dashed
551 @cindex solid slur
552 @cindex dotted slur
553 @cindex dashed slur
554 @cindex style, slur
555 @funindex \slurDashed
556 @funindex slurDashed
557 @funindex \slurDotted
558 @funindex slurDotted
559 @funindex \slurSolid
560 @funindex slurSolid
561
562 Slurs can be solid, dotted, or dashed.  Solid is the default slur
563 style:
564
565 @lilypond[verbatim,quote,relative=1]
566 c4( e g2)
567 \slurDashed
568 g4( e c2)
569 \slurDotted
570 c4( e g2)
571 \slurSolid
572 g4( e c2)
573 @end lilypond
574
575 @funindex \slurHalfDashed
576 @funindex slurHalfDashed
577 @funindex \slurHalfSolid
578 @funindex slurHalfSolid
579 @cindex slur, half dashed and half solid
580
581 Slurs can also be made half-dashed (the first half dashed, the
582 second half solid) or half-solid (the first half solid, the second
583 half dashed):
584
585 @lilypond[verbatim,quote,relative=1]
586 c4( e g2)
587 \slurHalfDashed
588 g4( e c2)
589 \slurHalfSolid
590 c4( e g2)
591 \slurSolid
592 g4( e c2)
593 @end lilypond
594
595 @funindex \slurDashPattern
596 @funindex slurDashPattern
597 @cindex slur, defining dash patterns
598
599 Custom dash patterns for slurs can be defined:
600
601 @lilypond[verbatim,quote,relative=1]
602 c4( e g2)
603 \slurDashPattern #0.7 #0.75
604 g4( e c2)
605 \slurDashPattern #0.5 #2.0
606 c4( e g2)
607 \slurSolid
608 g4( e c2)
609 @end lilypond
610
611
612
613 @funindex \slurUp
614 @funindex slurUp
615
616
617 @predefined
618 @code{\slurUp},
619 @code{\slurDown},
620 @code{\slurNeutral},
621 @code{\slurDashed},
622 @code{\slurDotted},
623 @code{\slurHalfDashed},
624 @code{\slurHalfSolid},
625 @code{\slurDashPattern},
626 @code{\slurSolid}.
627 @endpredefined
628
629
630 @snippets
631
632 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
633 {using-double-slurs-for-legato-chords.ly}
634
635 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
636 {positioning-text-markups-inside-slurs.ly}
637
638 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
639 {making-slurs-with-complex-dash-structure.ly}
640
641
642 @seealso
643 Music Glossary:
644 @rglos{slur}.
645
646 Learning Manual:
647 @rlearning{On the un-nestedness of brackets and ties}.
648
649 Notation Reference:
650 @ref{Direction and placement},
651 @ref{Phrasing slurs}.
652
653 Snippets:
654 @rlsr{Expressive marks}.
655
656 Internals Reference:
657 @rinternals{Slur}.
658
659
660 @node Phrasing slurs
661 @unnumberedsubsubsec Phrasing slurs
662
663 @cindex phrasing slurs
664 @cindex phrasing marks
665 @cindex slur, phrasing
666 @cindex mark, phrasing
667 @funindex \(
668 @funindex \)
669
670 @notation{Phrasing slurs} (or phrasing marks) that indicate a
671 musical sentence are written using the commands @code{\(} and
672 @code{\)} respectively:
673
674 @lilypond[verbatim,quote,relative=2]
675 c4\( d( e) f(
676 e2) d\)
677 @end lilypond
678
679 @funindex \phrasingSlurUp
680 @funindex phrasingSlurUp
681 @funindex \phrasingSlurDown
682 @funindex phrasingSlurDown
683 @funindex \phrasingSlurNeutral
684 @funindex phrasingSlurNeutral
685
686 Typographically, a phrasing slur behaves almost exactly like a
687 normal slur.  However, they are treated as different objects; a
688 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
689 may be manually placed above or below the staff; see
690 @ref{Direction and placement}.
691
692 @cindex simultaneous phrasing slurs
693 @cindex multiple phrasing slurs
694 @cindex slur, simultaneous phrasing
695 @cindex slur, multiple phrasing
696 @cindex phrasing slur, simultaneous
697 @cindex phrasing slur, multiple
698
699 Simultaneous or overlapping phrasing slurs are not permitted.
700
701 @funindex phrasingSlurDashed
702 @funindex \phrasingSlurDashed
703 @funindex \phrasingSlurDotted
704 @funindex phrasingSlurDotted
705 @funindex \phrasingSlurSolid
706 @funindex phrasingSlurSolid
707 @cindex phrasing slur, dashed
708 @cindex dashed phrasing slur
709 @cindex phrasing slur, dotted
710 @cindex dotted phrasing slurs
711 @cindex slur, dashed phrasing
712 @cindex slur, dotted phrasing
713
714 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
715 style for phrasing slurs:
716
717 @lilypond[verbatim,quote,relative=1]
718 c4\( e g2\)
719 \phrasingSlurDashed
720 g4\( e c2\)
721 \phrasingSlurDotted
722 c4\( e g2\)
723 \phrasingSlurSolid
724 g4\( e c2\)
725 @end lilypond
726
727 @funindex phrasingSlurHalfDashed
728 @funindex \phrasingSlurHalfDashed
729 @funindex \phrasingSlurHalfSolid
730 @funindex phrasingSlurHalfSolid
731 @cindex phrasing slur, half solid and half dashed
732 @cindex slur, half solid and half dashed phrasing
733
734 Phrasing slurs can also be made half-dashed (the first half dashed, the
735 second half solid) or half-solid (the first half solid, the second
736 half dashed):
737
738 @lilypond[verbatim,quote,relative=1]
739 c4\( e g2\)
740 \phrasingSlurHalfDashed
741 g4\( e c2\)
742 \phrasingSlurHalfSolid
743 c4\( e g2\)
744 \phrasingSlurSolid
745 g4\( e c2\)
746 @end lilypond
747
748 @funindex \phrasingSlurDashPattern
749 @funindex phrasingSlurDashPattern
750 @cindex phrasing slur, defining dash patterns
751 @cindex slur, phrasing, defining dash patterns
752 @cindex slur, definind dash patterns for phrasing
753
754 Custom dash patterns for phrasing slurs can be defined:
755
756 @lilypond[verbatim,quote,relative=1]
757 c4\( e g2\)
758 \phrasingSlurDashPattern #0.7 #0.75
759 g4\( e c2\)
760 \phrasingSlurDashPattern #0.5 #2.0
761 c4\( e g2\)
762 \phrasingSlurSolid
763 g4\( e c2\)
764 @end lilypond
765
766 Dash pattern definitions for phrasing slurs have the same structure
767 as dash pattern definitions for slurs.  For more information about
768 complex dash patterns, see the snippets under @ref{Slurs}.
769
770 @predefined
771 @code{\phrasingSlurUp},
772 @code{\phrasingSlurDown},
773 @code{\phrasingSlurNeutral},
774 @code{\phrasingSlurDashed},
775 @code{\phrasingSlurDotted},
776 @code{\phrasingSlurHalfDashed},
777 @code{\phrasingSlurHalfSolid},
778 @code{\phrasingSlurDashPattern},
779 @code{\phrasingSlurSolid}.
780 @endpredefined
781
782
783 @seealso
784 Learning Manual:
785 @rlearning{On the un-nestedness of brackets and ties}.
786
787 Notation Reference:
788 @ref{Direction and placement},
789 @ref{Slurs}.
790
791 Snippets:
792 @rlsr{Expressive marks}.
793
794 Internals Reference:
795 @rinternals{PhrasingSlur}.
796
797
798 @node Breath marks
799 @unnumberedsubsubsec Breath marks
800
801 @cindex breath marks
802 @cindex pause mark
803 @funindex \breathe
804 @funindex breathe
805
806 Breath marks are entered using @code{\breathe}:
807
808 @lilypond[verbatim,quote,relative=2]
809 c2. \breathe d4
810 @end lilypond
811
812 Musical indicators for breath marks in ancient notation,
813 divisiones, are supported.  For details, see @ref{Divisiones}.
814
815
816 @snippets
817
818 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
819 {changing-the-breath-mark-symbol.ly}
820
821 @cindex caesura
822 @cindex railroad tracks
823
824 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
825 {inserting-a-caesura.ly}
826
827
828 @seealso
829 Music Glossary:
830 @rglos{caesura}.
831
832 Notation Reference:
833 @ref{Divisiones}.
834
835 Snippets:
836 @rlsr{Expressive marks}.
837
838 Internals Reference:
839 @rinternals{BreathingSign}.
840
841
842 @node Falls and doits
843 @unnumberedsubsubsec Falls and doits
844
845 @cindex falls
846 @cindex doits
847 @funindex \bendAfter
848 @funindex bendAfter
849
850 @notation{Falls} and @notation{doits} can be added to notes using
851 the @code{\bendAfter} command.  The direction of the fall or doit
852 is indicated with a plus or minus (up or down).  The number
853 indicates the pitch interval that the fall or doit will extend
854 @emph{beyond} the main note.
855
856 @lilypond[verbatim,quote,relative=2]
857 c2-\bendAfter #+4
858 c2-\bendAfter #-4
859 c2-\bendAfter #+8
860 c2-\bendAfter #-8
861 @end lilypond
862
863 The dash @code{-} immediately preceding the @code{\bendAfter}
864 command is @emph{required} when writing falls and doits.
865
866
867 @snippets
868
869 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
870 {adjusting-the-shape-of-falls-and-doits.ly}
871
872
873 @seealso
874 Music Glossary:
875 @rglos{fall},
876 @rglos{doit}.
877
878 Snippets:
879 @rlsr{Expressive marks}.
880
881
882 @node Lines
883 @subsection Lines
884
885 This section explains how to create various expressive marks that
886 follow a linear path: glissandos, arpeggios, and trills.
887
888 @menu
889 * Glissando::
890 * Arpeggio::
891 * Trills::
892 @end menu
893
894 @node Glissando
895 @unnumberedsubsubsec Glissando
896
897 @cindex glissando
898 @funindex \glissando
899 @funindex glissando
900
901 A @notation{glissando} is created by attaching @code{\glissando}
902 to a note:
903
904 @lilypond[verbatim,quote,relative=2]
905 g2\glissando g'
906 c2\glissando c,
907 @end lilypond
908
909 Different styles of glissandi can be created.  For details, see
910 @ref{Line styles}.
911
912 @snippets
913
914 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
915 {contemporary-glissando.ly}
916
917
918 @seealso
919 Music Glossary:
920 @rglos{glissando}.
921
922 Notation Reference:
923 @ref{Line styles}.
924
925 Snippets:
926 @rlsr{Expressive marks}.
927
928 Internals Reference:
929 @rinternals{Glissando}.
930
931
932 @knownissues
933
934 Printing text over the line (such as @notation{gliss.}) is not
935 supported.
936
937
938 @node Arpeggio
939 @unnumberedsubsubsec Arpeggio
940
941 @cindex arpeggio
942 @cindex broken chord
943 @cindex chord, broken
944
945 @funindex \arpeggio
946 @funindex arpeggio
947 @funindex \arpeggioArrowUp
948 @funindex arpeggioArrowUp
949 @funindex \arpeggioArrowDown
950 @funindex arpeggioArrowDown
951 @funindex \arpeggioNormal
952 @funindex arpeggioNormal
953
954 An @notation{arpeggio} on a chord (also known as a broken chord)
955 is denoted by appending @code{\arpeggio} to the chord construct:
956
957 @lilypond[verbatim,quote,relative=1]
958 <c e g c>1\arpeggio
959 @end lilypond
960
961 Different types of arpeggios may be written.
962 @code{\arpeggioNormal} reverts to a normal arpeggio:
963
964 @lilypond[verbatim,quote,relative=1]
965 <c e g c>2\arpeggio
966
967 \arpeggioArrowUp
968 <c e g c>2\arpeggio
969
970 \arpeggioArrowDown
971 <c e g c>2\arpeggio
972
973 \arpeggioNormal
974 <c e g c>2\arpeggio
975 @end lilypond
976
977 @cindex arpeggio symbols, special
978 @cindex special arpeggio symbols
979
980 @funindex \arpeggioBracket
981 @funindex arpeggioBracket
982 @funindex \arpeggioParenthesis
983 @funindex arpeggioParenthesis
984 @funindex \arpeggioParenthesisDashed
985 @funindex arpeggioParenthesisDashed
986
987 Special @emph{bracketed} arpeggio symbols can be created:
988
989 @lilypond[verbatim,quote,relative=1]
990 <c e g c>2
991
992 \arpeggioBracket
993 <c e g c>2\arpeggio
994
995 \arpeggioParenthesis
996 <c e g c>2\arpeggio
997
998 \arpeggioParenthesisDashed
999 <c e g c>2\arpeggio
1000
1001 \arpeggioNormal
1002 <c e g c>2\arpeggio
1003 @end lilypond
1004
1005 The dash properties of the parenthesis arpeggio are controlled
1006 with the @code{'dash-details} property, which is described at @ref{Slurs}.
1007
1008 Arpeggios can be explicitly written out with ties.  For more
1009 information, see @ref{Ties}.
1010
1011
1012 @predefined
1013 @code{\arpeggio},
1014 @code{\arpeggioArrowUp},
1015 @code{\arpeggioArrowDown},
1016 @code{\arpeggioNormal},
1017 @code{\arpeggioBracket},
1018 @code{\arpeggioParenthesis}
1019 @code{\arpeggioParenthesisDashed}.
1020 @endpredefined
1021
1022
1023 @snippets
1024
1025 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1026 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1027
1028 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1029 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1030
1031 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1032 {creating-arpeggios-across-notes-in-different-voices.ly}
1033
1034
1035 @seealso
1036 Music Glossary:
1037 @rglos{arpeggio}.
1038
1039 Notation Reference:
1040 @ref{Slurs},
1041 @ref{Ties}.
1042
1043 Snippets:
1044 @rlsr{Expressive marks}.
1045
1046 Internals Reference:
1047 @rinternals{Arpeggio},
1048 @rinternals{Slur},
1049 @rinternals{PianoStaff}.
1050
1051
1052 @knownissues
1053
1054 @cindex cross-staff parenthesis-style arpeggio
1055 @cindex arpeggio, parenthesis-style, cross-staff
1056 @cindex arpeggio, cross-staff parenthesis-style
1057
1058 It is not possible to mix connected arpeggios and unconnected
1059 arpeggios in one @code{PianoStaff} at the same point in
1060 time.
1061
1062 The parenthesis-style arpeggio brackets do not work for
1063 cross-staff arpeggios.
1064
1065
1066 @node Trills
1067 @unnumberedsubsubsec Trills
1068
1069 @cindex trills
1070
1071 @funindex \trill
1072 @funindex trill
1073 @funindex \startTrillSpan
1074 @funindex startTrillSpan
1075 @funindex \stopTrillSpan
1076 @funindex stopTrillSpan
1077
1078 Short @notation{trills} without an extender line are printed with
1079 @code{\trill}; see @ref{Articulations and ornamentations}.
1080
1081 Longer trills with an extender line are made with
1082 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1083
1084 @lilypond[verbatim,quote,relative=2]
1085 d1~\startTrillSpan
1086 d1
1087 c2\stopTrillSpan r2
1088 @end lilypond
1089
1090 In the following example, a trill is combined with grace notes.
1091 The syntax of this construct and the method to precisely position
1092 the grace notes are described in @ref{Grace notes}.
1093
1094 @lilypond[verbatim,quote,relative=2]
1095 c1 \afterGrace
1096 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1097 e2 r2
1098 @end lilypond
1099
1100 @cindex pitched trills
1101 @cindex trills, pitched
1102 @funindex \pitchedTrill
1103 @funindex pitchedTrill
1104
1105 Trills that require an auxiliary note with an explicit pitch can
1106 be typeset with the @code{\pitchedTrill} command.  The first
1107 argument is the main note, and the second is the @emph{trilled}
1108 note, printed as a stemless note head in parentheses.
1109
1110 @lilypond[verbatim,quote,relative=1]
1111 \pitchedTrill e2\startTrillSpan fis
1112 d\stopTrillSpan
1113 @end lilypond
1114
1115 @cindex pitched trill with forced accidental
1116 @cindex trill, pitched with forced accidental
1117 @cindex accidental, forced for pitched trill
1118
1119 In the following example, the second pitched trill is ambiguous;
1120 the accidental of the trilled note is not printed.  As a
1121 workaround, the accidentals of the trilled notes can be forced.
1122 The second measure illustrates this method:
1123
1124 @lilypond[verbatim,quote,relative=2]
1125 \pitchedTrill eis4\startTrillSpan fis
1126 g\stopTrillSpan
1127 \pitchedTrill eis4\startTrillSpan fis
1128 g\stopTrillSpan
1129 \pitchedTrill eis4\startTrillSpan fis
1130 g\stopTrillSpan
1131 \pitchedTrill eis4\startTrillSpan fis!
1132 g\stopTrillSpan
1133 @end lilypond
1134
1135
1136 @predefined
1137 @code{\startTrillSpan},
1138 @code{\stopTrillSpan}.
1139 @endpredefined
1140
1141
1142 @seealso
1143 Music Glossary:
1144 @rglos{trill}.
1145
1146 Notation Reference:
1147 @ref{Articulations and ornamentations},
1148 @ref{Grace notes}.
1149
1150 Snippets:
1151 @rlsr{Expressive marks}.
1152
1153 Internals Reference:
1154 @rinternals{TrillSpanner}.
1155