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