I give users the ability to shift the playable range of an instrument by x octaves by adding x*12 in change_note. It works great, problem is, when the oct shift is high enough the change_note calc begins yielding <0 results and that causes Kontakt to display the error—despite the instrument playing back correctly. (Playing within the "new" range works fine; the error comes in when notes are struck in the lower register—where the active notes "used" to be.)
Tried two approaches to fixing this: play only notes that would fall within the range *with* the octave shift added OR don't play notes that *do not* fall where the octave shift would have modified it. In both cases it creates odd playback issues, effectively breaking what was working.
I'm wary of trying to code something complicated to get around a little error message...it's more of an annoyance.