]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/quoting-another-voice-with-transposition.ly
Merge branch 'master' into dev/texi2html
[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.51"
4 \header {
5   lsrtags = "pitches,staff-notation"
6   texidoc = "Quotations take into account the transposition of both
7 source and target.  In this example, all instruments play sounding
8 middle C; the target is an instrument in F.  The target part may be
9 transposed using @code{\\transpose}.  In this case, all the pitches
10 (including the quoted ones) are transposed.
11 "
12   doctitle = "Quoting another voice with transposition"
13 } % begin verbatim
14
15 \addQuote clarinet {
16   \transposition bes
17   \repeat unfold 8 { d'16 d' d'8 }
18 }
19
20 \addQuote sax {
21   \transposition es'
22   \repeat unfold 16 { a8 }
23 }
24
25 quoteTest = {
26   % french horn
27   \transposition f
28   g'4
29   << \quoteDuring #"clarinet" { \skip 4 } s4^"clar." >>
30   << \quoteDuring #"sax" { \skip 4 } s4^"sax." >>
31   g'4
32 }
33
34 {
35   \set Staff.instrumentName = \markup \center-align { Horn \line { in F } }
36   \quoteTest
37   \transpose c' d' << \quoteTest s4_"up a tone" >>
38 }