[sdiy] Idea for tuner/display

David Brännvall david at brannvall.net
Mon Jan 27 14:23:34 CET 2003


> Slightly related, I would like a simple digital
> way to indicate which of two square waves have
> the highest frequency.
> I know there must be an easy way.. but, I'm not the guy to find it!

Just count the samples between the negative->posetive zerocrossings. You also can lowpass filter to remove the harmonics, and maby highpass filter to remove a dc offset etc. this should work to determinate the fudementional frequency on most monophonic signals.

regards,
David




More information about the Synth-diy mailing list