Just a little question: I want to have an observer which observes the number of devices in the currently selected track. I need this for a) detecting whether devices have been added to/removed from the track and b) to see whether the track device chain is empty.
Not so important but the cursor track is created inside the init() function like this:
Code: Select all
cursorTrack = host.createArrangerCursorTrack(0,0);Code: Select all
cursorTrack.createDeviceBank(1).addDeviceCountObserver(function(on){
cursorTrackDeviceCount = on; //write the new value to variable cursorTrackDeviceCount
})Cheers,
u-u-u
