Markup command name changes.
[lilypond.git] / input / new / quoting-another-voice-with-transposition.ly
blob115680d06a211496e81193b014858c1c1b493bad
1 \version "2.11.57"
2 \header {
3 lsrtags = "pitches,staff-notation"
4 texidoc = "Quotations take into account the transposition of both
5 source and target. In this example, all instruments play sounding
6 middle C; the target is an instrument in F. The target part may be
7 transposed using @code{\\transpose}. In this case, all the pitches
8 (including the quoted ones) are transposed.
10 doctitle = "Quoting another voice with transposition"
13 \addQuote clarinet {
14 \transposition bes
15 \repeat unfold 8 { d'16 d' d'8 }
18 \addQuote sax {
19 \transposition es'
20 \repeat unfold 16 { a8 }
23 quoteTest = {
24 % french horn
25 \transposition f
26 g'4
27 << \quoteDuring #"clarinet" { \skip 4 } s4^"clar." >>
28 << \quoteDuring #"sax" { \skip 4 } s4^"sax." >>
29 g'4
33 \set Staff.instrumentName = \markup \center-column { Horn \line { in F } }
34 \quoteTest
35 \transpose c' d' << \quoteTest s4_"up a tone" >>