]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly
New version of LSR upgrade
[lilypond.git] / Documentation / snippets / changing-midi-output-to-one-channel-per-voice.ly
index 2d74ec3f3f4dafde992c42d746c1f1d89748df6f..04f4e9bc36ce343c4bae8c2508508f25d79d146e 100644 (file)
@@ -4,18 +4,19 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.12.2"
+\version "2.15.32"
 
 \header {
-  lsrtags = "contexts-and-engravers, midi"
+  lsrtags = "real-music, contexts-and-engravers, midi"
 
-%% Translation of GIT committish: 91eeed36c877fe625d957437d22081721c8c6345
+%% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
   texidoces = "
-Al producir una salida MIDI, el comportamiento predeterminado es
-que cada pentagrama representa un canal MIDI, con todas las voces
-de dicho pentagrama mezcladas.  Esto reduce al mínimo el riesgo de
-que se agote el número de canales MIDI disponibles, pues existe un
-máximo de 16 canales por pista.
+Al producir una salida MIDI, el comportamiento predeterminado es que
+cada pentagrama representa un canal MIDI, con todas las voces de dicho
+pentagrama mezcladas.  Esto reduce al mínimo el riesgo de que se agote
+el número de canales MIDI disponibles, pues existe un máximo de 16
+canales por cada puerto MIDI, y la mayoría de los dispositivos sólo
+tiene un puerto.
 
 Sin embargo, cuando se traslada el interpretador
 @code{Staff_performer} al contexto @code{Voice}, cada voz de un
@@ -47,7 +48,8 @@ deux canaux MIDI différents, chacun étant affecté de son propre
 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 track.
+are only 16 available per MIDI port, and most devices support only one
+port.
 
 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
@@ -59,6 +61,7 @@ two MIDI channels are created, each with a different
   doctitle = "Changing MIDI output to one channel per voice"
 } % begin verbatim
 
+
 \score {
   \new Staff <<
     \new Voice \relative c''' {
@@ -90,10 +93,7 @@ two MIDI channels are created, each with a different
       \Voice
       \consists "Staff_performer"
     }
-    \context {
-      \Score
-      tempoWholesPerMinute = #(ly:make-moment 72 2)
-    }
+    \tempo 2 = 72
   }
 }