Hi Martial,

Thanks for tip. But ....

Yes your method does work well for a normal "Staff", but I can't seem to get it to work with
a "ChordNames" staff.  I can't seem to apply Dynamics to a chord name(?)

Any ideas? Is there a way to turn dynamics on for ChordNames ... so that I can turn them off?

Thanks for you help,
Jeff.

On 13-Oct-07, at 3:51 AM, Martial wrote:

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?




_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
Jeff Elliott, Mastering Engineer
33 Britain St. Toronto
ph: 416-797-7393
email: [EMAIL PROTECTED]
website: http://www.fedge.ca





_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to