[chuck-users] Using FFT 'manually'

Siepie siebe.domeijer at student-kmt.hku.nl
Sat May 23 11:39:02 EDT 2009



Hello all,

My name is Siebe, I'm a MT-student from the Netherlands. I've just started experimenting with ChucK on Windows XP a bit and I really liked how quickly I was able to get things working. For my study I might be interested using ChucK for music and audio analysis. I'm currently trying to figure out how to 'manually' work with an FFT-class, by using .transform(float[]) instead of .upchuck(). But as far as I can see, the transform function for the FFT does nothing, in contradiction with the .transform(complex[]) function for the IFFT class, which seems to work fine. Here are two examples to clear up my point:

The working IFFT code:
http://pastebin.com/f9b762ad

The not-working FFT code:
http://pastebin.com/f7a8aae08

My question is, am I doing it right? Since both examples are pretty much the same, my guess is that both should work. Is this a bug in the i386 version? Or are users with another OS experience the same?

Any help would be much appreciated.



_________________________________________________________________
See all the ways you can stay connected to friends and family
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20090523/db794c82/attachment.htm>


More information about the chuck-users mailing list