XML Feeds

.

[maxmsp] pfft~ phase?

volker böhm vboehm at gmx.ch
Wed Dec 19 15:31:54 MST 2007


On 19 Dec 2007, at 20:19, ben Gilman wrote:

> The issue that i've got is that the phase at each index seem to  
> vary every time i open and reopen the buffer,i am passing a sine  
> wave into the pfft~ and i thought id have 512 bins with set phases  
> for each bin. is my understanding wrong and can anyone give me any  
> pointers.

your understanding is not quite right. the phase in each fft frame is  
supposed to change corresponding
to the frequency of your oscillator the window size of the fft and  
the overlap factor.
if you think about it, this is logical. i would expect a constant  
phase value only for oscillator frequencies that
are integer multiples of the fft size.
note also, that the phases of those bins, that contain minimal to no  
energy, will act more or less randomly.
you might want to monitor the contents of the buffer with the  
waveform object to easier observe the phase changes.
volker.


More information about the maxmsp mailing list