Wrong value for playing_slot_index

Learn about building and using Max for Live devices.
Post Reply
charles_2
Posts: 24
Joined: Thu Sep 17, 2009 7:58 am

Wrong value for playing_slot_index

Post by charles_2 » Mon Oct 26, 2009 3:03 am

According to the Live Object Model Reference, a track's playing_slot_index property should return a value of -1 if no clip is playing, but in practice the actual result returned is -2. Not sure whether it's a simple documentation error or something else, since -1 doesn't appear to mean anything (ie, is not observed), but would be more consistent with the fired_slot_index, where it indicates that no slot has been fired (the null state). Did have me wondering why my live.observer object wasn't turning off my step sequencer when I stopped a clip.
http://www.authenticfilms.com

Config: MBP 2.4 GHz Intel Core 2 Duo
2 GB RAM, Nvidia 8600M GT, OS 10.5.6
Live 8.1b6, Max4Live 5.1.0a1 (40387)

Post Reply