]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/notation/expressive.itely
Merge remote-tracking branch 'origin/master' into translation
[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.17.6"
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,quote,texidoc,doctitle]
185 {modifying-default-values-for-articulation-shorthand-notation.ly}
186
187 @lilypondfile[verbatim,quote,texidoc,doctitle]
188 {controlling-the-vertical-ordering-of-scripts.ly}
189
190 @lilypondfile[verbatim,quote,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 @funindex \cresc
361 @funindex cresc
362 @funindex \decresc
363 @funindex decresc
364 @funindex \dim
365 @funindex dim
366 Textual crescendo marks begin with @code{\cresc}.
367 Textual decrescendos begin with @code{\decresc} or @code{\dim}.
368 Extender lines are engraved as required.
369
370 @lilypond[verbatim,quote,relative=2]
371 g8\cresc a b c b c d e\mf |
372 f8\decresc e d c e\> d c b |
373 a1\dim ~ |
374 a2. r4\! |
375 @end lilypond
376
377 @funindex \crescTextCresc
378 @funindex crescTextCresc
379 @funindex \dimTextDecresc
380 @funindex dimTextDecresc
381 @funindex \dimTextDecr
382 @funindex dimTextDecr
383 @funindex \dimTextDim
384 @funindex dimTextDim
385 @funindex \crescHairpin
386 @funindex crescHairpin
387 @funindex \dimHairpin
388 @funindex dimHairpin
389
390 Textual marks for dynamic changes can also replace hairpins:
391 @lilypond[verbatim,quote,relative=2]
392 \crescTextCresc
393 c4\< d e f\! |
394 \dimTextDecresc
395 g4\> e d c\! |
396 \dimTextDecr
397 e4\> d c b\! |
398 \dimTextDim
399 d4\> c b a\! |
400 \crescHairpin
401 \dimHairpin
402 c4\< d\! e\> d\! |
403 @end lilypond
404
405
406 To create new absolute dynamic marks or text that should be
407 aligned with dynamics, see @ref{New dynamic marks}.
408
409 @cindex dynamics, vertical positioning
410 @cindex vertical positioning of dynamics
411
412 @funindex DynamicLineSpanner
413
414
415 Vertical positioning of dynamics is handled by
416 @rinternals{DynamicLineSpanner}.
417 @funindex \dynamicUp
418 @funindex dynamicUp
419 @funindex \dynamicDown
420 @funindex dynamicDown
421 @funindex \dynamicNeutral
422 @funindex dynamicNeutral
423
424 A @code{Dynamics} context is available to engrave dynamics on
425 their own horizontal line.  Use spacer rests to indicate timing.
426 (Notes in a @code{Dynamics} context will also take up
427 musical time, but will not be engraved.)
428 The @code{Dynamics} context can usefully contain some other
429 items such as text scripts, text spanners, and piano pedal marks.
430
431 @lilypond[verbatim,quote]
432 <<
433   \new Staff \relative c' {
434     c2 d4 e |
435     c4 e e,2 |
436     g'4 a g a |
437     c1 |
438   }
439   \new Dynamics {
440     s1\< |
441     s1\f |
442     s2\dim s2-"rit." |
443     s1\p |
444   }
445 >>
446 @end lilypond
447
448 @predefined
449 @code{\dynamicUp},
450 @code{\dynamicDown},
451 @code{\dynamicNeutral},
452 @code{\crescTextCresc},
453 @code{\dimTextDim},
454 @code{\dimTextDecr},
455 @code{\dimTextDecresc},
456 @code{\crescHairpin},
457 @code{\dimHairpin}.
458 @endpredefined
459
460
461 @snippets
462
463 @lilypondfile[verbatim,quote,texidoc,doctitle]
464 {setting-hairpin-behavior-at-bar-lines.ly}
465
466 @lilypondfile[verbatim,quote,texidoc,doctitle]
467 {setting-the-minimum-length-of-hairpins.ly}
468
469 @cindex al niente
470 @cindex niente, al
471
472 @lilypondfile[verbatim,quote,texidoc,doctitle]
473 {printing-hairpins-using-al-niente-notation.ly}
474
475 @lilypondfile[verbatim,quote,texidoc,doctitle]
476 {vertically-aligned-dynamics-and-textscripts.ly}
477
478 @lilypondfile[verbatim,quote,texidoc,doctitle]
479 {hiding-the-extender-line-for-text-dynamics.ly}
480
481 @lilypondfile[verbatim,quote,texidoc,doctitle]
482 {changing-text-and-spanner-styles-for-text-dynamics.ly}
483
484 @seealso
485 Music Glossary:
486 @rglos{al niente},
487 @rglos{crescendo},
488 @rglos{decrescendo},
489 @rglos{hairpin}.
490
491 Learning Manual:
492 @rlearning{Articulation and dynamics}.
493
494 Notation Reference:
495 @ref{Direction and placement},
496 @ref{New dynamic marks},
497 @ref{What goes into the MIDI output?},
498 @ref{Controlling MIDI dynamics}.
499
500 Snippets:
501 @rlsr{Expressive marks}.
502
503 Internals Reference:
504 @rinternals{DynamicText},
505 @rinternals{Hairpin},
506 @rinternals{DynamicLineSpanner},
507 @rinternals{Dynamics}.
508
509
510 @node New dynamic marks
511 @unnumberedsubsubsec New dynamic marks
512
513 @cindex new dynamic marks
514 @cindex dynamic marks, new
515
516 The easiest way to create dynamic indications is to use
517 @code{\markup} objects.
518
519 @lilypond[verbatim,quote]
520 moltoF = \markup { molto \dynamic f }
521
522 \relative c' {
523   <d e>16_\moltoF <d e>
524   <d e>2..
525 }
526 @end lilypond
527
528 @cindex dynamics, editorial
529 @cindex dynamics, parenthesis
530 @cindex editorial dynamics
531 @funindex \bracket
532 @funindex bracket
533 @funindex \dynamic
534 @funindex dynamic
535
536 In markup mode, editorial dynamics (within parentheses or square
537 brackets) can be created.  The syntax for markup mode is described
538 in @ref{Formatting text}.
539
540 @lilypond[verbatim,quote]
541 roundF = \markup {
542     \center-align \concat { \bold { \italic ( }
543            \dynamic f \bold { \italic ) } } }
544 boxF = \markup { \bracket { \dynamic f } }
545 \relative c' {
546   c1_\roundF
547   c1_\boxF
548 }
549 @end lilypond
550
551 @cindex make-dynamic-script
552 @funindex make-dynamic-script
553
554 Simple, centered dynamic marks are easily created with the
555 @code{make-dynamic-script} function.
556
557 @lilypond[verbatim,quote]
558 sfzp = #(make-dynamic-script "sfzp")
559 \relative c' {
560   c4 c c\sfzp c
561 }
562 @end lilypond
563
564 In general, @code{make-dynamic-script} takes any markup object as its
565 argument.  The dynamic font only contains the characters
566 @code{f,m,p,r,s} and @code{z}, so if a dynamic mark that includes
567 plain text or punctuation symbols is desired, markup commands that
568 reverts font family and font encoding to normal text should be used,
569 for example @code{\normal-text}.  The interest of using
570 @code{make-dynamic-script} instead of an ordinary markup is ensuring
571 the vertical alignment of markup objects and hairpins that are
572 attached to the same note head.
573
574 @lilypond[verbatim,quote]
575 roundF = \markup { \center-align \concat {
576            \normal-text { \bold { \italic ( } }
577            \dynamic f
578            \normal-text { \bold { \italic ) } } } }
579 boxF = \markup { \bracket { \dynamic f } }
580 mfEspress = \markup { \center-align \line {
581               \hspace #3.7 mf \normal-text \italic espress. } }
582 roundFdynamic = #(make-dynamic-script roundF)
583 boxFdynamic = #(make-dynamic-script boxF)
584 mfEspressDynamic = #(make-dynamic-script mfEspress)
585 \relative c' {
586   c4_\roundFdynamic\< d e f
587   g,1~_\boxFdynamic\>
588   g1
589   g'1~\mfEspressDynamic
590   g1
591 }
592 @end lilypond
593
594 The Scheme form of markup mode may be used instead.  Its syntax is
595 explained in @rextend{Markup construction in Scheme}.
596
597 @lilypond[verbatim,quote]
598 moltoF = #(make-dynamic-script
599             (markup #:normal-text "molto"
600                     #:dynamic "f"))
601 \relative c' {
602   <d e>16 <d e>
603   <d e>2..\moltoF
604 }
605 @end lilypond
606
607 To left-align the dynamic text rather than centering it on a note
608 use a @code{\tweak}:
609
610 @lilypond[verbatim,quote]
611 moltoF = \tweak DynamicText.self-alignment-X #LEFT
612          #(make-dynamic-script
613             (markup #:normal-text "molto"
614                     #:dynamic "f"))
615 \relative c' {
616   <d e>16 <d e>
617   <d e>2..\moltoF <d e>1
618 }
619 @end lilypond
620
621 Font settings in markup mode are described in
622 @ref{Selecting font and font size}.
623
624 @seealso
625 Notation Reference:
626 @ref{Formatting text},
627 @ref{Selecting font and font size},
628 @ref{What goes into the MIDI output?},
629 @ref{Controlling MIDI dynamics}.
630
631 Extending LilyPond:
632 @rextend{Markup construction in Scheme}.
633
634 Snippets:
635 @rlsr{Expressive marks}.
636
637
638 @node Expressive marks as curves
639 @subsection Expressive marks as curves
640
641 This section explains how to create various expressive marks that
642 are curved: normal slurs, phrasing slurs, breath marks, falls, and
643 doits.
644
645 @menu
646 * Slurs::
647 * Phrasing slurs::
648 * Breath marks::
649 * Falls and doits::
650 @end menu
651
652 @node Slurs
653 @unnumberedsubsubsec Slurs
654
655 @cindex slurs
656
657 @notation{Slurs} are entered using parentheses:
658
659 @warning{In polyphonic music, a slur must be terminated
660 in the same voice it began.}
661
662 @lilypond[verbatim,quote,relative=2]
663 f4( g a) a8 b(
664 a4 g2 f4)
665 <c e>2( <b d>2)
666 @end lilypond
667
668 @cindex slurs, manual placement
669 @cindex slurs, below notes
670 @cindex slurs, above notes
671 @funindex \slurDown
672 @funindex slurDown
673 @funindex \slurNeutral
674 @funindex slurNeutral
675
676 Slurs may be manually placed above or below the staff; see
677 @ref{Direction and placement}.
678
679 @cindex phrasing slur
680 @cindex multiple slurs
681 @cindex simultaneous slurs
682 @cindex slur, phrasing
683 @cindex slurs, multiple
684 @cindex slurs, simultaneous
685
686 Simultaneous or overlapping slurs are not permitted, but a phrasing
687 slur can overlap a slur.  This permits two slurs to be printed at
688 once.  For details, see @ref{Phrasing slurs}.
689
690 @cindex slur style
691 @cindex slur, solid
692 @cindex slur, dotted
693 @cindex slur, dashed
694 @cindex solid slur
695 @cindex dotted slur
696 @cindex dashed slur
697 @cindex style, slur
698 @funindex \slurDashed
699 @funindex slurDashed
700 @funindex \slurDotted
701 @funindex slurDotted
702 @funindex \slurSolid
703 @funindex slurSolid
704
705 Slurs can be solid, dotted, or dashed.  Solid is the default slur
706 style:
707
708 @lilypond[verbatim,quote,relative=1]
709 c4( e g2)
710 \slurDashed
711 g4( e c2)
712 \slurDotted
713 c4( e g2)
714 \slurSolid
715 g4( e c2)
716 @end lilypond
717
718 @funindex \slurHalfDashed
719 @funindex slurHalfDashed
720 @funindex \slurHalfSolid
721 @funindex slurHalfSolid
722 @cindex slur, half dashed and half solid
723
724 Slurs can also be made half-dashed (the first half dashed, the
725 second half solid) or half-solid (the first half solid, the second
726 half dashed):
727
728 @lilypond[verbatim,quote,relative=1]
729 c4( e g2)
730 \slurHalfDashed
731 g4( e c2)
732 \slurHalfSolid
733 c4( e g2)
734 \slurSolid
735 g4( e c2)
736 @end lilypond
737
738 @funindex \slurDashPattern
739 @funindex slurDashPattern
740 @cindex slur, defining dash patterns
741
742 Custom dash patterns for slurs can be defined:
743
744 @lilypond[verbatim,quote,relative=1]
745 c4( e g2)
746 \slurDashPattern #0.7 #0.75
747 g4( e c2)
748 \slurDashPattern #0.5 #2.0
749 c4( e g2)
750 \slurSolid
751 g4( e c2)
752 @end lilypond
753
754
755
756 @funindex \slurUp
757 @funindex slurUp
758
759
760 @predefined
761 @code{\slurUp},
762 @code{\slurDown},
763 @code{\slurNeutral},
764 @code{\slurDashed},
765 @code{\slurDotted},
766 @code{\slurHalfDashed},
767 @code{\slurHalfSolid},
768 @code{\slurDashPattern},
769 @code{\slurSolid}.
770 @endpredefined
771
772
773 @snippets
774
775 @lilypondfile[verbatim,quote,texidoc,doctitle]
776 {using-double-slurs-for-legato-chords.ly}
777
778 @lilypondfile[verbatim,quote,texidoc,doctitle]
779 {positioning-text-markups-inside-slurs.ly}
780
781 @lilypondfile[verbatim,quote,texidoc,doctitle]
782 {making-slurs-with-complex-dash-structure.ly}
783
784 @seealso
785 Music Glossary:
786 @rglos{slur}.
787
788 Learning Manual:
789 @rlearning{On the un-nestedness of brackets and ties}.
790
791 Notation Reference:
792 @ref{Direction and placement},
793 @ref{Phrasing slurs}.
794
795 Snippets:
796 @rlsr{Expressive marks}.
797
798 Internals Reference:
799 @rinternals{Slur}.
800
801
802 @node Phrasing slurs
803 @unnumberedsubsubsec Phrasing slurs
804
805 @cindex phrasing slurs
806 @cindex phrasing marks
807 @cindex slur, phrasing
808 @cindex mark, phrasing
809 @funindex \(
810 @funindex \)
811
812 @notation{Phrasing slurs} (or phrasing marks) that indicate a
813 musical sentence are written using the commands @code{\(} and
814 @code{\)} respectively:
815
816 @lilypond[verbatim,quote,relative=2]
817 c4\( d( e) f(
818 e2) d\)
819 @end lilypond
820
821 @funindex \phrasingSlurUp
822 @funindex phrasingSlurUp
823 @funindex \phrasingSlurDown
824 @funindex phrasingSlurDown
825 @funindex \phrasingSlurNeutral
826 @funindex phrasingSlurNeutral
827
828 Typographically, a phrasing slur behaves almost exactly like a
829 normal slur.  However, they are treated as different objects; a
830 @code{\slurUp} will have no effect on a phrasing slur.  Phrasing
831 may be manually placed above or below the staff; see
832 @ref{Direction and placement}.
833
834 @cindex simultaneous phrasing slurs
835 @cindex multiple phrasing slurs
836 @cindex slur, simultaneous phrasing
837 @cindex slur, multiple phrasing
838 @cindex phrasing slur, simultaneous
839 @cindex phrasing slur, multiple
840
841 Simultaneous or overlapping phrasing slurs are not permitted.
842
843 @funindex phrasingSlurDashed
844 @funindex \phrasingSlurDashed
845 @funindex \phrasingSlurDotted
846 @funindex phrasingSlurDotted
847 @funindex \phrasingSlurSolid
848 @funindex phrasingSlurSolid
849 @cindex phrasing slur, dashed
850 @cindex dashed phrasing slur
851 @cindex phrasing slur, dotted
852 @cindex dotted phrasing slurs
853 @cindex slur, dashed phrasing
854 @cindex slur, dotted phrasing
855
856 Phrasing slurs can be solid, dotted, or dashed.  Solid is the default
857 style for phrasing slurs:
858
859 @lilypond[verbatim,quote,relative=1]
860 c4\( e g2\)
861 \phrasingSlurDashed
862 g4\( e c2\)
863 \phrasingSlurDotted
864 c4\( e g2\)
865 \phrasingSlurSolid
866 g4\( e c2\)
867 @end lilypond
868
869 @funindex phrasingSlurHalfDashed
870 @funindex \phrasingSlurHalfDashed
871 @funindex \phrasingSlurHalfSolid
872 @funindex phrasingSlurHalfSolid
873 @cindex phrasing slur, half solid and half dashed
874 @cindex slur, half solid and half dashed phrasing
875
876 Phrasing slurs can also be made half-dashed (the first half dashed, the
877 second half solid) or half-solid (the first half solid, the second
878 half dashed):
879
880 @lilypond[verbatim,quote,relative=1]
881 c4\( e g2\)
882 \phrasingSlurHalfDashed
883 g4\( e c2\)
884 \phrasingSlurHalfSolid
885 c4\( e g2\)
886 \phrasingSlurSolid
887 g4\( e c2\)
888 @end lilypond
889
890 @funindex \phrasingSlurDashPattern
891 @funindex phrasingSlurDashPattern
892 @cindex phrasing slur, defining dash patterns
893 @cindex slur, phrasing, defining dash patterns
894 @cindex slur, defining dash patterns for phrasing
895
896 Custom dash patterns for phrasing slurs can be defined:
897
898 @lilypond[verbatim,quote,relative=1]
899 c4\( e g2\)
900 \phrasingSlurDashPattern #0.7 #0.75
901 g4\( e c2\)
902 \phrasingSlurDashPattern #0.5 #2.0
903 c4\( e g2\)
904 \phrasingSlurSolid
905 g4\( e c2\)
906 @end lilypond
907
908 Dash pattern definitions for phrasing slurs have the same structure
909 as dash pattern definitions for slurs.  For more information about
910 complex dash patterns, see the snippets under @ref{Slurs}.
911
912 @predefined
913 @code{\phrasingSlurUp},
914 @code{\phrasingSlurDown},
915 @code{\phrasingSlurNeutral},
916 @code{\phrasingSlurDashed},
917 @code{\phrasingSlurDotted},
918 @code{\phrasingSlurHalfDashed},
919 @code{\phrasingSlurHalfSolid},
920 @code{\phrasingSlurDashPattern},
921 @code{\phrasingSlurSolid}.
922 @endpredefined
923
924 @seealso
925 Learning Manual:
926 @rlearning{On the un-nestedness of brackets and ties}.
927
928 Notation Reference:
929 @ref{Direction and placement},
930 @ref{Slurs}.
931
932 Snippets:
933 @rlsr{Expressive marks}.
934
935 Internals Reference:
936 @rinternals{PhrasingSlur}.
937
938
939 @node Breath marks
940 @unnumberedsubsubsec Breath marks
941
942 @cindex breath marks
943 @cindex pause mark
944 @funindex \breathe
945 @funindex breathe
946
947 Breath marks are entered using @code{\breathe}:
948
949 @lilypond[verbatim,quote,relative=2]
950 c2. \breathe d4
951 @end lilypond
952
953 A breath mark will end an automatic beam; to override this behavior, see
954 @ref{Manual beams}.
955
956 @lilypond[verbatim,quote,relative=2]
957 c8 \breathe d e f g2
958 @end lilypond
959
960 Musical indicators for breath marks in ancient notation,
961 divisiones, are supported.  For details, see @ref{Divisiones}.
962
963
964 @snippets
965
966 @lilypondfile[verbatim,quote,texidoc,doctitle]
967 {changing-the-breath-mark-symbol.ly}
968
969 @cindex tick mark
970
971 @lilypondfile[verbatim,quote,texidoc,doctitle]
972 {using-a-tick-as-the-breath-mark-symbol.ly}
973
974 @cindex caesura
975 @cindex railroad tracks
976
977 @lilypondfile[verbatim,quote,texidoc,doctitle]
978 {inserting-a-caesura.ly}
979
980 @seealso
981 Music Glossary:
982 @rglos{caesura}.
983
984 Notation Reference:
985 @ref{Divisiones}.
986
987 Snippets:
988 @rlsr{Expressive marks}.
989
990 Internals Reference:
991 @rinternals{BreathingEvent},
992 @rinternals{BreathingSign},
993 @rinternals{Breathing_sign_engraver}.
994
995
996 @node Falls and doits
997 @unnumberedsubsubsec Falls and doits
998
999 @cindex falls
1000 @cindex doits
1001 @funindex \bendAfter
1002 @funindex bendAfter
1003
1004 @notation{Falls} and @notation{doits} can be added to notes using
1005 the @code{\bendAfter} command.  The direction of the fall or doit
1006 is indicated with a plus or minus (up or down).  The number
1007 indicates the pitch interval that the fall or doit will extend
1008 @emph{beyond} the main note.
1009
1010 @lilypond[verbatim,quote,relative=2]
1011 c2\bendAfter #+4
1012 c2\bendAfter #-4
1013 c2\bendAfter #+6.5
1014 c2\bendAfter #-6.5
1015 c2\bendAfter #+8
1016 c2\bendAfter #-8
1017 @end lilypond
1018
1019 @snippets
1020
1021 @lilypondfile[verbatim,quote,texidoc,doctitle]
1022 {adjusting-the-shape-of-falls-and-doits.ly}
1023
1024 @seealso
1025 Music Glossary:
1026 @rglos{fall},
1027 @rglos{doit}.
1028
1029 Snippets:
1030 @rlsr{Expressive marks}.
1031
1032
1033 @node Expressive marks as lines
1034 @subsection Expressive marks as lines
1035
1036 This section explains how to create various expressive marks that
1037 follow a linear path: glissandos, arpeggios, and trills.
1038
1039 @menu
1040 * Glissando::
1041 * Arpeggio::
1042 * Trills::
1043 @end menu
1044
1045 @node Glissando
1046 @unnumberedsubsubsec Glissando
1047
1048 @cindex glissando
1049 @funindex \glissando
1050 @funindex glissando
1051
1052 A @notation{glissando} is created by appending @code{\glissando}
1053 to a note:
1054
1055 @lilypond[verbatim,quote,relative=2]
1056 g2\glissando g'
1057 c2\glissando c,
1058 \afterGrace f,1\glissando f'16
1059 @end lilypond
1060
1061 A glissando can connect notes across staves:
1062
1063 @lilypond[verbatim,quote]
1064 \new PianoStaff <<
1065   \new Staff = "right" {
1066     e'''2\glissando
1067     \change Staff = "left"
1068     a,,4\glissando
1069     \change Staff = "right"
1070     b''8 r |
1071   }
1072   \new Staff = "left" {
1073     \clef bass
1074     s1
1075   }
1076 >>
1077 @end lilypond
1078
1079 A glissando can connect notes in chords.  If anything other than a
1080 direct one-to-one pairing of the notes in the two chords is required
1081 the connections between the notes are defined by setting
1082 @code{\glissandoMap}, where the notes of a chord are assumed to be
1083 numbered from zero in the order in which they appear in the input
1084 @file{.ly} file.
1085
1086 @lilypond[verbatim,quote,relative=2]
1087 <c, e>1\glissando g' |
1088 <c, e>1\glissando |
1089 <g' b> |
1090 \break
1091 \set glissandoMap = #'((0 . 1) (1 . 0))
1092 <c, g'>1\glissando |
1093 <d a'> |
1094 \set glissandoMap = #'((0 . 0) (0 . 1) (0 . 2))
1095 c1\glissando |
1096 <d f a> |
1097 \set glissandoMap = #'((2 . 0) (1 . 0) (0 . 1))
1098 <f d a'>1\glissando |
1099 <c c'> |
1100 @end lilypond
1101
1102 Different styles of glissandi can be created.  For details, see
1103 @ref{Line styles}.
1104
1105
1106 @snippets
1107 @lilypondfile[verbatim,quote,texidoc,doctitle]
1108 {contemporary-glissando.ly}
1109
1110 @lilypondfile[verbatim,quote,texidoc,doctitle]
1111 {adding-timing-marks-to-long-glissandi.ly}
1112
1113 @lilypondfile[verbatim,quote,texidoc,doctitle]
1114 {making-glissandi-breakable.ly}
1115
1116 @lilypondfile[verbatim,quote,texidoc,doctitle]
1117 {extending-glissandi-across-repeats.ly}
1118
1119 @seealso
1120 Music Glossary:
1121 @rglos{glissando}.
1122
1123 Notation Reference:
1124 @ref{Line styles}.
1125
1126 Snippets:
1127 @rlsr{Expressive marks}.
1128
1129 Internals Reference:
1130 @rinternals{Glissando}.
1131
1132 @knownissues
1133 Printing text over the line (such as @notation{gliss.}) is not
1134 supported.
1135
1136
1137 @node Arpeggio
1138 @unnumberedsubsubsec Arpeggio
1139
1140 @cindex arpeggio
1141 @cindex broken chord
1142 @cindex chord, broken
1143
1144 @funindex \arpeggio
1145 @funindex arpeggio
1146 @funindex \arpeggioArrowUp
1147 @funindex arpeggioArrowUp
1148 @funindex \arpeggioArrowDown
1149 @funindex arpeggioArrowDown
1150 @funindex \arpeggioNormal
1151 @funindex arpeggioNormal
1152
1153 An @notation{arpeggio} on a chord (also known as a broken chord)
1154 is denoted by appending @code{\arpeggio} to the chord construct:
1155
1156 @lilypond[verbatim,quote,relative=1]
1157 <c e g c>1\arpeggio
1158 @end lilypond
1159
1160 Different types of arpeggios may be written.
1161 @code{\arpeggioNormal} reverts to a normal arpeggio:
1162
1163 @lilypond[verbatim,quote,relative=1]
1164 <c e g c>2\arpeggio
1165
1166 \arpeggioArrowUp
1167 <c e g c>2\arpeggio
1168
1169 \arpeggioArrowDown
1170 <c e g c>2\arpeggio
1171
1172 \arpeggioNormal
1173 <c e g c>2\arpeggio
1174 @end lilypond
1175
1176 @cindex arpeggio symbols, special
1177 @cindex special arpeggio symbols
1178
1179 @funindex \arpeggioBracket
1180 @funindex arpeggioBracket
1181 @funindex \arpeggioParenthesis
1182 @funindex arpeggioParenthesis
1183 @funindex \arpeggioParenthesisDashed
1184 @funindex arpeggioParenthesisDashed
1185
1186 Special @emph{bracketed} arpeggio symbols can be created:
1187
1188 @lilypond[verbatim,quote,relative=1]
1189 <c e g c>2
1190
1191 \arpeggioBracket
1192 <c e g c>2\arpeggio
1193
1194 \arpeggioParenthesis
1195 <c e g c>2\arpeggio
1196
1197 \arpeggioParenthesisDashed
1198 <c e g c>2\arpeggio
1199
1200 \arpeggioNormal
1201 <c e g c>2\arpeggio
1202 @end lilypond
1203
1204 The dash properties of the parenthesis arpeggio are controlled
1205 with the @code{'dash-details} property, which is described at @ref{Slurs}.
1206
1207 Arpeggios can be explicitly written out with ties.  For more
1208 information, see @ref{Ties}.
1209
1210
1211 @predefined
1212 @code{\arpeggio},
1213 @code{\arpeggioArrowUp},
1214 @code{\arpeggioArrowDown},
1215 @code{\arpeggioNormal},
1216 @code{\arpeggioBracket},
1217 @code{\arpeggioParenthesis}
1218 @code{\arpeggioParenthesisDashed}.
1219 @endpredefined
1220
1221
1222 @snippets
1223
1224 @lilypondfile[verbatim,quote,texidoc,doctitle]
1225 {creating-cross-staff-arpeggios-in-a-piano-staff.ly}
1226
1227 @lilypondfile[verbatim,quote,texidoc,doctitle]
1228 {creating-cross-staff-arpeggios-in-other-contexts.ly}
1229
1230 @lilypondfile[verbatim,quote,texidoc,doctitle]
1231 {creating-arpeggios-across-notes-in-different-voices.ly}
1232
1233 @seealso
1234 Music Glossary:
1235 @rglos{arpeggio}.
1236
1237 Notation Reference:
1238 @ref{Slurs},
1239 @ref{Ties}.
1240
1241 Snippets:
1242 @rlsr{Expressive marks}.
1243
1244 Internals Reference:
1245 @rinternals{Arpeggio},
1246 @rinternals{Slur},
1247 @rinternals{PianoStaff}.
1248
1249 @knownissues
1250 @cindex cross-staff parenthesis-style arpeggio
1251 @cindex arpeggio, parenthesis-style, cross-staff
1252 @cindex arpeggio, cross-staff parenthesis-style
1253
1254 It is not possible to mix connected arpeggios and unconnected
1255 arpeggios in one @code{PianoStaff} at the same point in
1256 time.
1257
1258 The parenthesis-style arpeggio brackets do not work for
1259 cross-staff arpeggios.
1260
1261
1262 @node Trills
1263 @unnumberedsubsubsec Trills
1264
1265 @cindex trills
1266
1267 @funindex \trill
1268 @funindex trill
1269 @funindex \startTrillSpan
1270 @funindex startTrillSpan
1271 @funindex \stopTrillSpan
1272 @funindex stopTrillSpan
1273
1274 Short trills without an extender line are printed with
1275 @code{\trill}; see @ref{Articulations and ornamentations}.
1276
1277 Longer trills with an extender line are made with
1278 @code{\startTrillSpan} and @code{\stopTrillSpan}:
1279
1280 @lilypond[verbatim,quote,relative=2]
1281 d1\startTrillSpan
1282 d1
1283 c2\stopTrillSpan
1284 r2
1285 @end lilypond
1286
1287 A trill spanner crossing a line break will restart exactly above
1288 the first note on the new line.
1289
1290 @lilypond[ragged-right,verbatim,quote,relative=2]
1291 d1\startTrillSpan
1292 \break
1293 d1
1294 c2\stopTrillSpan
1295 r2
1296 @end lilypond
1297
1298 Consecutive trill spans will work without explicit
1299 @code{\stopTrillSpan} commands, since successive trill spanners will
1300 automatically become the right bound of the previous trill.
1301
1302 @lilypond[verbatim,quote,relative=2]
1303 d1\startTrillSpan
1304 d1
1305 b1\startTrillSpan
1306 d2\stopTrillSpan
1307 r2
1308 @end lilypond
1309
1310 Trills can also be combined with grace notes.  The syntax of this
1311 construct and the method to precisely position the grace notes are
1312 described in @ref{Grace notes}.
1313
1314 @lilypond[verbatim,quote,relative=2]
1315 d1~\afterGrace
1316 d1\startTrillSpan { c32[ d]\stopTrillSpan }
1317 c2 r2
1318 @end lilypond
1319
1320 @cindex pitched trills
1321 @cindex trills, pitched
1322 @funindex \pitchedTrill
1323 @funindex pitchedTrill
1324
1325 Trills that require an auxiliary note with an explicit pitch can
1326 be typeset with the @code{\pitchedTrill} command.  The first
1327 argument is the main note, and the second is the @emph{trilled}
1328 note, printed as a stemless note head in parentheses.
1329
1330 @lilypond[verbatim,quote,relative=2]
1331 \pitchedTrill
1332 d2\startTrillSpan fis
1333 d2
1334 c2\stopTrillSpan
1335 r2
1336 @end lilypond
1337
1338 @cindex pitched trill with accidental
1339 @cindex trill with accidental
1340
1341 Subsequent accidentals of the same note in the same measure will need
1342 to be added manually.  Only the accidental of the first pitched trill
1343 in a measure is printed.
1344
1345 @lilypond[verbatim,quote,relative=2]
1346 \pitchedTrill
1347 eis4\startTrillSpan fis
1348 eis4\stopTrillSpan
1349 \pitchedTrill
1350 eis4\startTrillSpan cis
1351 eis4\stopTrillSpan
1352 \pitchedTrill
1353 eis4\startTrillSpan fis
1354 eis4\stopTrillSpan
1355 \pitchedTrill
1356 eis4\startTrillSpan fis!
1357 eis4\stopTrillSpan
1358 @end lilypond
1359
1360 @predefined
1361 @code{\startTrillSpan},
1362 @code{\stopTrillSpan}.
1363 @endpredefined
1364
1365 @seealso
1366 Music Glossary:
1367 @rglos{trill}.
1368
1369 Notation Reference:
1370 @ref{Articulations and ornamentations},
1371 @ref{Grace notes}.
1372
1373 Snippets:
1374 @rlsr{Expressive marks}.
1375
1376 Internals Reference:
1377 @rinternals{TrillSpanner}.