lilypond-user
[Top][All Lists]

## Re: midi-instrument problem

 From: Till Rettig Subject: Re: midi-instrument problem Date: Fri, 09 Jun 2006 21:56:40 +0300 User-agent: Thunderbird 1.5.0.2 (X11/20060522)

```Thank you, that helped immedeately!

Greetings
Till

Mats Bengtsson schrieb:
```
```First of all, I would recommend you to upgrade to the latest stable
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
\context Voice =
by
\context Staff =

/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
```
```