X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-midi-output-to-one-channel-per-voice.ly;h=84ccf8471ace09233435990cde3636c4afba734d;hb=622a82a4781f295ba3831aaba88cb7bd7e3b1f84;hp=74147ae8c6a8939362c6300e88e956f6bb364efe;hpb=f66e6785e42f181199f6cf357434f60baba1e149;p=lilypond.git diff --git a/Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly b/Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly index 74147ae8c6..84ccf8471a 100644 --- a/Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly +++ b/Documentation/snippets/changing-midi-output-to-one-channel-per-voice.ly @@ -4,45 +4,10 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.15.32" +\version "2.17.27" \header { - lsrtags = "contexts-and-engravers, midi" - -%% 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 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 -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" - -%% Translation of GIT committish: d7cf09411ee80eaf0092af0aa532de64c0c6248e - texidocfr = " -Lorsque LilyPond génère un fichier MIDI, chaque portée sera par défaut -affectée à un canal, quel que soit le nombre de voix qu'elle contient. -Ceci permet d'éviter de se retrouver à court de canaux, sachant qu'il -n'y en a que seize de disponibles. - -Le fait de déplacer le @code{Staff_performer} dans le contexte -@code{Voice} permet d'affecter à chaque voix d'une même portée un canal -MIDI spécifique. Dans l'exemple suivant, la même portée donnera lieu à -deux canaux MIDI différents, chacun étant affecté de son propre -@code{midiInstrument}. - -" - doctitlefr = "Affectation d'un canal MIDI par voix" + lsrtags = "contexts-and-engravers, midi, real-music" texidoc = " When outputting MIDI, the default behavior is for each staff to @@ -61,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''' { @@ -95,4 +61,3 @@ two MIDI channels are created, each with a different \tempo 2 = 72 } } -