From: Hiroo H. <hir...@co...> - 2005-03-13 20:34:27
|
Joachim, Joachim> Five minutes ago I thought this idea is very good. Joachim> Now I'm not shure anymore. ;) If a driver uses 'BANK_CHANGE_METHOD_LSB', for example, it is more clear and easy to be read just writing msg.setMessage(ShortMessage.CONTROL_CHANGE, getChannel() - 1, 0x20, // Bank Select (LSB) bankNum); // Bank Number (MSB) send(msg); then using your method, isn't it? This is similar to the check-sum handling. Encapsulating a simple thing may make it just complicated. -- Hiroo Hayashi |