Page 1 of 1

Breakpoint expressions for executing scripts

Posted: 24 Nov 2013 15:32
by udbhav
I'm trying to use Lemur's breakpoints to send envelope information to a DX7, and right now I have the SysEx being triggered w/ two separate scripts that execute on expressions x and y respectively. I've set it up so that I'm caching values, and only send sysex when one of the values changes in an increment large enough to matter for the dx7, but that's still generating way too many messages for the keyboard.

Ideally, I'd like to only execute a script when all touch events on the breakpoint have ended, is something like that possible? Alternatively, if I had something like a timeout, I could just wait until I hadn't had a change in a few ms. Anybody have any ideas?

Thanks!

Re: Breakpoint expressions for executing scripts

Posted: 25 Nov 2013 00:01
by Softcore
Perhaps add a script, set it to execute when z drops to zero and inside that script use midiout functions?

Re: Breakpoint expressions for executing scripts

Posted: 25 Nov 2013 17:52
by udbhav
Wow, did not notice the z variable, that's exactly what I need. Thanks so much.