<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><pre>&gt; Hi, Siebe! Welcome on board, IMHO there is a great shortage of Dutch<br>&gt; ChucKists so it's good to see you here.<br></pre><br>Thanks for your reply, Kas. I hope I can help making ChucK a bit more popular around here, I'm <br>sure others will like the way it works.<br><pre>&gt; As FFT expects to deal with complex numbers it's not so<br>&gt; surprising that the one using floats doesn't work.<br></pre><br>Now I'm afraid you misunderstand. The one getting complex numbers is an IFFT. <br>From the manual:<br><br>fft.transform(float[]) //input fft, which i believe doesn't work.<br>fft.spectrum(complex[]) //output fft, which works when using fft.upchuck()<br>ifft.transform(complex[]) //input ifft<br>ifft.samples(float[]) //output ifft<br><br>Also, both examples run, the FFT one is just not giving any output. In my experience the VM will <br>break and give an error when variable types don't match, so that's not my problem here.<br>I'm currently trying to tweak around a bit with the signal chain. There the types do not exactly<br>match, but that I could correct with a dummy IFFT (FFT fft =&gt; IFFT dummy =&gt; blackhole), also <br>that didn't help. IMO there really seems to be a problem with he fft.transform function. I can't <br>get it to do anything.<br><br>Siebe<br><br><br><br><br><br><br><br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>