Hi all, I'm having way more problems than I should with the below piece of code, which is supposed to turn a raw file of short's (PCM, specifically) into a series of text files which I can then turn into frequency spectograms with gnuplot. I'm pretty sure my API usage is correct, but for some reason I'm getting weird results where the output from the fftw basically doesn't change or has a regular pattern. Also, I get a double-free on cleanup. If any of you have experience with FFTW (or just C, for that matter), I'd appreciate some help. http://marcel.carrietech.com/crunch.txt - Marcel -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist