First of all, I would recommend you to upgrade to the latest stable
version, 2.8. There are installation packages available for download
at www.lilypond.org for almost all operating systems.

I just tried your example with version 2.8 and it seems to work fine.

Possibly, it might help to explicitly instantiate the Staff contexts in
your \score, i.e. to replace
\context Voice =
by
\context Staff =
in your example.


  /Mats

Till Rettig wrote:

Hello,

does somebody have any idea, why I get only drum set as a midi instrument for the following score:

\version "2.6.3"
\include "deutsch.ly"

alt = {\relative c''
{
\time 4/4
\set Staff.midiInstrument = "choir aahs"
%\key g \minor
\clef "treble"
a2 c e1 d4 c h a
}}
tenor = {
\time 4/4
\set Staff.midiInstrument = "choir aahs"
%\key g  \minor
   % main
   \clef "treble_8"
e2 c a1 h4 c d e
}

\score{
\context StaffGroup = choirStaff <<
\context Voice = alt << \alt>>
\context Voice = tenor <<  \tenor >>
>>
\midi {\tempo 4=60 }
\layout {
}
}

It doesn't happen, when I don't make this predefinition of the voices but insert one after the other into the \score directly via \new Staff -command. But I actually would like to keep this definition as it makes files much clearer.

Thank you

Till Rettig


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


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



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

Reply via email to