Track Color Index
Hello!
in Reactions when you choose to use the track color index options.
is this tag and options correct?
pls check the attachment image.
thanks
It does indeed seem to be an integer.
Have you tried switching your condition to ‘custom code’ then removing the quotation marks around the number, like this:
self.song().tracks[0].color_index == “4”
Change to
self.song().tracks[0].color_index == 4
If it really is a number then the condition should work without the quotations.. I will try this too when I get a moment.
I just tested this and yes you’re correct, color index is an integer.
I will get this updated for the next release (likely to be 2.7.1).
In the meantime, you can do what I mentioned above, switch the condition to custom code and remove the quotation marks, that will treat it is an integer.
Just came across this thread.
FYI this was fixed back in 2022.
‘long’ types are now treated as integers. See Live Object Model for all long types: https://docs.cycling74.com/legacy/max8/vignettes/live_object_model
One thing to note on this topic, these have no type so are currently being treated as strings.
If anyone finds this to be wrong (which it may well be), let me know.
oscillator_1_wavetable_index
oscillator_2_wavetable_index
Sign up
User registration is currently not allowed.