lilypond-user
[Top][All Lists]
Advanced

[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:43:32 +0100
User-agent: Mutt/1.9.4 (2018-02-28)

On Fri, Dec 20, 2019 at 10:41:26AM +0100, Sandro Santilli wrote:
> 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 }
>     }

Or simply create a different "book" for the midi, and only include
the voices you want... I often do this also because I want to
\unfoldRepeats and maybe add a \tripletFeel and most significantly
because I'm using transposed instruments which then need to be
transposed for the sake of MIDI output but not for reading...

--strk;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]