]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly
Issue 5167/1: Reorganize markup commands to use object properties
[lilypond.git] / Documentation / snippets / changing-midi-output-to-one-channel-per-voice.ly
index fc44d16399c5b39c2b92278900f615bfbb011dd8..f817d558bbcfc17eafde645a38f5c0888948fca1 100644 (file)
@@ -1,28 +1,13 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% 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.
-\version "2.13.20"
+\version "2.18.0"
 
 \header {
-  lsrtags = "contexts-and-engravers, midi"
-
-%% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
-  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 = "contexts-and-engravers, midi, real-music"
 
   texidoc = "
 When outputting MIDI, the default behavior is for each staff to
@@ -71,10 +56,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
   }
 }
-