]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/expressive.itely
Merge branch 'dashed-slur2'
[lilypond.git] / Documentation / user / 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 \fp
178 @funindex fp
179 @funindex \sf
180 @funindex sf
181 @funindex \sff
182 @funindex sff
183 @funindex \sp
184 @funindex sp
185 @funindex \spp
186 @funindex spp
187 @funindex \sfz
188 @funindex sfz
189 @funindex \rfz
190 @funindex rfz
191
192 Absolute dynamic marks are specified using a command after a note,
193 such as @code{c4\ff}.  The available dynamic marks are
194 @code{\ppppp}, @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p},
195 @code{\mp}, @code{\mf}, @code{\f}, @code{\ff}, @code{\fff},
196 @code{\ffff}, @code{\fp}, @code{\sf}, @code{\sff}, @code{\sp},
197 @code{\spp}, @code{\sfz}, and @code{\rfz}.  The dynamic marks may
198 be manually placed above or below the staff, see
199 @ref{Direction and placement}.
200
201 @lilypond[verbatim,quote,relative=2]
202 c2\ppp c\mp
203 c2\rfz c^\mf
204 c2_\spp c^\ff
205 @end lilypond
206
207 @cindex hairpin
208 @cindex crescendo
209 @cindex decrescendo
210 @cindex diminuendo
211
212 @funindex \<
213 @funindex \>
214 @funindex \!
215 @funindex \cr
216 @funindex cr
217 @funindex \decr
218 @funindex decr
219
220 A @notation{crescendo} mark is started with @code{\<} and
221 terminated with @code{\!}, an absolute dynamic, or an additional
222 crescendo or decrescendo mark.  A @notation{decrescendo} mark is
223 started with @code{\>} and is also terminated with @code{\!}, an
224 absolute dynamic, or another crescendo or decrescendo mark.
225 @code{\cr} and @code{\decr} may be used instead of @code{\<} and
226 @code{\>}.  @notation{Hairpins} are engraved by default using this
227 notation.
228
229 @lilypond[verbatim,quote,relative=2]
230 c2\< c\!
231 d2\< d\f
232 e2\< e\>
233 f2\> f\!
234 e2\> e\mp
235 d2\> d\>
236 c1\!
237 @end lilypond
238
239 Spacer rests are needed to engrave multiple marks on one note.
240
241 @cindex multiple dynamic marks on one note
242 @cindex dynamic marks, multiple on one note
243
244 @lilypond[verbatim,quote,relative=2]
245 c4\< c\! d\> e\!
246 << f1 { s4 s4\< s4\> s4\! } >>
247 @end lilypond
248
249 @cindex espressivo articulation
250
251 @funindex \espressivo
252 @funindex espressivo
253
254 In some situations the @code{\espressivo} articulation mark may be
255 the appropriate choice to indicate a crescendo and decrescendo on
256 one note:
257
258 @lilypond[verbatim,quote,relative=2]
259 c2 b4 a
260 g1\espressivo
261 @end lilypond
262
263
264 @funindex \crescTextCresc
265 @funindex crescTextCresc
266 @funindex \dimTextDecresc
267 @funindex dimTextDecresc
268 @funindex \dimTextDecr
269 @funindex dimTextDecr
270 @funindex \dimTextDim
271 @funindex dimTextDim
272 @funindex \crescHairpin
273 @funindex crescHairpin
274 @funindex \dimHairpin
275 @funindex dimHairpin
276
277 Crescendos and decrescendos can be engraved as textual markings
278 instead of hairpins.  Dashed lines are printed to indicate their
279 extent.  The built-in commands that enable these text modes are
280 @code{\crescTextCresc}, @code{\dimTextDecresc},
281 @code{\dimTextDecr}, and @code{\dimTextDim}.  The corresponding
282 @code{\crescHairpin} and @code{\dimHairpin} commands will revert
283 to hairpins again:
284
285 @lilypond[verbatim,quote,relative=2]
286 \crescTextCresc
287 c2\< d | e f\!
288 \dimTextDecresc
289 e2\> d | c b\!
290 \crescHairpin
291 c2\< d | e f\!
292 \dimHairpin
293 e2\> d\!
294 @end lilypond
295
296
297 To create new absolute dynamic marks or text that should be
298 aligned with dynamics, see @ref{New dynamic marks}.
299
300 @cindex dynamics, vertical positioning
301 @cindex vertical positioning of dynamics
302
303 @funindex DynamicLineSpanner
304
305
306 Vertical positioning of dynamics is handled by
307 @rinternals{DynamicLineSpanner}.
308 @funindex \dynamicUp
309 @funindex dynamicUp
310 @funindex \dynamicDown
311 @funindex dynamicDown
312 @funindex \dynamicNeutral
313 @funindex dynamicNeutral
314
315
316 @predefined
317 @code{\dynamicUp},
318 @code{\dynamicDown},
319 @code{\dynamicNeutral},
320 @code{\crescTextCresc},
321 @code{\dimTextDim},
322 @code{\dimTextDecr},
323 @code{\dimTextDecresc},
324 @code{\crescHairpin},
325 @code{\dimHairpin}.
326 @endpredefined
327
328
329 @snippets
330
331 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
332 {setting-hairpin-behavior-at-bar-lines.ly}
333
334 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
335 {setting-the-minimum-length-of-hairpins.ly}
336
337 @cindex al niente
338 @cindex niente, al
339
340 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
341 {printing-hairpins-using-al-niente-notation.ly}
342
343 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
344 {vertically-aligned-dynamics-and-textscripts.ly}
345
346 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
347 {hiding-the-extender-line-for-text-dynamics.ly}
348
349 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
350 {changing-text-and-spanner-styles-for-text-dynamics.ly}
351
352
353 @seealso
354 Music Glossary:
355 @rglos{al niente},
356 @rglos{crescendo},
357 @rglos{decrescendo},
358 @rglos{hairpin}.
359
360 Learning Manual:
361 @rlearning{Articulation and dynamics}.
362
363 Notation Reference:
364 @ref{Direction and placement},
365 @ref{New dynamic marks},
366 @ref{What goes into the MIDI output?},
367 @ref{Controlling MIDI dynamics}.
368
369 Snippets:
370 @rlsr{Expressive marks}.
371
372 Internals Reference:
373 @rinternals{DynamicText},
374 @rinternals{Hairpin},
375 @rinternals{DynamicLineSpanner}.
376
377
378 @node New dynamic marks
379 @unnumberedsubsubsec New dynamic marks
380
381 @cindex new dynamic marks
382 @cindex dynamic marks, new
383
384 The easiest way to create dynamic indications is to use
385 @code{\markup} objects.
386
387 @lilypond[verbatim,quote]
388 moltoF = \markup { molto \dynamic f }
389
390 \relative c' {
391   <d e>16_\moltoF <d e>
392   <d e>2..
393 }
394 @end lilypond
395
396 @cindex dynamics, editorial
397 @cindex dynamics, parenthesis
398 @cindex editorial dynamics
399 @funindex \bracket
400 @funindex bracket
401 @funindex \dynamic
402 @funindex dynamic
403
404 In markup mode, editorial dynamics (within parentheses or square
405 brackets) can be created.  The syntax for markup mode is described
406 in @ref{Formatting text}.
407
408 @lilypond[verbatim,quote]
409 roundF = \markup { \center-align \concat { \bold { \italic ( }
410            \dynamic f \bold { \italic ) } } }
411 boxF = \markup { \bracket { \dynamic f } }
412 \relative c' {
413   c1_\roundF
414   c1_\boxF
415 }
416 @end lilypond
417
418 @cindex make-dynamic-script
419 @funindex make-dynamic-script
420
421 Simple, centered dynamic marks are easily created with the
422 @code{make-dynamic-script} function.
423
424 @lilypond[verbatim,quote]
425 sfzp = #(make-dynamic-script "sfzp")
426 \relative c' {
427   c4 c c\sfzp c
428 }
429 @end lilypond
430
431 In general, @code{make-dynamic-script} takes any markup object as its
432 argument.  The dynamic font only contains the characters
433 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
434 plain text or punctuation symbols is desired, markup commands that
435 reverts font family and font encoding to normal text should be used,
436 for example @code{\normal-text}.  The interest of using
437 @code{make-dynamic-script} instead of an ordinary markup is ensuring
438 the vertical alignment of markup objects and hairpins that are
439 attached to the same note head.
440
441 @lilypond[verbatim,quote]
442 roundF = \markup { \center-align \concat {
443            \normal-text { \bold { \italic ( } }
444            \dynamic f
445            \normal-text { \bold { \italic ) } } } }
446 boxF = \markup { \bracket { \dynamic f } }
447 mfEspress = \markup { \center-align \line {
448               \hspace #3.7 mf \normal-text \italic espress. } }
449 roundFdynamic = #(make-dynamic-script roundF)
450 boxFdynamic = #(make-dynamic-script boxF)
451 mfEspressDynamic = #(make-dynamic-script mfEspress)
452 \relative c' {
453   c4_\roundFdynamic\< d e f
454   g,1~_\boxFdynamic\>
455   g
456   g'~\mfEspressDynamic
457   g
458 }
459 @end lilypond
460
461 The Scheme form of markup mode may be used instead.  Its syntax is
462 explained in @ref{Markup construction in Scheme}.
463
464 @lilypond[verbatim,quote]
465 moltoF = #(make-dynamic-script
466             (markup #:normal-text "molto"
467                     #:dynamic "f"))
468 \relative c' {
469   <d e>16 <d e>
470   <d e>2..\moltoF
471 }
472 @end lilypond
473
474 Font settings in markup mode are described in
475 @ref{Selecting font and font size}.
476
477
478 @seealso
479 Notation Reference:
480 @ref{Formatting text},
481 @ref{Selecting font and font size},
482 @ref{Markup construction in Scheme},
483 @ref{What goes into the MIDI output?},
484 @ref{Controlling MIDI dynamics}.
485
486 Snippets:
487 @rlsr{Expressive marks}.
488
489
490 @node Curves
491 @subsection Curves
492
493 This section explains how to create various expressive marks that
494 are curved: normal slurs, phrasing slurs, breath marks, falls, and
495 doits.
496
497 @menu
498 * Slurs::
499 * Phrasing slurs::
500 * Breath marks::
501 * Falls and doits::
502 @end menu
503
504 @node Slurs
505 @unnumberedsubsubsec Slurs
506
507 @cindex slurs
508
509 @notation{Slurs} are entered using parentheses:
510
511 @lilypond[verbatim,quote,relative=2]
512 f4( g a) a8 b(
513 a4 g2 f4)
514 <c e>2( <b d>2)
515 @end lilypond
516
517 @cindex slurs, manual placement
518 @cindex slurs, below notes
519 @cindex slurs, above notes
520 @funindex \slurDown
521 @funindex slurDown
522 @funindex \slurNeutral
523 @funindex slurNeutral
524
525 Slurs may be manually placed above or below the notes, see
526 @ref{Direction and placement}.
527
528 @lilypond[verbatim,quote,relative=2]
529 c2( d)
530 \slurDown
531 c2( d)
532 \slurNeutral
533 c2( d)
534 @end lilypond
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 @seealso
642 Music Glossary:
643 @rglos{slur}.
644
645 Learning Manual:
646 @rlearning{On the un-nestedness of brackets and ties}.
647
648 Notation Reference:
649 @ref{Direction and placement},
650 @ref{Phrasing slurs}.
651
652 Snippets:
653 @rlsr{Expressive marks}.
654
655 Internals Reference:
656 @rinternals{Slur}.
657
658
659 @node Phrasing slurs
660 @unnumberedsubsubsec Phrasing slurs
661
662 @cindex phrasing slurs
663 @cindex phrasing marks
664 @cindex slur, phrasing
665 @cindex mark, phrasing
666 @funindex \(
667 @funindex \)
668
669 @notation{Phrasing slurs} (or phrasing marks) that indicate a
670 musical sentence are written using the commands @code{\(} and
671 @code{\)} respectively:
672
673 @lilypond[verbatim,quote,relative=2]
674 c4\( d( e) f(
675 e2) d\)
676 @end lilypond
677
678 @funindex \phrasingSlurUp
679 @funindex phrasingSlurUp
680 @funindex \phrasingSlurDown
681 @funindex phrasingSlurDown
682 @funindex \phrasingSlurNeutral
683 @funindex phrasingSlurNeutral
684
685 Typographically, a phrasing slur behaves almost exactly like a
686 normal slur.  However, they are treated as different objects; a
687 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
688 slurs may be manually placed above or below the notes, see
689 @ref{Direction and placement}.
690
691 @lilypond[verbatim,quote,relative=1]
692 c4\( g' c,( b) | c1\)
693 \phrasingSlurUp
694 c4\( g' c,( b) | c1\)
695 @end lilypond
696
697 @cindex simultaneous phrasing slurs
698 @cindex multiple phrasing slurs
699 @cindex slur, simultaneous phrasing
700 @cindex slur, multiple phrasing
701 @cindex phrasing slur, simultaneous
702 @cindex phrasing slur, multiple
703
704 Simultaneous or overlapping phrasing slurs are not permitted.
705
706 @funindex phrasingSlurDashed
707 @funindex \phrasingSlurDashed
708 @funindex \phrasingSlurDotted
709 @funindex phrasingSlurDotted
710 @funindex \phrasingSlurSolid
711 @funindex phrasingSlurSolid
712 @cindex phrasing slur, dashed
713 @cindex dashed phrasing slur
714 @cindex phrasing slur, dotted
715 @cindex dotted phrasing slurs
716 @cindex slur, dashed phrasing
717 @cindex slur, dotted phrasing
718
719 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
720 style for phrasing slurs:
721
722 @lilypond[verbatim,quote,relative=1]
723 c4\( e g2\)
724 \phrasingSlurDashed
725 g4\( e c2\)
726 \phrasingSlurDotted
727 c4\( e g2\)
728 \phrasingSlurSolid
729 g4\( e c2\)
730 @end lilypond
731
732 @funindex phrasingSlurHalfDashed
733 @funindex \phrasingSlurHalfDashed
734 @funindex \phrasingSlurHalfSolid
735 @funindex phrasingSlurHalfSolid
736 @cindex phrasing slur, half solid and half dashed
737 @cindex slur, half solid and half dashed phrasing
738
739 Phrasing slurs can also be made half-dashed (the first half dashed, the
740 second half solid) or half-solid (the first half solid, the second
741 half dashed):
742
743 @lilypond[verbatim,quote,relative=1]
744 c4\( e g2\)
745 \phrasingSlurHalfDashed
746 g4\( e c2\)
747 \phrasingSlurHalfSolid
748 c4\( e g2\)
749 \phrasingSlurSolid
750 g4\( e c2\)
751 @end lilypond
752
753 @funindex \phrasingSlurDashPattern
754 @funindex phrasingSlurDashPattern
755 @cindex phrasing slur, defining dash patterns
756 @cindex slur, phrasing, defining dash patterns
757 @cindex slur, definind dash patterns for phrasing
758
759 Custom dash patterns for phrasing slurs can be defined:
760
761 @lilypond[verbatim,quote,relative=1]
762 c4\( e g2\)
763 \phrasingSlurDashPattern #0.7 #0.75
764 g4\( e c2\)
765 \phrasingSlurDashPattern #0.5 #2.0
766 c4\( e g2\)
767 \phrasingSlurSolid
768 g4\( e c2\)
769 @end lilypond
770
771 Dash pattern definitions for phrasing slurs have the same structure
772 as dash pattern definitions for slurs.  For more information about
773 complex dash patterns, see the snippets under @ref{Slurs}.
774
775 @predefined
776 @code{\phrasingSlurUp},
777 @code{\phrasingSlurDown},
778 @code{\phrasingSlurNeutral},
779 @code{\phrasingSlurDashed},
780 @code{\phrasingSlurDotted},
781 @code{\phrasingSlurHalfDashed},
782 @code{\phrasingSlurHalfSolid},
783 @code{\phrasingSlurDashPattern},
784 @code{\phrasingSlurSolid}.
785 @endpredefined
786
787
788 @seealso
789 Learning Manual:
790 @rlearning{On the un-nestedness of brackets and ties}.
791
792 Notation Reference:
793 @ref{Direction and placement},
794 @ref{Slurs}.
795
796 Snippets:
797 @rlsr{Expressive marks}.
798
799 Internals Reference:
800 @rinternals{PhrasingSlur}.
801
802
803 @node Breath marks
804 @unnumberedsubsubsec Breath marks
805
806 @cindex breath marks
807 @cindex pause mark
808 @funindex \breathe
809 @funindex breathe
810
811 Breath marks are entered using @code{\breathe}:
812
813 @lilypond[verbatim,quote,relative=2]
814 c2. \breathe d4
815 @end lilypond
816
817 Musical indicators for breath marks in ancient notation,
818 divisiones, are supported.  For details, see @ref{Divisiones}.
819
820
821 @snippets
822
823 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
824 {changing-the-breath-mark-symbol.ly}
825
826 @cindex caesura
827 @cindex railroad tracks
828
829 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
830 {inserting-a-caesura.ly}
831
832
833 @seealso
834 Music Glossary:
835 @rglos{caesura}.
836
837 Notation Reference:
838 @ref{Divisiones}.
839
840 Snippets:
841 @rlsr{Expressive marks}.
842
843 Internals Reference:
844 @rinternals{BreathingSign}.
845
846
847 @node Falls and doits
848 @unnumberedsubsubsec Falls and doits
849
850 @cindex falls
851 @cindex doits
852 @funindex \bendAfter
853 @funindex bendAfter
854
855 @notation{Falls} and @notation{doits} can be added to notes using
856 the @code{\bendAfter} command.  The direction of the fall or doit
857 is indicated with a plus or minus (up or down).  The number
858 indicates the pitch interval that the fall or doit will extend
859 @emph{beyond} the main note.
860
861 @lilypond[verbatim,quote,relative=2]
862 c2-\bendAfter #+4
863 c2-\bendAfter #-4
864 c2-\bendAfter #+8
865 c2-\bendAfter #-8
866 @end lilypond
867
868 The dash @code{-} immediately preceding the @code{\bendAfter}
869 command is @emph{required} when writing falls and doits.
870
871
872 @snippets
873
874 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
875 {adjusting-the-shape-of-falls-and-doits.ly}
876
877
878 @seealso
879 Music Glossary:
880 @rglos{fall},
881 @rglos{doit}.
882
883 Snippets:
884 @rlsr{Expressive marks}.
885
886
887 @node Lines
888 @subsection Lines
889
890 This section explains how to create various expressive marks that
891 follow a linear path: glissandos, arpeggios, and trills.
892
893 @menu
894 * Glissando::
895 * Arpeggio::
896 * Trills::
897 @end menu
898
899 @node Glissando
900 @unnumberedsubsubsec Glissando
901
902 @cindex glissando
903 @funindex \glissando
904 @funindex glissando
905
906 A @notation{glissando} is created by attaching @code{\glissando}
907 to a note:
908
909 @lilypond[verbatim,quote,relative=2]
910 g2\glissando g'
911 c2\glissando c,
912 @end lilypond
913
914 Different styles of glissandi can be created.  For details, see
915 @ref{Line styles}.
916
917 @snippets
918
919 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
920 {contemporary-glissando.ly}
921
922
923 @seealso
924 Music Glossary:
925 @rglos{glissando}.
926
927 Notation Reference:
928 @ref{Line styles}.
929
930 Snippets:
931 @rlsr{Expressive marks}.
932
933 Internals Reference:
934 @rinternals{Glissando}.
935
936
937 @knownissues
938
939 Printing text over the line (such as @notation{gliss.}) is not
940 supported.
941
942
943 @node Arpeggio
944 @unnumberedsubsubsec Arpeggio
945
946 @cindex arpeggio
947 @cindex broken chord
948 @cindex chord, broken
949
950 @funindex \arpeggio
951 @funindex arpeggio
952 @funindex \arpeggioArrowUp
953 @funindex arpeggioArrowUp
954 @funindex \arpeggioArrowDown
955 @funindex arpeggioArrowDown
956 @funindex \arpeggioNormal
957 @funindex arpeggioNormal
958
959 An @notation{arpeggio} on a chord (also known as a broken chord)
960 is denoted by appending @code{\arpeggio} to the chord construct:
961
962 @lilypond[verbatim,quote,relative=1]
963 <c e g c>1\arpeggio
964 @end lilypond
965
966 Different types of arpeggios may be written.
967 @code{\arpeggioNormal} reverts to a normal arpeggio:
968
969 @lilypond[verbatim,quote,relative=1]
970 <c e g c>2\arpeggio
971 \arpeggioArrowUp
972 <c e g c>2\arpeggio
973 \arpeggioArrowDown
974 <c e g c>2\arpeggio
975 \arpeggioNormal
976 <c e g c>2\arpeggio
977 @end lilypond
978
979 @cindex arpeggio symbols, special
980 @cindex special arpeggio symbols
981
982 @funindex \arpeggioBracket
983 @funindex arpeggioBracket
984 @funindex \arpeggioParenthesis
985 @funindex arpeggioParenthesis
986 @funindex \arpeggioParenthesisDashed
987 @funindex arpeggioParenthesisDashed
988
989 Special @emph{bracketed} arpeggio symbols can be created:
990
991 @lilypond[verbatim,quote,relative=1]
992 <c e g c>2
993 \arpeggioBracket
994 <c e g c>2\arpeggio
995 \arpeggioParenthesis
996 <c e g c>2\arpeggio
997 \arpeggioParenthesisDashed
998 <c e g c>2\arpeggio
999 \arpeggioNormal
1000 <c e g c>2\arpeggio
1001 @end lilypond
1002
1003 The dash properties of the parenthesis arpeggio are controlled
1004 with the @code{'dash-details} property, which is described at @ref{Slurs}.
1005
1006 Arpeggios can be explicitly written out with ties.  For more
1007 information, see @ref{Ties}.
1008
1009
1010 @predefined
1011 @code{\arpeggio},
1012 @code{\arpeggioArrowUp},
1013 @code{\arpeggioArrowDown},
1014 @code{\arpeggioNormal},
1015 @code{\arpeggioBracket},
1016 @code{\arpeggioParenthesis}
1017 @code{\arpeggioParenthesisDashed}.
1018 @endpredefined
1019
1020
1021 @snippets
1022
1023 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1024 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1025
1026 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1027 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1028
1029 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1030 {creating-arpeggios-across-notes-in-different-voices.ly}
1031
1032
1033 @seealso
1034 Music Glossary:
1035 @rglos{arpeggio}.
1036
1037 Notation Reference:
1038 @ref{Slurs},
1039 @ref{Ties}.
1040
1041 Snippets:
1042 @rlsr{Expressive marks}.
1043
1044 Internals Reference:
1045 @rinternals{Arpeggio},
1046 @rinternals{Slur},
1047 @rinternals{PianoStaff}.
1048
1049
1050 @knownissues
1051
1052 @cindex cross-staff parenthesis-style arpeggio
1053 @cindex arpeggio, parenthesis-style, cross-staff
1054 @cindex arpeggio, cross-staff parenthesis-style
1055
1056 It is not possible to mix connected arpeggios and unconnected
1057 arpeggios in one @code{PianoStaff} at the same point in
1058 time.
1059
1060 The parenthesis-style arpeggio brackets do not work for
1061 cross-staff arpeggios.
1062
1063
1064 @node Trills
1065 @unnumberedsubsubsec Trills
1066
1067 @cindex trills
1068
1069 @funindex \trill
1070 @funindex trill
1071 @funindex \startTrillSpan
1072 @funindex startTrillSpan
1073 @funindex \stopTrillSpan
1074 @funindex stopTrillSpan
1075
1076 Short @notation{trills} without an extender line are printed with
1077 @code{\trill}; see @ref{Articulations and ornamentations}.
1078
1079 Longer trills with an extender line are made with
1080 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1081
1082 @lilypond[verbatim,quote,relative=2]
1083 d1~\startTrillSpan
1084 d1
1085 c2\stopTrillSpan r2
1086 @end lilypond
1087
1088 In the following example, a trill is combined with grace notes.
1089 The syntax of this construct and the method to precisely position
1090 the grace notes are described in @ref{Grace notes}.
1091
1092 @lilypond[verbatim,quote,relative=2]
1093 c1 \afterGrace
1094 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1095 e2 r2
1096 @end lilypond
1097
1098 @cindex pitched trills
1099 @cindex trills, pitched
1100 @funindex \pitchedTrill
1101 @funindex pitchedTrill
1102
1103 Trills that require an auxiliary note with an explicit pitch can
1104 be typeset with the @code{\pitchedTrill} command.  The first
1105 argument is the main note, and the second is the @emph{trilled}
1106 note, printed as a stemless note head in parentheses.
1107
1108 @lilypond[verbatim,quote,relative=1]
1109 \pitchedTrill e2\startTrillSpan fis
1110 d\stopTrillSpan
1111 @end lilypond
1112
1113 @cindex pitched trill with forced accidental
1114 @cindex trill, pitched with forced accidental
1115 @cindex accidental, forced for pitched trill
1116
1117 In the following example, the second pitched trill is ambiguous;
1118 the accidental of the trilled note is not printed.  As a
1119 workaround, the accidentals of the trilled notes can be forced.
1120 The second measure illustrates this method:
1121
1122 @lilypond[verbatim,quote,relative=2]
1123 \pitchedTrill eis4\startTrillSpan fis
1124 g\stopTrillSpan
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 @end lilypond
1132
1133
1134 @predefined
1135 @code{\startTrillSpan},
1136 @code{\stopTrillSpan}.
1137 @endpredefined
1138
1139
1140 @seealso
1141 Music Glossary:
1142 @rglos{trill}.
1143
1144 Notation Reference:
1145 @ref{Articulations and ornamentations},
1146 @ref{Grace notes}.
1147
1148 Snippets:
1149 @rlsr{Expressive marks}.
1150
1151 Internals Reference:
1152 @rinternals{TrillSpanner}.
1153