On Aug 2, 2005, at 2:30 AM, Marcel Birthelmer wrote: > > http://marcel.carrietech.com/crunch.txt > > for(offset=0; offset < chunksize; offset += step) //slide window to > the right by "step" > { > for(i=0; i { > idata[i] = buffer[i + offset]; //fill input array with offset'th > frame > } I don't know anything about fftw, but... The second for loop looks a bit off. Shouldn't the limit there be step rather than chunksize again? BillW -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist