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;