rouncer at September 22nd, 2008 19:55 — #1
is there another algorythm apart from the fft for doing frequency work, because the fft packs phase information with the amplitude and it makes it useless to use.
but is there a way to get the average phase in each bin as well as the average amplitude separately? cause thats exactly what i want.
reedbeta at September 22nd, 2008 19:59 — #2
The FFT should return an array of complex values, where the magnitude/phase of each complex number are the amplitude/phase of the associated wave.
rouncer at September 22nd, 2008 20:25 — #3
reedbeta at September 22nd, 2008 23:10 — #4
The magnitudes of the complex numbers are the amplitudes of the waves, and the phases of the complex numbers are the phases of the waves.
rouncer at September 23rd, 2008 19:24 — #5
but a number is only one number... it only has an amplitude! i dont understand - what does phase mean? the differences between the adjacent bins? that doesnt make sense to me
reedbeta at September 23rd, 2008 20:10 — #6
No, the output of the FFT should be a complex number for each bin. As such it has two components, real and imaginary. If you think of this as a 2D vector, its length is the amplitude and its angle from the x-axis is the phase.
rouncer at September 27th, 2008 01:13 — #7
oh- thankyou. now i understand.
im coding a phase vocoder by the way, and its going pretty well.
im doing the filter bin approach, but now i might try the fft.