Hi,
you could write:
SEQ_BUTTON_GP1
movlw 0x00
rgoto SEQ_BUTTON_GP_Cont_Trk2
;; ...
SEQ_BUTTON_GP17
movlw 0x00
rgoto SEQ_BUTTON_GP_Cont_Trk2
;; ...
SEQ_BUTTON_GP_Cont_Trk1
;; was the SEQ_BUTTON_GP_Cont before
movwf MIOS_PARAMETER1
movlw 1 << 0 ; select first track
movwf SEQ_SELECTED_TRKS, BANKED
goto SEQ_GP_Button
SEQ_BUTTON_GP_Cont_Trk2
;; for GP17..31
movwf MIOS_PARAMETER1
movlw 1 << 1 ; select second track
movwf SEQ_SELECTED_TRKS, BANKED
goto SEQ_GP_Button
SEQ_BUTTON_GP_Cont_Trk3
;; for GP32..47
movwf MIOS_PARAMETER1
movlw 1 << 2 ; select third track
movwf SEQ_SELECTED_TRKS, BANKED
goto SEQ_GP_Button
SEQ_BUTTON_GP_Cont_Trk4
;; for GP48..63
movwf MIOS_PARAMETER1
movlw 1 << 3 ; select forth track
movwf SEQ_SELECTED_TRKS, BANKED
goto SEQ_GP_Button
this requires SEQ_BUTTON_GPxx functions. I’m not sure if this is an elecant solution (for so many buttons it’s better to decode the shift registers directly), but maybe you are able to find the best solution by yourself once you got the chance to get more into programming.
I don’t understand where you “arm” a track.
what’s that , in the “seq_gp” file:
“”“”""SEQ_GP_Mode0_Button_Loop
;; check if track selected"“”“”“”“”
the reason is that you are normaly able to select multiple tracks at once in order to make changes on these tracks with a single button push. This won’t work with your plans anymore (therefore in my oppinion using only 16 buttons — but 64 LEDs of course — is the most ergonomic way).
and can multiple cores share one datawheel and some butons like layers or track select ,as i don’t care if all the cores move to the selected functions at the same time .
No, this isn’t possible, since the cores are not running totally in-sync. Means: it cannot be ensured that if one core samples a logic-1 or logic-0, the other sees this logic state at the same clock cycle. And once this happens (and it will happen several times per second), it could be that one core handles an encoder event one mS later than the other
i just want to be able to edit four tracks at the same time ,as if it was one track.(to play chords for example or record multiple CC’s) .It would be possible if each core have his own lcd ?
But you can already edit four tracks at the same time with a single MIDIbox SEQ, just select the appr. tracks with the track buttons.
I’ve an important suggestion to you: don’t think about such “problems” before you’ve built a very basic MIDIbox SEQ in order to get some impressions about the current handling. If you think that it isn’t sufficient for your needs, you can always extend the basic setup if required. And you are able to play with the code in order to get some programming experience.
Best Regards, Thorsten.