swharden / SWHarden.com

The personal website of Scott W Harden
https://swharden.com
MIT License
4 stars 0 forks source link

Use of timer event on https://swharden.com/csdv/audio/fft/ #15

Open swharden opened 10 months ago

swharden commented 10 months ago

regarding https://swharden.com/csdv/audio/fft/

This issue will track progress toward updating this page to use the improved method described by Jens:

I tried the program, and it works, but is not stable for a long time. It is as if the Fourier calculations get stuck. I concluded that it has to do with the use of the timer. To solve this, I replaced the timer event handler with an invoke to a delegate. That way, the UI thread updates the plot and becomes more stable. Here is my source code: https://github.com/jensmalmgren/FFTMonitor