Jump to content

adding a new button function in sid stepB?


Recommended Posts

Posted

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.

is this feature present in current version?

Posted

Hi bosone,

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 :)

Seppoman

Posted

your design is impressive, and the cabling inside is very professional! nothing to do with mine! :-)

if you can help in some way with the MIOS code i will be grateful! :-)

i "only" need an handling for going directly to a particular submenu

thanks!

  • 3 weeks later...
Posted

Hi bosone,

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 :)

Seppoman

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...
×
×
  • Create New...