FFT generation accounts for the majority of the visualizer's CPU usage. Drop currently uses a FFT library made in Lua, but if we use LuaJIT's FFI functionality, we may be able to use an FFT library made in C, greatly reducing CPU usage.
To implement this mechanic properly, I want to study FFTs further and then create a library specifically for handling this FFT-FFI integration.
FFT generation accounts for the majority of the visualizer's CPU usage. Drop currently uses a FFT library made in Lua, but if we use LuaJIT's FFI functionality, we may be able to use an FFT library made in C, greatly reducing CPU usage.
To implement this mechanic properly, I want to study FFTs further and then create a library specifically for handling this FFT-FFI integration.