I do absolutely NOTHING special: you simply get last 8192 samples at the time of redraw (which is controlled by WM_TIMER so not terribly exact, hence "peak hold" is currently unreliable "best effort" only.. I might add some "maximum interval" guarantee at some point), and log of squared complex magnitude for each bin. Since 8192 samples (at 44.1kHz) is roughly 200ms, and 50fps display would be roughly 20ms, there is about 90% overlap in the best case (assuming short enough audio buffers, as it updates at-most-once per process call).rola wrote:Hi Mystran,
Any tips on how you get such a steady frequency display like in your analyzer?
In my own project the display is very jumpy even with the use of window overlapping and taking the maximum value of several windows.
thanks,
rola
Anyway.. Intel is driving me nuts. Why does Intel do such a crappy job with their integrated graphics? I'm currently seriously considering GPU render path for NV/AMD, with software fallback just for the crap that is Intel's "HD" graphics..
edit: basically any attempt to move more work to the GPU comes down to "yeah I could do that except for Intel"


