Jump to content

dual command from one fader


Recommended Posts

Just wondering if anyone can help.


Thorstens away and a little busy at the moment so i am trying to figure things out but not getting far as i have never had to or tried to assign a dual command to one controller in mb64e before and change the resolution.


I need to have an MSB command sent followed by an LSB command straight after when a fader is pushed, this is for my DAW software and allows a finer fader control.


the message sent is:



    0xb0, 0x00, vv                    fader value, MSB
    0xb0, 0x20, vv                    fader value, LSB
So my assembly on anything other than sysex commands is really bad so i started with this:

    ; This is a 10bit fader command for daw fader control


    ; B0 (Chan 1 Control/Mode Change)

    ; 00 (Bank select MSB)

    ; 00 (This is the Hex value from 00-7f = 0-127)

    ; 00 (This never changes)


    ; The second command is the LSB command


    ; B0 (Chan 1 Control/Mode Change)

    ; 20 (LSB For Control 0 (Bank Select))

    ; 00 (This value increments in tens 00 to 70 then repeats this value = 0-127)

    ; 00 (This never changes)



    ; MSB command 

    movlw   0xB0

    call    MIOS_MIDI_TxBufferPut

    movlw   0x00

    call    MIOS_MIDI_TxBufferPut



    ; LSB command


    movlw   0xB0

    call    MIOS_MIDI_TxBufferPut

    movlw   0x20

    call    MIOS_MIDI_TxBufferPut


Then after the call is the requirement for the MSB/LSB increment and decrement function when the fader is moved +/-

However i don't understand how i would implement the command for that so i become stuck.


The other issue for me is this needs to be at 10bit resolution so i don't know where i would change that for the mb64e.


Any nudge in the right direction would be appreciated, i want to figure how it would be done.



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.

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.


  • Create New...