Jump to content

Problem with bankstick bank-switching


robin303
 Share

Recommended Posts

I've got a little problem getting the bank stick bank-switching to work on my MidiBox 64.  I have a row of 16 buttons on my box which I want to assign as bank-switch buttons.  I also have two buttons which I want to assign increment/decrement bank feature.

So I edited my configuration file like this:

# bankstick bank 1-16 buttons
    9   =  FF 02 00  @OnOff
    10  =  FF 02 01  @OnOff
    11  =  FF 02 02  @OnOff
    12  =  FF 02 03  @OnOff
    13  =  FF 02 04  @OnOff
    ..etcetera...
and
# bankstick bank +/- buttons
    47  =  FF 02 10  @OnOnly  # Save, Decrement Bank without overflow, Restore
    48  =  FF 02 12  @OnOnly  # Save, Increment Bank without overflow, Restore

When I press one of the buttons, the display shows me

Robins bank

Act. Bank: 1

But the bank does not change!  :(

When I switch banks within the midibox menu, everything works perfectly... What's wrong?

Link to comment
Share on other sites

Hi Robin,

thanks for the input - I just found an error in the mb64_sfb.inc file (the same error exists in the MIDIbox64E and MIDIbox MF application).

Quickfix: open this file, search for MB64_SFB_Handler_02 (or go directly to line 86) and change:

      ;; branch to the end if no bankstick available
      IFSET      MB_STAT, MB_STAT_USE_BANKSTICK, rgoto MB64_SFB_Handler_02_Msg
to:
      ;; branch to the end if no bankstick available
      IFCLR      MB_STAT, MB_STAT_USE_BANKSTICK, rgoto MB64_SFB_Handler_02_Msg

hope that this helps!

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...