Ok, I’m going to code this up in Java (at least there its clearer whats happening when). I just need a little guidance on the math for the phase accumulation.
So I have the code built to maintain a record of the current fft vector of amplitude, phase values and phase differences (output from framedelta~).
stored phase[i] = stored phase[i] + delta phase[i]
where ‘stored phase’ is initially set to phase values of the fft frame right before the freezing is enabled (ditto for delta phase). ‘i’ represents the bin index.
The phase is then sent to phasewrap~
Looking at the output values before phasewrap~, the values typically increase in the positive or negative direction, I suspect thats fine though.
The problem is I’m getting some distortion, it happens gradually and periodically over the course of a few seconds. Is this the error accumulation you were talking about Alex?
Aug 24, 2010 at 8:34pm #185952