X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-midi-output-to-one-channel-per-voice.ly;h=d1fac5e770142ee07cb92fa0287a5e205b810e1a;hb=854c9519c;hp=e9aa57fc770f2389ea567955d01defa7fb37a267;hpb=8860a7700be8348848bba7972ad86ef46721c544;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 e9aa57fc77..d1fac5e770 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,18 +1,22 @@ -%% 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.20" +\version "2.14.0" \header { lsrtags = "contexts-and-engravers, midi" -%% Translation of GIT committish: e0aa246e0ed1a86dc41a99ab79bff822d3320aa7 +%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c 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 @@ -24,11 +28,28 @@ 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. 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