]> git.donarmstrong.com Git - lilypond.git/blob - input/tolsr/parts/quote-transposition.ly
Update staging area for LSR.
[lilypond.git] / input / tolsr / parts / quote-transposition.ly
1 %preparing
2
3 \header
4 {
5
6     texidoc = "Quotations take into account the transposition of both
7 source and target.  In this example, all instruments play sounding
8 central C, the target is a instrument in F.  The target part may be
9 @code{\\transpose}d.  In this case, all the pitches (including the
10 quoted ones) will transposed as well.  "
11
12 }
13
14 \version "2.11.10"
15
16 \layout { ragged-right = ##t }
17
18
19 \addQuote clarinet  {
20     \transposition bes
21     d'16 d'16 d'8 
22     d'16 d'16 d'8 
23     d'16 d'16 d'8 
24     d'16 d'16 d'8 
25 }
26
27 \addQuote sax  {
28     \transposition es'
29     a8 a a a a a  a a 
30 }
31
32 quoteTest = {
33     \transposition f  % french horn
34     
35     g'4
36     << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> 
37     << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> 
38 }
39
40
41 << \quoteTest
42    \new Staff
43    << \transpose c' d' \quoteTest
44      s4_"up 1 tone"
45   >>
46 >>