X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-midi-output-to-one-channel-per-voice.ly;h=f817d558bbcfc17eafde645a38f5c0888948fca1;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=07156528ad09a3cdcc7ce23bf6c49a770bd6f47f;hpb=6844bdc15fe3592ad5316154c1a6d0252be21e4f;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 07156528ad..f817d558bb 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,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.31" +\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 } } -