Hi,
while working on a new panel for my MIDIbox FM I noticed that Ctrlr dramatically slows down than more often patches are received (size: 268 bytes).
To be more exact: after Ctrlr startup the GUI will be updated immediately on a received patch, after 10 received patches the GUI needs ca. 1 second to update all components, after 20 received patches more than 2 seconds, etc… after the update the GUI is fast (as usual) again.
It looks a bit like a memory leak issue, but I’m out of ideas how to debug this.
The current version can be downloaded from this link: http://www.ucapps.de/midibox_fm/midibox … _panel.zip
The MIDI receive handler is based on the Novation A Station panel from Widy – basically it stores incoming SysEx streams into the global variable "full_mem_block", and the extracted patch into "mem_block" before values will be distributed to the modulators. I guess that LUA should do the memory allocation/deallocation handling by itself, right?
Other informations which could be relevant: I’m working under MacOS 10.7, the issue happens with the standalone and AU version of r947
Best Regards, Thorsten.
P.S.: except for this issue I’m very happy with Ctrlr – I especially like the scripting capabilities, they give me exactly the flexibility that I need for my purposes! ” title=”Smile” />