now that i’m pretty sure that my sid will work in a few days, i wonder if there is a way to add an extra button to the control surface (step B) in order to have a “shortcut” to the “save preset” function of the menu…
the problem, of course, would not be to add a button, since even in step B there is some free digital input, but to make a “meta event” in mios code like the one in the sequencer.
this should be no problem, especially when its “only” a Step B surface. Perhaps you´ve seen my “Der Brat” at MB of the week. There I simply reused handlers for other CS buttons that were not needed by me and set a “deroute” to the various menu pages. Now I´ve got no time but I´ll look up the necessary changes later today
sorry again for the long delay - here are the required modifications:
you need to change cs_menu_buttons.inc - here´s a part of my routine:
[...]
CS_MENU_BUTTON_M_E2
;; change to SAV menu
movlw CS_MENU_SAV
rcall CS_MENU_BUTTON_Hlp_MenuChange
goto CS_MENU_BUTTON_MenuChange_End
;CS_MENU_BUTTON_M_L1
; ;; change to MAIN page
; goto CS_MENU_EXEC_GoToMain
CS_MENU_BUTTON_MenuChange_End
;; set page offset and cursor pos
movlw 0x00
movwf CS_MENU_PAGE_OFFSET
movwf CS_MENU_CURSOR_POS
bsf CS_STAT, CS_STAT_MODIFY_PARAMETER
; clrf CS_MENU_SELECTED_OSC_CTRL ; OSC_CTRL and ENV_CTRL are used for the Performance mode of the Brat
; clrf CS_MENU_SELECTED_ENV_CTRL ; Preformance mode is cleared when a menu function is selected
; rcall CS_MENU_LED_Update ; necessary to indicate end of performance mode
goto CS_MENU_EXEC_Hlp_ChangeMenu ; deselect parameter
[...]
As you only need one new button, you can leave out the commented lines and put the MenuChange_End routine directly to the selected button routine, e.g.
CS_MENU_BUTTON_M_E2
;; change to SAV menu
movlw CS_MENU_SAV
rcall CS_MENU_BUTTON_Hlp_MenuChange
;; set page offset and cursor pos
movlw 0x00
movwf CS_MENU_PAGE_OFFSET
movwf CS_MENU_CURSOR_POS
bsf CS_STAT, CS_STAT_MODIFY_PARAMETER
goto CS_MENU_EXEC_Hlp_ChangeMenu ; deselect parameter
[...]
You can use any other button that is not needed by you. the Mod-Matrix buttons will surely not be used in a StebB interface.
I hope I didn´t forget any other necessary change - it´s already a few months since I modified the software. Just try it out and tell me if it works