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 -chordname- staff


From: Jeff Elliott
Subject: Re: MIDI (how to) mute only one -chordname- staff
Date: Sun, 14 Oct 2007 21:09:18 -0400

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


--
Jeff Elliott, Mastering Engineer
33 Britain St. Toronto
ph: 416-797-7393






reply via email to

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