[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting midiInstrument globally
From: |
Laurent Martelli |
Subject: |
Setting midiInstrument globally |
Date: |
02 Mar 2001 17:45:09 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
I am using the Staff.instrument to print exercises numbers, so I must
use midiInstrument to set the instrument to be used for midi
output. It works well if I use
\property Staff.midiInstrument = "trumpet"
in each score, but since I've got many of them I'd like to set this
globally. I tried this without any success :
\translator {
\ScoreContext
\remove "Bar_number_engraver";
midiInstrument = "trumpet";
}
\translator {
\StaffContext
midiInstrument = "trumpet";
...
}
--
Laurent Martelli
address@hidden http://www.linuxfan.com/~laurent
- Setting midiInstrument globally,
Laurent Martelli <=