Code: Select all
var trackBank = host.createTrackBank(8, 0, 0);
for (var i = 0; i<8; i++) {
(function(channelIndex) {
trackBank.getChannel(channelIndex).getVolume().addValueObserver(128, function(newValue) {
println('Channel ' + channelIndex + ' changed value: ' + newValue);
});
})(i);
}
By mouse, you then change the volume of Group1 (index 0 in the trackBank)
=> Expected: only the volume-observer of Channel 0 is firing
=> Actual: observers of Channel 0 and Channel 3 (!) are firing synchronously

Channel 3 is none of the 5 channels visible in the GUI, but it behaves like a clone of the Group 1 (index 0). This is not volume-specific, but applies to all channel-values like pan, sends.
I don't see the sense in channel 3. Any ideas?
Edit: I learned from lem8r that Channel 3 represents the "Group 1 Master" which becomes visible ONLY after "entering" the group (Right-click Group1 -> Enter Group). It makes no sense having it in the TrackBank outside of that view level though.
