How would you separate human speech from a fly buzzing? (Hear a fly buzzing the background, and determine its pitch, even if it changes!)
Similar to HW 3 for MLSP
Frequency spectrum of emitted sounds (regardless of pitch) is based on the harmonics it puts out. 2f, 3f, 4f, etc. If f increases by a little, the frequency does not shift, it shifts by multiples. To get around that, Bhiksha recommended taking the log of the frequency response, so the shift is just a shift, and not a linear shift on top of that.
Model it as a draw from a shift urn and a draw from the frequency response urn and see how well it lines up with each frame from the frequency response. (build it off of some examples).
Learn the probability distributions…you have to do something to normalize for the loudness, so draw multiple times from the frequency response urn with a certain probability.
What were the lecture slides that Bhiksha had on restoring a telephone-line recording back to a good original recording by learning the bases of the instruments? Sorta like the lab you did in Advanced DSP with restoring the singers voice of Ave Maria or something.
Once you have a good model for the bee/fly, then you “set” that and learn the other bases on-the-fly so that you can get rid of human speech, etc.
Okay…back to finals :)
How to detect "pitch"
First use a pc audio sound card if you can to debug sensors, determine algorithm, determine responses, etc.
Detecting exact pitch, description from ctuner's readme file:
How it works
I have included a How It Works section because none of the other open
source tuners that I have looked at give any explanation of the
algorithms used. This tuner uses an overlapped Fast Fourier Transform
together with the phase difference between sequential runs of the FFT
to measure the actual frequency accurately. It appears to be about as
accurate as the clock in the sound card.
They also make laser ones, but those seem to be foiled or something, idk. I think the real systems use lasers.
There are cheap laser tachometers, but it looks like their signal processing isn't that good. You need reflective tape?! http://dx.com/s/tachometer
Anyways, maybe I can make something similar, very similar to the laser mosquito thing from Intellectual Ventures (1,2). Sorta similar to how they do barcode scanning (detailed, but not that much new info)
Randy suggested a current follower sort of thing using an op-amp. Some of the optical diodes have the circuit already built in, basically it does boosting of the signal for fast response, since the original signal from the diode is not that high current.
Just use a photo diode. Should be good enough… over those other things
Also need to be able to fluctuate the laser diode
Not sure why I want to do this, but it sounds like it would combine all my skills pretty well and push me forward.
Slow it way down and you can hear the fan blades! Matlab script that sorta works…