Hi,
I wish to make an OSC mapping, but only when certain conditions within the incoming message are satisfied. The incoming messages come from Figure53's Go Button app, which uses JSON-format strings, within which is the data I want to base the mapping decision on.
Example:
A typical incoming message looks like this:
/reply/hit/2/isRunning ,s "{"address":"\/hit\/2\/isRunning","status":"ok","data":false,"show_id":"D 61934F7-64E7-4F94-A31F-BD27B0CD6E8D"}"
I want to map this to an outgoing message:
/cue/12/start
but ONLY if the "data" value in the incoming message is TRUE.
Is there a way to do this?
Many thanks,
Matt
I wish to make an OSC mapping, but only when certain conditions within the incoming message are satisfied. The incoming messages come from Figure53's Go Button app, which uses JSON-format strings, within which is the data I want to base the mapping decision on.
Example:
A typical incoming message looks like this:
/reply/hit/2/isRunning ,s "{"address":"\/hit\/2\/isRunning","status":"ok","data":false,"show_id":"D 61934F7-64E7-4F94-A31F-BD27B0CD6E8D"}"
I want to map this to an outgoing message:
/cue/12/start
but ONLY if the "data" value in the incoming message is TRUE.
Is there a way to do this?
Many thanks,
Matt
Comment