This content has been marked as final. Show 4 replies
If you have a monophonic (single note playing) signal, you might be able to do it, but you'll need to implement a Pitch Detection Algorithm (http://en.wikipedia.org/wiki/Pitch_detection_algorithm).
If you use JSyn, which is a commercial product, then it has classes to read in .wav files, and also a class (unless this has changed with the latest version) to detect pitch in signals played through it, but you'd need to learn how to use JSyn. http://www.softsynth.com/jsyn/
I am storing my sound data in byteArrayOutputStream. May i know how can i retrieve the sampled sound data for frequency analysis?
I have done my algorithm with MATLAB. But now i m going to working out the same thing with JAVA. Now i m get stucked with retrieving the sound data.