Hi,
I have written a
java application that records an audio wave and does some processing on it.
My array of audio samples is in this format :
Sample rate = 14000 Hz
Sample size in bits = 16
Number of channels = 1
unsigned sample values
and it's in little endian order
The application purpose is to calculate three things :
1. Frequency
2. Amplitude
3. Phase
According to frequency, iv'e used the FFT algorithm on the sampled array and got an accurate result.
but ... according to amplitude ...
my samples array is 16-bit for each sample, so the value range is -32768 to 32767.
How can i convert this number into a meaningful unit of measure (like : meter) ?
And does any one knows how can i compute the phase ?