"An overall latency more than 8-10 ms is enough to cause problems and at 12-15ms a theremin is utterly and completely unplayable." - kkissinger
Thanks for those concise figures, Kevin.
With modern processing, 5ms is a long time - there is no excuse for long latency due to the digital processing IMO..
But there is difficulty at the front-end, particularly if dealing with audio input - because a full 200Hz cycle takes 5ms, 100Hz takes 10ms. This becomes a limitation on simple pitch to voltage conversion, as in the EW+ and EWP.
With a theremin, this conversion latency problem can be easily overcome (although I seem to be the only person to have ever done it) by multiplying both reference and pitch oscillators, and heterodyning these multiplied frequencies to provide an "audio" signal 4 octaves higher which can be converted, a 16Hz signal (with direct conversion latency of 62.5ms) becomes a 256Hz signal (with 3,9ms latency).
What I wonder is whether the latency demands are the same in the bass registers (say below 200Hz) as they are for the higher registers - I have thought at times that perhaps latency "requirements" could be related to pitch - as in, 5ms (1/2 cycle of 100Hz) may be ok for 100Hz, and 31ms latency may be ok for 16Hz.
Not that any of the above has any real relevance - just pure curiosity .. But if the latency in the theremini is due to front-end filters (hardware or software) that must cater for the lowest difference frequency the processor must measure, then this may be cobbling other stuff that could update much faster.
I actually find it hard to imagine that the problem is actually in the digital processing of the waveform / sound engine - there's not a hell of a lot that needs to be done there as far as I can see, certainly not enough to consume all the cycles of a fast DSP!
I strongly suspect that the problem is at the sensing side - the filters and averaging and perhaps too-low difference frequency - problems that anyone who understands theremins at all would have avoided.
Fred.
@Dewster: "
OK, one more audio file:http://www.mediafire.com/listen/0d36y9lrtm3zhat/Theremini_touch_response_2014-09-23.mp3"
OMG! - That just says it all!
Particularly if you remember that this latency isn't just between extremes - its there between any intervals regardless of how close or far apart these are!