]> git.donarmstrong.com Git - lilypond.git/blob - input/new/quoting-another-voice-with-transposition.ly
Removed a number of engravers from the definition DrumVoice
[lilypond.git] / input / new / quoting-another-voice-with-transposition.ly
1 \version "2.11.10"
2 \header {
3   doctitle = "Quoting another voice with transposition"
4   lsrtags = "pitches,staff-notation"
5   texidoc = "Quotations take into account the transposition of both
6 source and target.  In this example, all instruments play sounding
7 central C, the target is a instrument in F.  The target part may be
8 @code{\\transpose}d.  In this case, all the pitches (including the
9 quoted ones) will transposed as well."
10 }
11
12 \addQuote clarinet  {
13     \transposition bes
14     d'16 d'16 d'8 
15     d'16 d'16 d'8 
16     d'16 d'16 d'8 
17     d'16 d'16 d'8 
18 }
19
20 \addQuote sax  {
21     \transposition es'
22     a8 a a a a a  a a 
23 }
24
25 quoteTest = {
26     \transposition f  % french horn
27     
28     g'4
29     << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> 
30     << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> 
31 }
32
33 << \quoteTest
34    \new Staff
35    << \transpose c' d' \quoteTest
36      s4_"up 1 tone"
37   >>
38 >>