Hello Haskellers,

Recently I've revived my old toy project. It's a sound spectrum analyzer with Gtk2hs interface. I decided to rewrite it into a pitch tuner. Basically I'm done, but I've ran into performance difficulties while trying to rise a resolution in a frequency space.

The original code used Storable arrays to get data out of fftw, for some processing I convert it to lists, which obviously hinders performance. I've heard there are some modern efficient array processing libraries available. So I hope I can avoid writing all those low-level for loops.

Any hints on how to optimize and prettify the code are welcome.

Repository is located at https://github.com/akamaus/HTuner

Best regards,
Dmitry


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to