A library intended to interface with kissfft for my visualizer called Drop.
Windows Compilation:
- Need Visual Studio Command Line Tools.
- Put relevant files in "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin" or equivalent directory.
- Open cmd as admin
- Run "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- Cd to "bin"
- Run
cl /LD /EHsc fft_windows.c kiss_fft.c kiss_fftr.c
"fft_windows.dll" should now be in the bin directory. Rename it to "fft.dll".
Mac Compilation:
- Navigate to source directory
- Run
gcc -dynamiclib -o libfft.dylib fft_mac.c kiss_fft.c kiss_fftr.c
"libfft.dylib" should now be in the source directory.