Troubleshooting
Setting OSC/MIDI Targets in Scripts
Started by brianc on .
Sign in or create an account to join the conversation.
Is it possible to set an object's OSC/MIDI targets from scripts? I have an OnMIDI script that I'd like to be able to listen for messages on a configurable MIDI target.
I know I can have scripts do the message sending on whichever targets I choose, but I'd like to actually change the objects.
I know I can have scripts do the message sending on whichever targets I choose, but I'd like to actually change the objects.
I think the targets specified for the objects cannot be set via scripting.
You can however either set custom midi outs or scripted "ctlout" - you can set the target one these via scripts OR you can just use scripts to enable-disable (show, hide) different objects with different targets pre-defined.
You can however either set custom midi outs or scripted "ctlout" - you can set the target one these via scripts OR you can just use scripts to enable-disable (show, hide) different objects with different targets pre-defined.
Hi
Unfortunately changing the Targets there is simply not possible . .
I suppose you could set up 'listeners' on every Target that would then call your function with appropriate arguments.
Thats the only way I can think of off the top of my head
Cheers
MM
Unfortunately changing the Targets there is simply not possible . .
I suppose you could set up 'listeners' on every Target that would then call your function with appropriate arguments.
Thats the only way I can think of off the top of my head
Cheers
MM