Instrument._id or Instrument._instrumentId or _channel.program
What is the best way (from within a method in the Instrument class) to determine the instrument type that works for both tab and/or notation (or both linked together).
For example, to determine if it's a "banjo"
- if (_id == "banjo") ...
- if (_instrumentId == "pluck.banjo") ...
- if (_channel[0]->program() == 105) ...
Thanks for your help!