I guess that might be the only way. The other suggestion doesn't quite work
either. The way I have it entered still plays the chord and also the PDF is not
right. The clef usually isn't printed, but when I surround the volume setting
with curly brackets, it's printed. Am I placing the Volume settings in an
incorrect manner?
changing:
% ly snippet:
organmusic= {
\key g \minor
g'8 d'8 g'8 d'8 g'8 d'8 g'8 d'8
}
chordlist = \chordmode {
g1:m\p
}
\version "2.12.3"
\header
{
title = "Steven Smith"
subtitle = "As Recorded by The Organ"
subsubtitle = "From the album grab That Gun/Mint Records"
}
\score
{
\new StaffGroup <<
\new ChordNames
\chordlist
\new Staff {
\set Staff.midiInstrument = #"rock organ"
\clef "G_8" \organmusic
}
>>
\layout{}
\midi {
\context {
\Score tempoWholesPerMinute = #(ly:make-moment 132 4)
}
}
}
% end ly snippet
to:
\new ChordNames {
\set Staff.midiMinimumVolume = #0.0
\set Staff.midiMaximumVolume = #0.0
\chordlist
}
________________________________
From: Carl Sorensen <c_soren...@byu.edu>
To: Beakerboy <beakerbo...@yahoo.com>; "lilypond-user@gnu.org"
<lilypond-user@gnu.org>
Sent: Saturday, August 20, 2011 3:37 PM
Subject: Re: Silencing a chordlist midi channel
On 8/19/11 8:14 AM, "Beakerboy" <beakerbo...@yahoo.com> wrote:
>
>
> I'm making a staff group with a line saying:
> \new Chordnames \chordlist
>
> and later I call \midi{}
>
> the midi file will play the chords with a grand piano voice, but I want it
> to be silent.
> I'm using lilypond 2.12.3
I recommend that you create two different score blocks -- one that includes
the ChordNames context, and one that does not. Use a \layout{} in the score
that includes ChordNames, and \midi{} in the score that does not include
ChordNames.
HTH,
Carl
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user