mborgerding / kissfft

a Fast Fourier Transform (FFT) library that tries to Keep it Simple, Stupid
Other
1.46k stars 283 forks source link

Making it available to Arduino through a package #60

Open jerabaul29 opened 3 years ago

jerabaul29 commented 3 years ago

Thanks so much for an amazing package, this is super useful :)

Have you considered making this available to the Arduino ecosystem as a dedicated package? Currently there is only 1 FFT package available there out of the box, and I find it both undocumented, and low quality code when looking a bit into the source. Your code is much better on all aspects in my opinion.

I just tested your package on a Cortex-M4 based board, and your code is working brilliantly. All I had to do was to substitute your kiss_fft_scalar with the type I wanted to use (float in my case), though I think I could just have added a compilation flag, and everything worked perfectly.

I could look into making this into an Arduino package if you do not want to do it yourself, but are fine with the idea (will have to happen in a few weeks though, very busy now).