lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set midiInstrument to silence


From: Guy Stalnaker
Subject: Re: Set midiInstrument to silence
Date: Thu, 25 Nov 2021 11:21:03 -0600

Doh!!

Of course. Obvious once you see it (or are told about it). I was keyed on using a NUL instrument & I didn't think to use a simple volume=0 approach.

Thanks.

On Thu, Nov 25, 2021, 10:54 AM David Kastrup <dak@gnu.org> wrote:
Guy Stalnaker <jimmyg521@gmail.com> writes:

> If I'm using /set Staff.midiInstrument = "#<inst>", can I also use some
> descriptor that equals NO sound, for example, "NUL" or something similar
> like /set Staff.midiInstrument = "#NUL"

The MIDI standard has no such instrument, so this mechanism cannot be
used for this purpose.  You can set skipTypesetting to ##t but that will
also omit the skipped times.  Maybe setting Staff.midiExpression to 0
might work?

--
David Kastrup

reply via email to

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