Hi all, What algorithms/filters/whatever would I start looking into to use a microcontroller/FPGA/digital ICs/analog components to detect the frequency of a single audio source such a as an electric guitar input? I don't really even need the actual frequency number, I just somehow need to convert the input wave into a square wave/pulse that can be used to pulse an LED, for example. I used my oscilloscope to look at the signal generated by the guitar, and it's pretty clean, but it: 1. doesn't look exactly like a sin wave 2. decreases in amplitude over time (and becomes almost exactly like a sawtooth wave at low amplitudes) How would I go about extracting the frequency out of this, or getting a clean pulse corresponding to the frequency (like a square wave, or whatever)? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .