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