Sound analysis

B

Bruce Lee

Is there any Java sofware about that can work out the frequency of a sound
played through a microphone?
 
A

alexandre_paterson

Bruce said:
Is there any Java sofware about that can work out the frequency of a sound
played through a microphone?

Hi,

you simply need to do a Fast Fourier Transform (commonly referred
to as "FFT"). A reasonably fast implementation can be done in less
than 50 lines of code I'd say so you don't really need a "Java
software" nor an "API" nor a "framework". You simply need
an "algorithm".

I coded such a beast years ago (in Java, in one of my first Java
projects) to extract RPM informations from recordings of
car engines.

Google for Java and FFT and you'll find what you need...

But be careful Bruce Lee, for those harmonics sometimes
know kung-fu ;)

Alex
 
B

Bruce Lee

Hi,

you simply need to do a Fast Fourier Transform (commonly referred
to as "FFT"). A reasonably fast implementation can be done in less
than 50 lines of code I'd say so you don't really need a "Java
software" nor an "API" nor a "framework". You simply need
an "algorithm".

I coded such a beast years ago (in Java, in one of my first Java
projects) to extract RPM informations from recordings of
car engines.

Google for Java and FFT and you'll find what you need...

But be careful Bruce Lee, for those harmonics sometimes
know kung-fu ;)

Alex

they'll be no match for my roundhouse.

cheers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top