midimonster icon indicating copy to clipboard operation
midimonster copied to clipboard

maweb lag

Open rikberkelder opened this issue 2 years ago • 3 comments

I'm trying to use midimonster on windows to convert midi (winmidi) into MA2 (maweb). This works great for buttons, but I run into issues with faders. When i move a fader, it seems like the system is getting overloaded somewhere, as the value in the software changes slower in MA than the fader moves. this is somewhat noticable with one fader, but when multiple faders are being moved at the same time it gets excruciatingly slow. My PC CPU usage doesn't touch 20% during use so it's not a hardware issue it seems.

One proposed solution would be to have the ability to "rate limit" midi input or maweb output to make sure only a certain amount of messages are being sent into MA2 per second.

rikberkelder avatar Jul 15 '21 16:07 rikberkelder

Hi @rikberkelder, thanks for your report!

There are some performance critical paths in the maweb backend, I'll try to profile this some more to get some data on what best to optimize.

Will update here, but it may take some time.

cbdevnet avatar Jul 15 '21 17:07 cbdevnet

Would it be possible to add some kind of all-round stop-gap for the time being, or do you have any suggestions outside of midimonster to get around this for now? This is preventing me from using it on shows, so i'm stuck on Onyx via OSC for now. even having something like the existing "rate" but for input instead of output would be great to have already

rikberkelder avatar Jul 15 '21 17:07 rikberkelder

Sorry, I currently can't recommend a setting/quickfix. Hopefully I'll have some time over the weekend to check into this.

cbdevnet avatar Jul 16 '21 16:07 cbdevnet