lilypond-user
[Top][All Lists]
Advanced

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

Re: Suppressing chords in MIDI output


From: Peter Chubb
Subject: Re: Suppressing chords in MIDI output
Date: Wed, 22 Sep 2010 15:41:55 +1000
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/23.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

>>>>> "Christopher" == Christopher Meredith <address@hidden> writes:

Christopher> I use chordmode to print the chords above the piano
Christopher> music, but when rendering the MIDI file, I would prefer
Christopher> the chords to not be played.  Is there a way to have only
Christopher> the voices (and not the chords) output to MIDI?

It's generally best to have a separate score block for MIDI output, so
you can unroll repeats and so on --- just leave the chords out of
that score.

accomp=\chords {c4 f g2:7}
tune=\relative c'' { c4 c b a}
\score {
       <<
       \context Chords \accomp
       \context Staff {\key c \major \time 4/4 \tune}
       >>
       \layout{}
}
\score  {
       \unfoldRepeats <<
           \context Staff {\key c \major \time 4/4 \tune}
       >>
       \midi {}
}

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia



reply via email to

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