Thanks Bob. When you posted the link the script wasn't completely finished. Now the script has been updated to be more generally applicable and useful. Now one can control articulation with an arbitrary MIDI CC, and it's possible configure the key switch range to make it possible to use manual key switching with any instrument. It's also possible to link the time base of the speeds either to the tempo of ones song or to a fixed 100 BPM.
I also made some basic support for switching between articulations of different K2 instruments, and I added a screenshot and usage instructions on the web page above.