keijiro / jp.keijiro.libsoundio

libsoundio C# thin wrapper class library for Unity
MIT License
118 stars 11 forks source link

It seems laggier than LASP #5

Closed laurentopia closed 7 months ago

laurentopia commented 7 months ago

Do you know why that could be? I thought it'd be due to jobs returning FT result a frame after but DftBuffer completes on the same frame... Mystery.

keijiro commented 7 months ago

If you're comparing DFT with filter banks (LASP), yes. You can ask ChatGPT why FFT (DFT) is laggier than filter banks.

laurentopia commented 7 months ago

chatgpt is useless, I asked claude and I sorta get it: the lag for FFT = duraction of a wave at the lowest frequency that the FFT resolves too, whereas filter banks each frequency is resolved at each wave's duration: high frequency resolved at 1/hz and low frequency at their own. Is that it?