]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/quote-cue-event-types.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / quote-cue-event-types.ly
1 \header {
2
3
4 texidoc = " The @code{cueDuring} and @code{quoteDuring} forms of quotation
5 will use the variables @code{quotedCueEventTypes} and @code{quotedEventTypes}
6 to determine which events are quoted. This allows different events to be
7 quoted for cue notes than for normal quotes.
8
9 @code{quotedEventTypes} is also the fallback for cue notes if
10 @code{quotedCueEventTypes} is not set."
11
12 }
13
14 \version "2.16.0"
15
16 quoteMe = \relative c' { fis8 r16-. a8.-> \acciaccatura c8 b4(-\ff~  b16 c8. b8) }
17 \addQuote quoteMe \quoteMe
18
19 <<
20   \new Staff \with { instrumentName = "Quoted Voice" } {
21     \quoteMe
22   }
23   \new Staff \with { instrumentName = "quoteDuring" } {
24 %     \set Staff.quotedEventTypes = #'(StreamEvent)
25     \relative c' { c8 \quoteDuring "quoteMe" { s8 s4 s2 } }
26   }
27   \new Staff \with { instrumentName = "cueDuring" } {
28     \relative c' { c8 \cueDuring "quoteMe" #UP { r8 r4 r2 } }
29   }
30 >>
31
32 <<
33   \new Staff \with { instrumentName = "Fallback" } {
34     \unset Score.quotedCueEventTypes
35     \relative c' { c8 \cueDuring "quoteMe" #UP { r8 r4 r2 } }
36   }
37 >>