Does anyone else experience strong 50Hz or 60Hz interference with their Theremin(s)?
Instead of working on linearity like I should be, I've been thinking about AC interference in Theremins. On my EW it can get pretty bad depending on where in the house it is plugged in. When it's really bad it sounds like 60Hz is strongly FM modulating the voice so it's easy to make motorcycle-like sounds on the low end. Which can be fun if you're in a playful mood, but could make you gray prematurely if you're looking for more of a pure tone. Then again this could be related to the crappy 9V battery powered "afterburner" guitar amp I've got it plugged into.
My digital Theremin prototype doesn't seem to have much 60Hz noise on the output pitch numbers, but it does have some bobble on the lower digits that could easily be due to mains interference. It's pretty much confined to sitting on my work bench, so I haven't tested it in various parts of the house, though it does sit right next to two fluorescent desk lamps and and one LED desk lamp.
So I've been thinking about how to filter 60Hz and its harmonics out of the pitch numbers. I've read tons of papers over the past few weeks, and finally found the one I was looking for today (my Googling powers seem to be weak lately):
I hooked an alligator clip to the input of my PC sound card, recorded a bit of my desk electrical environment, and examined the resulting FFT. There are peaks only at the odd harmonics: 60Hz, 180Hz, 300Hz, etc. so it looks like the sharpened comb filter of that article may do the trick. I was looking to use a CIC (or boxcar, or moving average, they are all fundamentally the same) as it kills all harmonics with integer periods that fit in the delay, and some forms importantly preserve DC, but I believe it would lower response time unacceptably. Probably better to have a higher Q comb followed by a first order low pass filter, but I guess I'll find out!
The current design uses the roll-off of the PLL and a first order low pass filter, and it's really pretty good, but I wonder how far I can push it (ruh-roh: self-induced feature creep=masochistic personality disorder). There is a bit of flutter you can see on the "tuner" display when playing low notes further out that is sometimes a little audible. Another non-ideality I've seen is when playing very near the antenna (say 2" or less) then quickly pulling way back to near the null point, I see the pitch first jump down as expected, and then float down a bit farther slowly over several seconds, with a time constant similar to a component cooling off. I wonder if this is coil heating with the increased capacitive load of my hand? Not sure what to do with it, though I will say the "tuner" makes all kinds of things visible that one might not otherwise notice sonically, and therefore makes it a scary thing to include on a potential customer product! It's literally almost too analytical, which is its power I suppose (and for that I can't imagine not including it in any Theremin I might design / produce).