]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/expressive.itely
Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/lilypond
[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.38"
10
11 @node Expressive marks
12 @section Expressive marks
13
14 @lilypondfile[quote]{expressive-headword.ly}
15
16 @menu
17 * Attached to notes::           
18 * Curves::                      
19 * Lines::                       
20 @end menu
21
22
23 @node Attached to notes
24 @subsection Attached to notes
25
26 @menu
27 * Articulations and ornamentations::  
28 * Dynamics::                    
29 * New dynamic marks::           
30 @end menu
31
32 @node Articulations and ornamentations
33 @subsubsection Articulations and ornamentations
34
35 @cindex articulations
36 @cindex scripts
37 @cindex ornaments
38
39 A variety of symbols that denote articulations, ornamentations,
40 and other performance indications can be attached to a note using
41 this syntax:
42
43 @example
44 @var{note}\@var{name}
45 @end example
46
47 The possible values for @var{name} are listed in @ref{List of
48 articulations}.  For example:
49
50 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
51 c4\staccato c\mordent b2\turn
52 c1\fermata
53 @end lilypond
54
55 @cindex marcato
56 @cindex stopped
57 @cindex tenuto
58 @cindex staccatissimo
59 @cindex accent
60 @cindex staccato
61 @cindex portato
62
63 Some of these articulations have shorthands for easier entry.
64 Shorthands are appended to the note name, and their syntax
65 consists of a dash (@tie{}@code{-}) followed by a symbol
66 signifying the articulation.  Predefined shorthands exist for
67 @notation{marcato}, @notation{stopped}, @notation{tenuto},
68 @notation{staccatissimo}, @notation{accent}, @notation{staccato},
69 and @notation{portato}.  Their corresponding output appears as
70 follows:
71
72 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
73 c4-^  c-+  c--  c-|
74 c->   c-.  c-_
75 @end lilypond
76
77 The rules for the default placement of articulations are defined
78 in @file{scm/@/script@/.scm}.  Articulations and ornamentations
79 may be manually placed above or below the staff, see
80 @ref{Controlling direction and placement}.
81
82 @cindex espressivo
83 @cindex fermata
84 @cindex upbow
85 @cindex downbow
86 @cindex foot marks
87 @cindex organ pedal marks
88 @cindex turn
89 @cindex open
90 @cindex stopped
91 @cindex flageolet
92 @cindex reverseturn
93 @cindex trill
94 @cindex prall
95 @cindex mordent
96 @cindex prallprall
97 @cindex prallmordent
98 @cindex prall, up
99 @cindex prall, down
100 @cindex thumb marking
101 @cindex segno
102 @cindex coda
103 @cindex varcoda
104
105
106 @snippets
107
108 @c Send these snippets to Valentin for the LSR.
109
110 The shorthands are defined in @file{ly/@/script@/-init@/.ly},
111 where the variables @code{dashHat}, @code{dashPlus},
112 @code{dashDash}, @code{dashBar}, @code{dashLarger},
113 @code{dashDot}, and @code{dashUnderscore} are assigned default
114 values.  The default values for the shorthands can be modified.
115 For example, to associate the @code{-+} (@code{dashPlus})
116 shorthand with the @notation{trill} symbol instead of the default
117 @notation{+} symbol, assign the value @code{trill} to the variable
118 @code{dashPlus}:
119
120 @lilypond[verbatim,quote,ragged-right]
121 \relative c'' { c-+ }
122 dashPlus = "trill"
123 \relative c'' { c-+ }
124 @end lilypond
125
126 The vertical ordering of scripts is controlled with the
127 @code{script-priority} property.  The lower this number, the
128 closer it will be put to the note.  In this example, the
129 @code{TextScript} (the sharp symbol) first has the lowest
130 priority, so it is put lowest in the first example.  In the
131 second, the @notation{prall trill} (the @code{Script}) has the
132 lowest, so it is on the inside.  When two objects have the same
133 priority, the order in which they are entered decides which one
134 comes first.
135
136 @lilypond[verbatim,quote,ragged-right,fragment,relative=3]
137 \once \override TextScript #'script-priority = #-100
138 a4^\prall^\markup { \sharp }
139
140 \once \override Script #'script-priority = #-100
141 a4^\prall^\markup { \sharp }
142 @end lilypond
143
144
145 @seealso
146
147 Music Glossary: @rglos{tenuto}, @rglos{accent}, @rglos{staccato},
148 @rglos{portato}.
149
150 Snippets: @lsrdir{Expressive,Expressive-marks}
151
152 Internals Reference: @internalsref{Script},
153 @internalsref{TextScript}.
154
155
156 @knownissues
157
158 These signs appear in the printed output but have no effect on the
159 MIDI rendering of the music.
160
161
162 @node Dynamics
163 @subsubsection Dynamics
164
165 @cindex dynamics
166 @funindex \pppp
167 @funindex \ppp
168 @funindex \pp
169 @funindex \p
170 @funindex \mp
171 @funindex \mf
172 @funindex \f
173 @funindex \ff
174 @funindex \fff
175 @funindex \ffff
176 @funindex \fp
177 @funindex \sf
178 @funindex \sff
179 @funindex \sp
180 @funindex \spp
181 @funindex \sfz
182 @funindex \rfz
183
184 Absolute dynamic marks are specified using a command after a note,
185 like @code{c4\ff}.  The available dynamic marks are @code{\ppppp},
186 @code{\pppp}, @code{\ppp}, @code{\pp}, @code{\p}, @code{\mp},
187 @code{\mf}, @code{\f}, @code{\ff}, @code{\fff}, @code{\ffff},
188 @code{\fp}, @code{\sf}, @code{\sff}, @code{\sp}, @code{\spp},
189 @code{\sfz}, and @code{\rfz}.  The dynamic marks may be manually
190 placed above or below the staff, see @ref{Controlling direction
191 and placement}.
192
193 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
194 c2\ppp c\mp
195 c\rfz c^\mf
196 c_\spp c_\staccato^\ff
197 @end lilypond
198
199 @cindex hairpin
200 @funindex \<
201 @funindex \>
202 @funindex \!
203 @funindex \cr
204 @funindex \decr
205
206 A @notation{crescendo} mark is started with @code{\<} and
207 terminated with @code{\!} or an absolute dynamic.  A
208 @notation{decrescendo} is started with @code{\>} and is also
209 terminated with @code{\!} or an absolute dynamic.  @code{\cr} and
210 @code{\decr} may be used instead of @code{\<} and @code{\>}.  They
211 can be engraved either using a graphical sign (a
212 @notation{hairpin}), or with textual signs.
213
214 Because these marks are bound to notes, you must use spacer notes
215 if multiple marks are needed during one note.
216
217 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
218 c\< c\! d\> e\!
219 << f1 { s4 s4\< s4\! \> s4\! } >>
220 @end lilypond
221
222 This may give rise to very short hairpins.  To lengthen them, the
223 following code can be used, for example:
224
225 @example
226 \override Voice.Hairpin #'minimum-length = #5
227 @end example
228
229 @noindent
230 A @notation{hairpin} normally starts at the left edge of the
231 beginning note and ends on the right edge of the ending note.  If
232 the ending note falls on the downbeat, the @notation{hairpin} ends
233 on the immediately preceding bar line.  The following example
234 illustrates this behavior:
235
236 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
237 e4\< e2. e1\!
238 \set hairpinToBarline = ##f
239 e4\< e2. e1\!
240 @end lilypond
241
242 @cindex espressivo, articulation
243
244 In some situations the @code{\espressivo} articulation mark may be
245 suitable to indicate a crescendo and decrescendo on the one note:
246
247 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
248 c2 b4 a g1\espressivo
249 @end lilypond
250
251 @cindex al niente
252 @cindex niente, al
253
254 Hairpins may be printed with a circled tip (al niente notation):
255
256 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
257 \override Hairpin #'circled-tip = ##t
258 c2\< c\!
259 c4\> c\< c2\!
260 @end lilypond
261
262 @cindex crescendo
263 @cindex decrescendo
264 @cindex diminuendo
265 @funindex \setTextCresc
266 @funindex \setTextDim
267 @funindex \setTextDecresc
268 @funindex \setHairpinCresc
269 @funindex \setHairpinDim
270 @funindex \setHairpinDecresc
271
272 You can use text saying @notation{cresc.}, @notation{decr.}, or
273 @notation{dim.} instead of hairpins with the commands
274 @code{\setTextCresc}, @code{\setTextDim}, and
275 @code{\setTextDecresc}.  The corresponding
276 @code{\setHairpinCresc}, @code{\setHairpinDim}, and
277 @code{\setHairpinDecresc} will revert to hairpins again:
278
279 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
280 \setTextCresc
281 c\< d e f\!
282 \setHairpinCresc
283 e\> d c b\!
284 \setTextDecresc
285 e\> d e f\!
286 \setTextDecr
287 c\> d e f\!
288 \setTextDim
289 e\> d c b\!
290 @end lilypond
291
292 You can also supply your own texts and change the style of the
293 spanner line with the properties @code{\crescendoText},
294 @code{\crescendoSpanner}, @code{\decrescendoText}, and
295 @code{\decrescendoSpanner}.  Available values for the spanner
296 properties are @code{hairpin}, @code{line}, @code{dashed-line},
297 and @code{dotted-line}.  If unset, a hairpin crescendo is used:
298
299 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
300 \set crescendoText = \markup { \italic "cresc. poco" }
301 \set crescendoSpanner = #'dotted-line
302 a'2\< a a a a a a a\!\mf
303 @end lilypond
304
305 To create new dynamic marks or text that should be aligned with
306 dynamics, see @ref{New dynamic marks}.
307
308 Vertical positioning of dynamics is handled by
309 @internalsref{DynamicLineSpanner}.
310
311
312 @predefined
313
314 @funindex \dynamicUp
315 @code{\dynamicUp},
316 @funindex \dynamicDown
317 @code{\dynamicDown},
318 @funindex \dynamicNeutral
319 @code{\dynamicNeutral}.
320
321
322 @snippets
323
324 Dynamics that occur at, begin on, or end on the same note will be
325 vertically aligned.  If you want to ensure that dynamics are
326 aligned when they do not occur on the same note, you can increase
327 the @code{staff-padding} property.
328
329 @example
330 \override DynamicLineSpanner #'staff-padding = #4
331 @end example
332
333 @noindent
334 You may also use this property if the dynamics are colliding with
335 other notation.
336
337 @notation{Crescendi} and @notation{decrescendi} that cross a line
338 break will be continued on the second line.  If they end on the
339 first note of a new line, nothing will be printed on that line.
340 To change this behavior, use
341
342 @example
343 \override Score.Hairpin #'after-line-breaking = ##t
344 @end example
345
346 Text style dynamic changes (such as @notation{cresc.} and
347 @notation{dim.}) are printed with a dashed line showing their
348 extent.  To suppress printing this line, use
349
350 @example
351 \override DynamicTextSpanner #'dash-period = #-1.0
352 @end example
353
354
355 @seealso
356
357 @c TODO: Add hairpin to glossary.
358
359 Music Glossary: @rglos{crescendo}, @rglos{decrescendo}.
360
361 Learning Manual: @rlearning{Articulation and dynamics}.
362
363 Snippets: @lsrdir{Expressive,Expressive-marks}
364
365 Internals Reference: @internalsref{DynamicText},
366 @internalsref{Hairpin}.  Vertical positioning of these symbols is
367 handled by @internalsref{DynamicLineSpanner}.
368
369
370 @node New dynamic marks
371 @subsubsection New dynamic marks
372
373 It is possible to print new dynamic marks or text that should be
374 aligned with dynamics.  Use @code{make-dynamic-script} to create
375 these marks.  Note that the dynamic font only contains the
376 characters @code{f,m,p,r,s} and @code{z}.
377
378 Some situations (such as dynamic marks) have preset font-related
379 properties.  If you are creating text in such situations, it is
380 advisable to cancel those properties with @code{normal-text}.  See
381 @ref{Text markup commands}, for more details.
382
383 @cindex make-dynamic-script
384
385 @lilypond[quote,verbatim,ragged-right]
386 sfzp = #(make-dynamic-script "sfzp")
387 \relative c' {
388   c4 c c\sfzp c
389 }
390 @end lilypond
391
392 @cindex Dynamics, editorial
393 @cindex Dynamics, parenthesis
394
395 It is also possible to print dynamics in round parenthesis or
396 square brackets.  These are often used for adding editorial
397 dynamics.
398
399 @lilypond[quote,verbatim,ragged-right]
400 rndf = \markup{ \center-align {\line { \bold{\italic (}
401   \dynamic f \bold{\italic )} }} }
402 boxf = \markup{ \bracket { \dynamic f } }
403 { c'1_\rndf c'1_\boxf }
404 @end lilypond
405
406 @seealso
407
408 Snippets: @lsrdir{Expressive,Expressive-marks}
409
410
411 @node Curves
412 @subsection Curves
413
414 @menu
415 * Slurs::                       
416 * Phrasing slurs::              
417 * Breath marks::                
418 * Falls and doits::             
419 @end menu
420
421 @node Slurs
422 @subsubsection Slurs
423
424 @cindex slurs
425
426 A @notation{slur} indicates that notes are to be played bound or
427 @emph{legato}.  They are entered using parentheses:
428
429 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
430 f( g a) a8 b( a4 g2 f4)
431 <c e>2( <b d>2)
432 @end lilypond
433
434 Just as with ties, the direction of a slur can be specified with
435 @code{\slur@emph{DIR}}, where @code{@emph{DIR}} is either
436 @code{Up}, @code{Down}, or @code{Neutral} (@code{Neutral} is the
437 default).  Slurs may be manually placed above or below the staff,
438 see @ref{Controlling direction and placement}.
439
440 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
441 c4_( c) c^( c)
442 @end lilypond
443
444 Using this method, only one slur can be printed at once.  To print
445 a long slur over a few small slurs, see @ref{Phrasing slurs}.
446
447
448 @predefined
449
450 @funindex \slurUp
451 @code{\slurUp},
452 @funindex \slurDown
453 @code{\slurDown},
454 @funindex \slurNeutral
455 @code{\slurNeutral},
456 @funindex \slurDashed
457 @code{\slurDashed},
458 @funindex \slurDotted
459 @code{\slurDotted},
460 @funindex \slurSolid
461 @code{\slurSolid}.
462
463
464 @snippets
465
466 Some composers write two slurs when they want legato chords.  This
467 can be achieved in LilyPond by setting @code{doubleSlurs},
468
469 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
470 \set doubleSlurs = ##t
471 <c e>4 ( <d f> <c e> <d f> )
472 @end lilypond
473
474
475 @seealso
476
477 Music Glossary: @rglos{slur}
478
479 Snippets: @lsrdir{Expressive,Expressive-marks}
480
481 Internals Reference: @internalsref{Slur}.
482
483
484 @node Phrasing slurs
485 @subsubsection Phrasing slurs
486
487 @cindex phrasing slurs
488 @cindex phrasing marks
489 @funindex \(
490 @funindex \)
491
492 A phrasing slur (or phrasing mark) connects notes and is used to
493 indicate a musical sentence.  It is written using @code{\(} and
494 @code{\)} respectively:
495
496 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
497 \time 6/4 c'\( d( e) f( e) d\)
498 @end lilypond
499
500 Typographically, the phrasing slur behaves almost exactly like a
501 normal slur.  However, they are treated as different objects.  A
502 @code{\slurUp} will have no effect on a phrasing slur; instead,
503 use @code{\phrasingSlurUp}, @code{\phrasingSlurDown}, and
504 @code{\phrasingSlurNeutral}.  Phrasing slurs may be manually
505 placed above or below the staff, see @ref{Controlling direction
506 and placement}.
507
508 You cannot have simultaneous phrasing slurs.
509
510
511 @predefined
512
513 @funindex \phrasingSlurUp
514 @code{\phrasingSlurUp},
515 @funindex \phrasingSlurDown
516 @code{\phrasingSlurDown},
517 @funindex \phrasingSlurNeutral
518 @code{\phrasingSlurNeutral}.
519
520
521 @seealso
522
523 Snippets: @lsrdir{Expressive,Expressive-marks}
524
525 Internals Reference: @internalsref{PhrasingSlur}
526
527
528 @node Breath marks
529 @subsubsection Breath marks
530
531 @cindex breath marks
532 @funindex \breathe
533
534 Breath marks are entered using @code{\breathe}:
535
536 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
537 c'4 \breathe d4
538 @end lilypond
539
540
541 @snippets
542
543 The glyph of the breath mark can be tuned by overriding the
544 @code{text} property of the @code{BreathingSign} layout object
545 with any markup text.  For example,
546
547 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
548 c'4
549 \override BreathingSign #'text
550   = #(make-musicglyph-markup "scripts.rvarcomma")
551 \breathe
552 d4
553 @end lilypond
554
555
556 @seealso
557
558 Snippets: @lsrdir{Expressive,Expressive-marks}
559 @c @lsr{expressive,breathing-sign.ly}.
560
561 Internals Reference: @internalsref{BreathingSign}
562
563
564 @node Falls and doits
565 @subsubsection Falls and doits
566
567 @cindex falls
568 @cindex doits
569 @funindex \bendAfter
570
571 @notation{Falls} and @notation{doits} can be added to notes using
572 the @code{\bendAfter} command:
573
574 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
575 c2-\bendAfter #+4
576 c-\bendAfter #-4
577 c-\bendAfter #+8
578 c-\bendAfter #-8
579 @end lilypond
580
581 The dash (@tie{-}) following the note name is @emph{required} when
582 writing @notation{falls} and @notation{doits}.
583
584
585 @snippets
586
587 The @code{shortest-duration-space} property may have to be tweaked
588 to adjust the shape of @notation{falls} and @notation{doits}.
589
590 @c Fix this snippet. The tweak does not work. -pm
591
592 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
593 \override Score.SpacingSpanner #'shortest-duration-space = #3.0
594 c4-\bendAfter #+5
595 c4-\bendAfter #-3
596 @end lilypond
597
598
599 @seealso
600
601 @c TODO: add falls and doits to glossary.
602 @c Music Glossary: @rglos{falls}, @rglos{doits}.
603
604 Snippets: @lsrdir{Expressive,Expressive-marks}
605
606
607 @node Lines
608 @subsection Lines
609
610 @menu
611 * Glissando::                   
612 * Arpeggio::                    
613 * Trills::                      
614 @end menu
615
616 @node Glissando
617 @subsubsection Glissando
618
619 @cindex glissando
620 @funindex \glissando
621
622 A @notation{glissando} is a smooth change in pitch.  It is denoted
623 by a line or a wavy line between two notes.  A
624 @notation{glissando} is created by attaching @code{\glissando} to
625 a note:
626
627 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
628 c2\glissando c'
629 \override Glissando #'style = #'zigzag
630 c2\glissando c,
631 @end lilypond
632
633
634 @snippets
635
636 @lilypond[verbatim,quote,ragged-right]
637 I = \once \override NoteColumn #'ignore-collision = ##t
638
639 \relative c' <<
640   { \oneVoice \stemDown f2 \glissando \stemNeutral a } \\
641   { \oneVoice \I c2 \glissando \I d, }
642 >>
643 @end lilypond
644
645
646 @seealso
647
648 Music Glossary: @rglos{glissando}
649
650 Snippets: @lsrdir{Expressive,Expressive-marks}
651
652 @c FIXME: I need to figure out what's up with these.  -gp
653 @c @lsr{expressive,glissando.ly},
654 @c @lsr{expressive,line-styles.ly}
655
656 Internals Reference: @internalsref{Glissando}
657
658
659 @knownissues
660
661 Printing text over the line (such as @emph{gliss.}) is not
662 supported.
663
664
665 @node Arpeggio
666 @subsubsection Arpeggio
667
668 @cindex arpeggio
669 @cindex broken chord
670
671 You can specify an @notation{arpeggio} (also known as a
672 @notation{broken chord}) on a chord by attaching an
673 @code{\arpeggio} to the chord:
674
675 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
676 <c e g c>\arpeggio
677 @end lilypond
678
679 A square bracket on the left, denoted by @code{\arpeggioBracket},
680 is used to indicate that the chord should @emph{not} be
681 arpeggiated:
682
683 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
684 \arpeggioBracket
685 <c e g c>\arpeggio
686 @end lilypond
687
688 The direction of the arpeggio can be denoted by adding an
689 arrowhead to the wiggly line.  This is done with the commands
690 @code{arpeggioUp} and @code{arpeggioDown}.  @code{arpeggioNeutral}
691 reverts to the arrow-less version:
692
693 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
694 \new Voice {
695   \arpeggioUp
696   <c e g c>\arpeggio
697   \arpeggioDown
698   <c e g c>\arpeggio
699   \arpeggioNeutral
700   <c e g c>\arpeggio
701 }
702 @end lilypond
703
704
705 @predefined
706
707 @funindex \arpeggio
708 @code{\arpeggio},
709 @funindex \arpeggioUp
710 @code{\arpeggioUp},
711 @funindex \arpeggioDown
712 @code{\arpeggioDown},
713 @funindex \arpeggioNeutral
714 @code{\arpeggioNeutral},
715 @funindex \arpeggioBracket
716 @code{\arpeggioBracket}.
717
718
719 @snippets
720
721 In a @code{PianoStaff}, it is possible to let an arpeggio cross
722 between the staves by setting the property
723 @code{PianoStaff}.@code{connectArpeggios}.
724
725 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
726 \new PianoStaff <<
727   \set PianoStaff.connectArpeggios = ##t
728   \new Staff { <c' e g c>\arpeggio }
729   \new Staff { \clef bass <c,, e g>\arpeggio }
730 >>
731 @end lilypond
732
733 The same can be accomplished in contexts other than
734 @code{PianoStaff} if the @code{Span_arpeggio_engraver} is included
735 in the Score context.
736
737 @lilypond[verbatim,quote,ragged-right]
738 \score {
739   \new StaffGroup {
740     \set Score.connectArpeggios = ##t
741     <<
742       \new Voice \relative c' {
743         <e g>4\arpeggio
744       }
745       \new Voice  \relative c {
746         \clef bass
747         <c e>4\arpeggio
748       }
749     >>
750   }
751   \layout {
752     \context {
753       \Score
754       \consists "Span_arpeggio_engraver"
755     }
756   }
757 }
758 @end lilypond
759
760 Similarly, an arpeggio can be drawn across notes in different
761 voices on the same staff if the @code{Span_arpeggio_engraver} is
762 moved to the Staff context:
763
764 @lilypond[verbatim,quote,ragged-right]
765 \new Staff
766 \with {
767   \consists "Span_arpeggio_engraver"
768 } \relative c' {
769   \set Staff.connectArpeggios = ##t
770     <<
771     {<e' g>4\arpeggio <d f> <d f>2 }
772   \\
773   {<d, f>2\arpeggio  <g b>2  }
774   >>
775 }
776 @end lilypond
777
778
779 @seealso
780
781 @c TODO: Add 'broken chord' to glossary.
782
783 Music Glossary: @rglos{arpeggio}
784
785 Notation Reference: @ref{Ties}, for writing out arpeggios.
786
787 Snippets: @lsrdir{Expressive,Expressive-marks}
788
789 Internals Reference: @internalsref{Arpeggio},
790 @internalsref{PianoStaff}.
791
792
793 @knownissues
794
795 It is not possible to mix connected arpeggios and unconnected
796 arpeggios in one @code{PianoStaff} at the same point in
797 time.
798
799
800 @node Trills
801 @subsubsection Trills
802
803 @cindex trills
804 @funindex \trill
805
806 Short @notation{trills} are printed with @code{\trill} like normal
807 articulation; see @ref{Articulations and ornamentations}.
808
809 Long running @notation{trills} are made with
810 @code{\startTrillSpan} and @code{\stopTrillSpan}.  In the
811 following example, a long running @notation{trill} is shown
812 combined with grace notes.  To achieve precise control of the
813 placement of the grace notes, see @ref{Grace notes}.
814
815 @lilypond[verbatim,quote,ragged-right,fragment,relative=2]
816 c1 \afterGrace
817 d1\startTrillSpan { c16[\stopTrillSpan d] }
818 c4
819 @end lilypond
820
821 @cindex pitched trills
822
823 @notation{Trills} that should be executed on an explicitly
824 specified pitch can be typeset with the command
825 @code{\pitchedTrill} using the following syntax:
826
827 @example
828 @code{\pitchedTrill} @var{mainnote} @code{\startTrillSpan}
829 @var{trillnote} @var{endnote} @code{\stopTrillSpan}
830 @end example
831
832 @lilypond[verbatim,quote,ragged-right,fragment,relative=1]
833 \pitchedTrill e2 \startTrillSpan fis
834 d\stopTrillSpan
835 @end lilypond
836
837 @noindent
838 The first argument is the main note.  The pitch of the second is
839 printed as a stemless note head in parentheses.
840
841
842 @predefined
843
844 @code{\startTrillSpan},
845 @funindex \startTrillSpan
846 @code{\stopTrillSpan}.
847 @funindex \stopTrillSpan
848
849
850 @seealso
851
852 Music Glossary: @rglos{trill}
853
854 Snippets: @lsrdir{Expressive,Expressive-marks}
855
856 Internals Reference: @internalsref{TrillSpanner}