we need a clean definition of names here:
Is this correct?:
rate = CO "rate"; Pitch control (turntable speed) - keylock; controls pitch and tempo.  
pitch = tone pitch; CO "pitch"
tempo = Pitch control (turntable speed) + keylock. 
baserate = file sampe rate / soundcard samplerate

So what is speed here? Can we return tempo and rate instead?
I think rate changes meaning to (rate * baserate) new name? .. or not combine them ...

I really like to have a dedicated tempo CO. CO rate should be control this new control if keylock is enabled. I have left some more details in forums.