I've used a ModalFilter where I have a !Model fader that selects between different sets of mode frequencies.
I'm using "of:" and an array of frequencies to do that. Here's a simplified version with just two models.
Using "of:" to access an array is zero-based. So if the !Model fader is 0 we should get the first element of the four arrays, eg. (1, 2, 3, 4). Which indeed we do.
If the !Model fader is 1, we should get the second set, (1, 3.997, 9.469, 15.566), shouldn't we? But I don't.
If I edit the !Model fader's range to go from 0 to 1.01, then I do get the second set, but when the fader is exactly 1.0 I still get the first set. If I edit the code and change all occurrances of "!Model" to "1" I get the second set.
What am I doing wrong? It's as if when the fader says it's 1.0 it's really a bit less.
Here's the set up of the fader: