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.
Setting OSC/MIDI Targets in Scripts
Re: Setting OSC/MIDI Targets in Scripts
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.
Re: Setting OSC/MIDI Targets in Scripts
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
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]