[Top][All Lists]

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

Staff.instrument vs. .midiInstrument

From: Graham Percival
Subject: Staff.instrument vs. .midiInstrument
Date: Sun, 21 Sep 2003 02:05:50 -0700

(for those with some formal logic training.  I'm not certain if the joke
will translate, though)
Is this a Well-Formed File?

\score {
   \context Staff=sop {
      \property Staff.instrument="soprano"
      \notes{ a4 a b c'}

It produces a warning that it can't find instrument "soprano" (this
is Ricardo Kirkner's question that appeared on -user a few days
ago).  Since he didn't define Staff.midiInstrument, LilyPond took
the value for Staff.instrument and naturally couldn't find a
midi soprano instrument.

Should I update the docs to warn users that if they use Staff.instrument
they should set Staff.midiInstrument as well (if only to set it to
the default piano sound), or do you want to change the way LilyPond
treats .midiInstrument and .instrument?

- Graham

reply via email to

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