MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / quote-during.ly
blob225bf6ebdda1899a852d48d470c6bd2de35c9dfd
1 \header
4 texidoc = "With @code{\\cueDuring} and @code{\\quoteDuring},
5 fragments of previously entered music may be
6 quoted. @code{quotedEventTypes} will determines what things are
7 quoted. In this example, a 16th rest is not quoted, since
8 @code{rest-event} is not in @code{quotedEventTypes}."
11 \version "2.12.0"
12 \layout {
13 ragged-right = ##t
17 quoteMe = \relative c' { fis4 r16 a8.-> b4-\ff c }
19 \addQuote quoteMe \quoteMe
20 original = \relative c'' { c8 d s2 es8 gis8 }
23 \new Staff {
24 \set Staff.instrumentName = "quoteMe"
25 \quoteMe
27 \new Staff {
28 \set Staff.instrumentName = "orig"
29 \original
31 \new Staff \relative c'' <<
33 \set Staff.instrumentName = "orig+quote"
34 \set Staff.quotedEventTypes = #'(note-event articulation-event)
35 \original
36 { s4 \quoteDuring #"quoteMe" { s2. } }