Well, I tried… not working, but at least I tried for a long time! LOL All I’m trying to do is delay whatever CC message is coming in on a midi-in block called DCC. Here is what I tried:
On ControlChangeEvent(m : ControlChangeMessage) from DCC
SendLater(DCC, m, 100)
What I’m trying to do is… When I am switching variations in GP, a script is sending CC messages to change scenes (variations) in BiasFX 2. for that I am using CC11-14. The CC messages that I want delayed, are effects on/off toggles within those scenes in BiasFx. Those CC’s are being sent by widgets, set to a virtual midi in block connected to BiasFx. Problem is that the widgets’ CC’s always get sent first, then the scene change CC gets sent last. Of course, since those effects parameters are not saved in the Bias scenes themselves, the effects do not get turned on/off b/c it is overridden by the scene selection command (the last CC message being sent), which loads the saved version of the scene. So I need to send the scene selection CC first, THEN the CC’s sent by widgets for the effects.
Ideally, it would “catch” the CC’s the widgets are sending and delay them from being sent at all, until the set delayed time. Of course it can only catch it AFTER it was sent already (otherwise it wouldn’t even know the event happened) so I’m not sure if that’s even possible? How does the sendLater work? The CC gets sent, the script sees that it was sent and it send it again by the delay time? Or is it able to block it from being executed even first time and only send it once after the delay?
Thanks for your help!