lilypond-user
[Top][All Lists]
Advanced

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

Re: viola midi instrument


From: Peter O'Doherty
Subject: Re: viola midi instrument
Date: Fri, 15 Jul 2011 15:09:36 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

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
->  address@hidden
//=============================




reply via email to

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