Any advices on optimizing an array processing in a pitch tuner

12 Feb
2012
12 Feb
'12
2:06 a.m.
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
4848
Age (days ago)
4848
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Vyal