]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly
Issue 5082/3: Add comment to build Japanese PDF documents
[lilypond.git] / Documentation / snippets / changing-midi-output-to-one-channel-per-voice.ly
index 1cd549b7423c67693d033dad8c382395f8bff0b1..f817d558bbcfc17eafde645a38f5c0888948fca1 100644 (file)
@@ -1,10 +1,10 @@
 %% DO NOT EDIT this file manually; it is automatically
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.unimi.it
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.19.2"
+\version "2.18.0"
 
 \header {
   lsrtags = "contexts-and-engravers, midi, real-music"
 
 \header {
   lsrtags = "contexts-and-engravers, midi, real-music"
@@ -13,8 +13,7 @@
 When outputting MIDI, the default behavior is for each staff to
 represent one MIDI channel, with all the voices on a staff amalgamated.
 This minimizes the risk of running out of MIDI channels, since there
 When outputting MIDI, the default behavior is for each staff to
 represent one MIDI channel, with all the voices on a staff amalgamated.
 This minimizes the risk of running out of MIDI channels, since there
-are only 16 available per MIDI port, and most devices support only one
-port.
+are only 16 available per track.
 
 However, by moving the @code{Staff_performer} to the @code{Voice}
 context, each voice on a staff can have its own MIDI channel, as is
 
 However, by moving the @code{Staff_performer} to the @code{Voice}
 context, each voice on a staff can have its own MIDI channel, as is
@@ -26,7 +25,6 @@ two MIDI channels are created, each with a different
   doctitle = "Changing MIDI output to one channel per voice"
 } % begin verbatim
 
   doctitle = "Changing MIDI output to one channel per voice"
 } % begin verbatim
 
-
 \score {
   \new Staff <<
     \new Voice \relative c''' {
 \score {
   \new Staff <<
     \new Voice \relative c''' {
@@ -36,8 +34,8 @@ two MIDI channels are created, each with a different
       \time 2/2
       r2 g-"Flute" ~
       g fis ~
       \time 2/2
       r2 g-"Flute" ~
       g fis ~
-      4 g8 fis e2 ~
-      4 d8 cis d2
+      fis4 g8 fis e2 ~
+      e4 d8 cis d2
     }
     \new Voice \relative c'' {
       \set midiInstrument = #"clarinet"
     }
     \new Voice \relative c'' {
       \set midiInstrument = #"clarinet"