> Specifically,
> I want to be able to compare different sounds. I want to start with
> developing something like a guitar tuner. So I need to compare 2
> pitches.
Hi there,
if I'm understanding you correctly, you need to determine
the frequency of a given sound, then check if that frequency
is correct.
To extract the frequency from a given sound, you can
use a "Fast Fourier Transform", usually referred to
as FFT. Depending on the source of the sound you may
need additional filters/checks/etc. to be sure to extract the
main frequency and not some harmonics.
The FFT algorithm isn't very complicated to implement
and you can find some Java implementation using Google.
Hope it helps,
Roedy Green - 09 Mar 2006 17:58 GMT
On 9 Mar 2006 04:03:48 -0800, "lewmania942@yahoo.fr"
<lewmania942@yahoo.fr> wrote, quoted or indirectly quoted someone who
said :
>The FFT algorithm isn't very complicated to implement
>and you can find some Java implementation using Google.
Intel has a library of FFTs they are promoting. See
http://mindprod.com/jgloss/fft.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.