]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/quote-transposition.ly
Merge branch 'master' of git+ssh://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / input / regression / quote-transposition.ly
1
2 \header
3 {
4
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
13 \version "2.11.10"
14
15 \layout { ragged-right = ##t }
16
17
18 \addQuote clarinet  {
19     \transposition bes
20     d'16 d'16 d'8 
21     d'16 d'16 d'8 
22     d'16 d'16 d'8 
23     d'16 d'16 d'8 
24 }
25
26 \addQuote sax  {
27     \transposition es'
28     a8 a a a a a  a a 
29 }
30
31 quoteTest = {
32     \transposition f  % french horn
33     
34     g'4
35     << \quoteDuring #"clarinet" { \skip 4 } s4^"clar" >> 
36     << \quoteDuring #"sax" { \skip 4 } s4^"sax" >> 
37 }
38
39
40 << \quoteTest
41    \new Staff
42    << \transpose c' d' \quoteTest
43      s4_"up 1 tone"
44   >>
45 >>