abadam
Developer
Rotten Apple
Posts: 61
|
Post by abadam on Mar 2, 2024 22:23:21 GMT
No idea how they work internally, but could be. Try injecting them back in with a different midi channel then remap back
If m0 == b0 Send bf m1 m2 +I block End
If m0 == bf Ass m0 = b0 End
Rest of your code now
|
|
|
Post by normen on Mar 4, 2024 17:28:08 GMT
No idea how they work internally, but could be. Try injecting them back in with a different midi channel then remap back If m0 == b0 Send bf m1 m2 +I block End If m0 == bf Ass m0 = b0 End Rest of your code now Nice one, thanks. That works, I put the above code in a separate Stream Byter and it indeed assigns new (proper) time stamps to the messages. I guess the BLE devices reporting wrong timings should go into some bug tracker or something though.
|
|
|
Post by redheronmusic on Mar 14, 2024 12:21:52 GMT
Not sure if you ever got this working from following the thread, but try this mod.
IF LOAD ALIAS $96 BUTTON_DOWN ALIAS $97 BUTTON_UP ALIAS $98 BUTTON_DOWN_LONG ALIAS $99 BUTTON_UP_LONG ALIAS $00 STATE_OFF ALIAS $127 STATE_ON ALIAS $1000 TIMEOUT END
IF M1 == BUTTON_DOWN IF M2 == STATE_ON ASS P0 = T0 # Reset timer to zero ELSE Ass P0 = T0 # Read timer (and reset) IF P0 > TIMEOUT SND M0 BUTTON_DOWN_LONG STATE_ON ELSE SND M0 BUTTON_DOWN STATE_ON END END END
IF M1 == BUTTON_UP IF M2 == STATE_ON ASS P1 = T1 # Reset timer ELSE ASS P1 = T1 # Read timer (and reset) IF P1 > TIMEOUT SND M0 BUTTON_UP_LONG STATE_ON ELSE SND M0 BUTTON_UP STATE_ON END END END
SET LB0 P0 +D SET LB1 P1 +D
BLOCK
|
|
|
Post by normen on Mar 21, 2024 11:01:59 GMT
Actually the trick from abadam works, when using the above code the MIDI notes have proper timing again. Seems like when the data is coming directly from BLE devices the time tags get messed up (bad hardware MIDI timing?).
|
|