]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/quoting-another-voice-with-transposition.ly
Merge branch 'lilypond/translation' of ssh://trettig@git.sv.gnu.org/srv/git/lilypond...
[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.38"
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 (including the
10 quoted ones) are transposed."
11   doctitle = "Quoting another voice with transposition"
12 } % begin verbatim
13
14 \addQuote clarinet {
15   \transposition bes
16   \repeat unfold 8 { d'16 d'16 d'8 }
17 }
18
19 \addQuote sax {
20   \transposition es'
21   \repeat unfold 16 { a8 }
22 }
23
24 quoteTest = {
25   % french horn
26   \transposition f
27   g'4
28   << \quoteDuring #"clarinet" { \skip 4 } s4^"clar." >>
29   << \quoteDuring #"sax" { \skip 4 } s4^"sax." >>
30   g'4
31 }
32
33 {
34   \set Staff.instrumentName = \markup \center-align { "Horn" "in F" }
35   \quoteTest
36   \transpose c' d' << \quoteTest s4_"up a tone" >>
37 }