Hi Jean,

> I totally agree that the \instrumentSwitch and \addInstrumentDefinition
> functions are useless. Just use variables. (Contrary to what its
> name suggests, \instrumentSwitch isn't directly related to
> Instrument_switch_engraver.)

Please take a look at 
https://github.com/openlilylib/snippets/tree/master/editorial-tools/auto-transpose
 and how \addInstrumentDefinition is incorporated there. Would you say 
variables are still better in that use case?

Thanks,
Kieren.

Reply via email to