@xxx Combo boxes start at 1, what does your knob start at? I'm guessing 0 because you are subtracting 1 from the value on line 14 and that's giving you an undefined error - my guess is that it's trying to access the array with index -1 which is invalid.