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