On 2020-02-20 10:28 am, Lee Zipin wrote:
But I can't find a Scheme way to run MIDI, like

#(if (defined? 'includeMIDI) (midi (tempo 4=150))) ; clearly BAD CODE

How to write that line? - to work properly in a \score block.

%%%%
\version "2.19.84"

includeMIDI = ##t

\score {
  { b'4 }
  \layout {}
  #(if (and (defined? 'includeMIDI) includeMIDI)
    #{ \midi { \tempo 4 = 150 } #} )
}
%%%%


-- Aaron Hill

Reply via email to