Breakpoint expressions for executing scripts

Discuss Lemur and share techniques.
Post Reply
udbhav
Newbie
Posts: 2
Joined: 24 Nov 2013 15:15

Breakpoint expressions for executing scripts

Post 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!
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Breakpoint expressions for executing scripts

Post by Softcore »

Perhaps add a script, set it to execute when z drops to zero and inside that script use midiout functions?
udbhav
Newbie
Posts: 2
Joined: 24 Nov 2013 15:15

Re: Breakpoint expressions for executing scripts

Post by udbhav »

Wow, did not notice the z variable, that's exactly what I need. Thanks so much.
Post Reply