lilypond-user
[Top][All Lists]
Advanced

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

Re: midi-instrument problem


From: Mats Bengtsson
Subject: Re: midi-instrument problem
Date: Fri, 09 Jun 2006 17:01:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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