help: MixerDevice and DeviceParameter getting the same ID

Learn about building and using Max for Live devices.
Post Reply
DirectGumby
Posts: 50
Joined: Sun Oct 25, 2009 2:40 pm

help: MixerDevice and DeviceParameter getting the same ID

Post by DirectGumby » Mon Jan 31, 2011 4:04 am

Hello,

I have JavaScript piece of code that goes through all of the live_set and pulls out all of the items it can and send them to a remote application. Once thing I've recently run into when cleaning up the issues with the Mixer section was the fact that the sends devices have the same id's as the MixerDevice enumberated under the track.

The initial code returns this:
Note the "SO" stands for "Startup Object":

SO 10 MixerDevice "live_set return_tracks 0 mixer_device"
SO 12 MixerDevice "live_set return_tracks 0 mixer_device"
SO 12 DeviceParameter "live_set return_tracks 0 mixer_device sends 0"

Is there any way with the LiveAPI to know that the initial MixerDevice is only a sends device?
If this is possible it would allow me to rearrange my JS code so that the ID only gets sent once as the MixerDeviceParmeter sends attached to the appropriate track.

Any thoughts or help here would be appreciated.

Thanks,
Brett

Post Reply