Hello,
I just noticed a peculiar error in my configuration, that is based on the way that I switch banks while running the application.
On my hardware controller I have two designated buttons, whose purpose it is to increase or decrease the bank number respectively. Basically it works as desired, the bank numbers get changed accordingly. But when I use these buttons multiple times, especially in succession to another, I noticed that my MIDI controller “resets”. It return to its startup screen, but keeps continuing to react to my bank selections. This seems like an overload of some kind.
Because I did not notice any curious in the MIOS terminal I decided to take a look at it in MIDI OX. There I saw, that after triggering one of the bank switches a loop starts which repeats a bank selection command over and over again. As if the triggering by my hardware controller does not get stopped after adjusting the bank number. The peculiar thing about it is that the value for the bank selection is 0x76, which is 118 in decimal format. That does not make any sense to me, unless it is some kind of error code, which I do not know about.
Here is a picture of the log:
the 0x02 values is te bank number value set by me triggering the respective button, the 0x76 lines just keep goin on and on after that.
i was also wondering about the SysEx message, but I think it might be one of the logs (“bank == 2”) that I set up in the ngr script to be printed after bank switching.
The relevant ngc code for this is:
#Bank Selectors EVENT\_RECEIVER id=4042 fwd\_id=SENDER:4042 type=NoteOn key=0x0a chn=1 range=0:1 EVENT\_SENDER id=4042 if\_equal\_stop\_on\_match=RECEIVER:4042:1 type=Meta meta=IncBank meta=RunSection:2 EVENT\_RECEIVER id=4043 fwd\_id=SENDER:4043 type=NoteOn key=0x09 chn=1 range=0:1 EVENT\_SENDER id=4043 if\_equal\_stop\_on\_match=RECEIVER:4043:1 type=Meta key=0x09 chn=1 meta=DecBank meta=RunSection:2
The ngr code for that section:
if ^section == 2 log "section 2" if ^bank == 1 log "Sec 2 Bank 1" send SysEx OUT2 0xf0 0x42 0x30 0x24 0x41 0 0 0x00 0xf7 elsif ^bank == 2 log "Sec 2 Bank 2" send SysEx OUT2 0xf0 0x42 0x30 0x24 0x41 0 1 0x00 0xf7 elsif ^bank == 3 log "Sec 2 Bank 3" send SysEx OUT2 0xf0 0x42 0x30 0x24 0x41 0 2 0x00 0xf7 elsif ^bank == 4 log "Sec 2 Bank 4" send SysEx OUT2 0xf0 0x42 0x30 0x24 0x41 0 3 0x00 0xf7 elsif ^bank == 5 log "Sec 2 Bank 5" send SysEx OUT2 0xf0 0x42 0x30 0x24 0x41 0 4 0x00 0xf7 endif exec\_meta RunSection:1 endif
Does this seem familiar to anyone? Any reply much appreciated here!
Best,
Micha
