]> git.donarmstrong.com Git - lilypond.git/blob - input/no-notation/midi-transposing.ly
2f3dbbaf4e5425b9e9e46ee5d4928380ef103dc6
[lilypond.git] / input / no-notation / midi-transposing.ly
1 #(ly:set-option 'old-relative)
2 \version "2.1.22"
3
4 \header { texidoc = "@cindex Transposing
5 The transposing property leaves output invariant, but has effect on MIDI. "
6 }
7
8 \score { 
9   \context Voice \notes\relative c {
10     % btw: this is not how transposing is done in lilypond
11         % this is a transposing performer, i.e. for midi-output only
12         \set Staff.transposing = #0 c
13         \set Staff.transposing = #2 c
14         \set Staff.transposing = #4 c
15         \set Staff.transposing = #5 c
16         \set Staff.transposing = #7 c
17         \set Staff.transposing = #9 c
18         \set Staff.transposing = #11 c
19         \set Staff.transposing = #12 c
20         
21   }
22   \paper { raggedright = ##t } 
23   \midi { }
24 }
25