[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suppressing a voice in the midi output
From: |
Sandro Santilli |
Subject: |
Re: Suppressing a voice in the midi output |
Date: |
Fri, 20 Dec 2019 10:41:26 +0100 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
On Sun, Dec 15, 2019 at 12:56:22PM +0100, Karsten Reincke wrote:
> Dear friends;
>
> In the LilyPOnd tutorial I found the explanation how to assign each a voice a
> separate midi channel = instrument
>
> http://lilypond.org/doc/v2.18/Documentation/notation/creating-midi-files
>
> Unfortunately, I have to prevent one / some voice(s) from being ingrated into
> the
> midi file (because it only contains meta information which shall not be
> played).
>
> Does anyone know how I can say that voice X shall not be converted into the
> midi
> file? Or does any know how I could assign this voice 'a silent instrument'?
Would setting volume to zero be ok for your use case ? If so, try
something like the following:
\new Staff \with {
midiInstrument = "muted trumpet"
midiMinimumVolume = #0.0
midiMaximumVolume = #0.0
} {
\new Voice = "vocal" { \melody }
}
--strk;