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