Code: Select all
autowatch = 1;
var firstTrackMixer = new LiveAPI(this.patcher, null, ["live_set","tracks",0,"mixer_device"]);
post("FTM " + firstTrackMixer.children + "\n");
var volume = firstTrackMixer.get("volume");
post("Volume " + volume + "\n");
post("VolumeType " + volume.type + "\n");
post("VolumeInfo " + volume.info + "\n");
for(var i in volume) {
post(i + " : " + volume[i] + "\n");
}
Code: Select all
js: FTM canonical_parent,panning,sends,volume
js: Volume id,1
js: VolumeType undefined
js: VolumeInfo undefined
js: 0 : id
js: 1 : 1
Which looks like im getting back an array containing [id,1].
Shouldnt it return the actual DeviceParameter object?