It's OK, I've sorted it now. I think I was just suffering from code mash!
Jamie
On Wed, 19 Apr 2006 14:47:07 +0000 Jamie Bullock jamie@postlude.co.uk wrote:
Hi,
I am trying to understand how mayer_realfft works. From the comments in the pd sources, I would assume that the following would give the same output as rfft~
k = N / 2;
transform = (float *)calloc(N, sizeof(float));
for(i = 0; i < N; i++) transform[i] = sig[i];
mayer_realfft(N, transform);
for(i=0, j=k; i < k; i++, j++) { out1[i]=transform[i]; out2[i]=transform[j]; }
...but it doesn't...
Can anyone tell me where I am going wrong?
Thanks,
Jamie
PD-dev mailing list PD-dev@iem.at http://lists.puredata.info/listinfo/pd-dev