lilypond-user
[Top][All Lists]
Advanced

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

Re: MIDI (how to) mute only one staff


From: Martial
Subject: Re: MIDI (how to) mute only one staff
Date: Sat, 13 Oct 2007 09:51:12 +0200
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)

Hi,

Maybe is it a best simple way
but :

Two score
One with only layout {}
the second with only midi {}


%%---------------------------------
%Dynamics are need

Mute = { d''\f a' f' b' }

Sound = { c'\f e' g' c' }

%STAFF
\score {
        <<
        \Mute \\ \Sound
        >>
\layout { ragged-right = ##t }  
}

%MIDI
\score {
        <<

\new Staff { \set Staff.midiMaximumVolume = #0.0
\set Staff.midiMinimumVolume = #0.0  \Mute }

\new Staff { \set Staff.midiMaximumVolume = #1.0
\set Staff.midiMinimumVolume = #1.0 \Sound }
        >>
\midi { }
%%\layout { ragged-right = ##t }        
}
%%----------------------------------------

I have a staff (chords in a lead sheet) that I would like to mute in the
MIDI file.
Is there a way to disable the MIDI for that staff, or set the MIDI volume to
zero, or set the instrument to none?






reply via email to

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