X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-midi-output-to-one-channel-per-voice.ly;h=2d74ec3f3f4dafde992c42d746c1f1d89748df6f;hb=2aa1d6f450a7f051aa4b0ddcaf89593f7ff23a60;hp=b9b68cb36763b20c7bec81d458cad444326da57d;hpb=70ff1f9ec002479b4b34e6e470c0e479d6060a57;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 b9b68cb367..2d74ec3f3f 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 @@ -1,12 +1,15 @@ -%% 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.4" +\version "2.12.2" \header { lsrtags = "contexts-and-engravers, midi" -%% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca +%% Translation of GIT committish: 91eeed36c877fe625d957437d22081721c8c6345 texidoces = " Al producir una salida MIDI, el comportamiento predeterminado es que cada pentagrama representa un canal MIDI, con todas las voces @@ -24,6 +27,22 @@ 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" + texidoc = " When outputting MIDI, the default behavior is for each staff to represent one MIDI channel, with all the voices on a staff amalgamated. @@ -34,7 +53,7 @@ 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 demonstrated by the following example: despite being on the same staff, two MIDI channels are created, each with a different -@code{midiInstrument}. +@code{midiInstrument}. " doctitle = "Changing MIDI output to one channel per voice" @@ -69,7 +88,7 @@ two MIDI channels are created, each with a different } \context { \Voice - \consists "Staff_performer" + \consists "Staff_performer" } \context { \Score