Sorry, for the noise. The problem isn't LP but timidity. Apparently, it doesn't have a viola option.
Peter

On 07/15/2011 02:56 PM, Peter O'Doherty wrote:
Hi list,

Although it is listed here
http://kainhofer.com/~lilypond/Documentation/notation/midi-instruments.html

I'm not hearing the viola part when I use the code below to produce a midi file. Am I missing something?

Many thanks,
Peter


\version "2.13.16"
\include "english.ly"

violinI = { c' }

violinII = { g' }

viola = { \clef alto e }

cello = { \clef bass c }

violinIPart = \new Staff \with {
  instrumentName = "Violin I"
  midiInstrument = "violin"
} \violinI

violinIIPart = \new Staff \with {
  instrumentName = "Violin II"
  midiInstrument = "violin"
} \violinII

violaPart = \new Staff \with {
  instrumentName = "Viola"
  midiInstrument = "viola"
} \viola

celloPart = \new Staff \with {
  instrumentName = "Cello"
  midiInstrument = "cello"
} \cello

\score {
<<
    \violinIPart
    \violinIIPart
    \violaPart
    \celloPart
>>
  \layout { }
  \midi { }
}




--
//=============================
->  Peter O'Doherty
->  http://www.peterodoherty.net
->  m...@peterodoherty.net
//=============================


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to