You need to use the reality-optimized functions in kiss_fftr.h (in a subdirectory tools). Use kiss_fftr_allocFFTW with fftw_plan_dft_r2c_1dand instead of setting up “plans” fftw_plan_dft_c2r_1d. Use kiss_fftrand kiss_fftrito perform forward / reverse conversions instead of calling FFTW fftw_execute. Remember to call kiss_fftr_freewhen done.
source
share