Hi Feri,

The string in the set statement must be prefixed by a #; so:
\set Staff.midiInstrument = #"choir aahs"
I assume (I did not try it though) this will work.

Regards,
Ruud van Silfhout

----- Original Message ----- 
From: "Ferenc Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 19, 2004 7:19 PM
Subject: cannot find Voice


> Hi!
> 
> I get
> warning: cannot find Voice: choir
> when compiling the attached file.  The output nevertheless
> seems good.  The warning disappears if I comment out the
> \set command.  Where should I put it to avoid warnings?
> 
> \version "2.2.1"
> \score {
>     <<
>         \new Staff {
>             \set Staff.midiInstrument = "choir aahs"
>             \context Voice = "choir" \notes { c' d' }
>         }
>         \lyricsto "choir" \new Lyrics \lyrics { du dumm }
>     >>
> }
> 
> Btw. '\lyricsto "choir"' and '\new Lyrics' seem to commute.
> Not a real problem, but makes building a mental model of the
> LilyPond language harder.  For me at least.  What's going on?
> -- 
> Thanks,
> Feri.
> 
> 
> _______________________________________________
> lilypond-user mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to