https://github.com/xnul/drop-fft
A library to interface with kissfft. Intended for use with Drop to help with ffi.
https://github.com/xnul/drop-fft
Last synced: 7 months ago
JSON representation
A library to interface with kissfft. Intended for use with Drop to help with ffi.
- Host: GitHub
- URL: https://github.com/xnul/drop-fft
- Owner: xNul
- License: mit
- Created: 2018-03-20T06:17:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-21T07:21:13.000Z (over 7 years ago)
- Last Synced: 2025-01-21T17:26:42.259Z (9 months ago)
- Language: C
- Size: 89.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
A library intended to interface with [kissfft](https://github.com/bazaar-projects/kissfft) for my visualizer called Drop.
Windows Compilation:
1. Need Visual Studio Command Line Tools.
2. Put relevant files in "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin" or equivalent directory.
3. Open cmd as admin
4. Run "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
5. Cd to "bin"
6. 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:
1. Navigate to source directory
2. Run `gcc -dynamiclib -o libfft.dylib fft_mac.c kiss_fft.c kiss_fftr.c`"libfft.dylib" should now be in the source directory.