]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / changing-midi-output-to-one-channel-per-voice.ly
index 8949b825b4213bb3739980705a9b405269359706..0f0af71b5c59ea1c3ed654b2a551f4279b78fa5f 100644 (file)
@@ -1,34 +1,20 @@
-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
 %% generated from LSR http://lsr.dsi.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.
-\version "2.13.39"
+\version "2.15.40"
 
 \header {
-  lsrtags = "contexts-and-engravers, midi"
-
-%% Translation of GIT committish: 5160eccb26cee0bfd802d844233e4a8d795a1e94
-  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.
-
-Sin embargo, cuando se traslada el interpretador
-@code{Staff_performer} al contexto @code{Voice}, cada voz de un
-pentagrama puede tener su propio canal MIDI, como se muestra en el
-siguiente ejemplo: a pesar de estar sobre el mismo pentagrama, se
-crean dos canales MIDI, cada uno con un @code{midiInstrument}
-distinto.
-
-"
-  doctitlees = "Modificar la salida MIDI para que tenga un canal por cada voz"
+  lsrtags = "real-music, midi, contexts-and-engravers"
 
   texidoc = "
 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
@@ -40,6 +26,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''' {
@@ -71,10 +58,6 @@ two MIDI channels are created, each with a different
       \Voice
       \consists "Staff_performer"
     }
-    \context {
-      \Score
-      tempoWholesPerMinute = #(ly:make-moment 72 2)
-    }
+    \tempo 2 = 72
   }
 }
-