I was trying to optimalize my preset for roland jv2080, to make it faster, and wanted to add buffor, because i was thinking, i send too much sysex to it, and make big latency problem. But i was wrong.
I analyzed on debugger timing of notes what i send to roland, and realize it have really big latency when changing parameters. I’m using external controller as a USB host, and sending all commands thru electra one mini. I don’t use MIDI out in my controller directly to roland, to send notes, everything is send thru electra one.
I cleaned all the lua code from unnecesary loops, ui refreshing and other things, that can make any latency, everything is totally clean, and can’t make anything faster.
Notes still have enormous latency. When i play fast arpeggio, notes are playing however they want when i send sysex to change any of parameters.
That’s not problem with roland buffering, when i was using ctrlr, there was no problems like that, but then i was sending notes directly to my roland.
I was trying to add to Json “rate” function into device, but it’s not working at all i think. Whatever time i set, it seems like it’s not working.
I didn’t try with lua buffer functions, but i’m almost sure, that’s not problem in enqueue, but efficiency of the core. If that’s true, then there’s no function what will help with that, and adding more rules to output, will make it only worse. I think, the only way to solve that, is send notes directly to roland, using midi merge, but i don’t have any right now, i wanted to ask about that here, before i buy one, i wanted to make my setup simple as possible, but afraid, there’s no other options.
Anybody had problems like that before? Maybe i’m wrong, and creating lua buffor will give priority for notes or CC above the sysex, without any latency?
I’m totally disgusted.
I can record how it “works” right now, but not today, im busy for a while. Thanks for anwsers
