lilypond-user
[Top][All Lists]
Advanced

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

Re: Silencing a chordlist midi channel


From: Kevin Nowaczyk
Subject: Re: Silencing a chordlist midi channel
Date: Sun, 21 Aug 2011 05:36:43 -0700 (PDT)

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 <address@hidden>
To: Beakerboy <address@hidden>; "address@hidden" <address@hidden>
Sent: Saturday, August 20, 2011 3:37 PM
Subject: Re: Silencing a chordlist midi channel




On 8/19/11 8:14 AM, "Beakerboy" <address@hidden> 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




reply via email to

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