Forum: Ruby FFT how to choose?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dc551a655132dd4a0900bb730b869ab4?d=identicon&s=25 gotostereo .. (gotostereo_)
on 2013-09-12 09:31
Tell me what to choose a library for the fast Fourier transform? Found
FFTW but it has not been updated for 4 years. Subject to what is an
alternative?. I am interested in the transformation of 1D, forward and
reverse. On the official FFTW website examples  by c++ programming
language :(
9627ec27e4fb3a18be02133b4ddaa901?d=identicon&s=25 Joel P. (virtuoso)
on 2013-09-12 09:46
Why do you need a more recent version? I had a quick look, and the only
"recent" changes I saw within FFTW were updates to the license. Perhaps
it works fine, so doesn't need updates. Have you tried it?
Dc551a655132dd4a0900bb730b869ab4?d=identicon&s=25 gotostereo .. (gotostereo_)
on 2013-09-12 09:57
Be sure to try, the only thing I do not understand the syntax for Ruby.
Example of code that I need on the official site FFTW.

  #include <fftw3.h>
         fftw_complex *in, *out;
         fftw_plan p;
         in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
         out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
         p = fftw_plan_dft_1d(N, in, out, FFTW_FORWARD, FFTW_ESTIMATE);
         fftw_execute(p); /* repeat as needed */
         fftw_free(in); fftw_free(out);

How would it look to Ruby?.
9627ec27e4fb3a18be02133b4ddaa901?d=identicon&s=25 Joel P. (virtuoso)
on 2013-09-12 13:20
There are a few examples in Ruby of using FFTW3 here:
This topic is locked and can not be replied to.