wolf-spectrum icon indicating copy to clipboard operation
wolf-spectrum copied to clipboard

Frequency bleed?

Open unfa opened this issue 5 years ago • 1 comments

Here's comparison of how Log scale looks with different window sizes:

Using 2048: image

Using 4096: image

Using 8192: image

Using 16384: image

It's a bit strange, but only the highest window gives me clear view on the low frequencies.

I wonder if this could be improved somehow? I don't remember something like this form using say - Sonic Visualiser. I need to do a strict comparison though. This makes me want to ask for even bigger windows sizes, since the time resolution is still pretty ok at 16k.

unfa avatar Feb 06 '19 12:02 unfa

Perhaps the rendering could be improved so that the low end would look clearer. I think the issue is mostly with the current interpolation code, which makes the whole spectrogram look a bit "spread-out" overall.

Also, @fundamental mentioned that a log-spaced DTFT might help for getting a smoother visualization on the low freq end, and pointed me to this implementation: https://github.com/original-male/non/blob/5ae43bb27c42387052a73e5ffc5d33efb9d946a9/mixer/src/SpectrumView.C#L93-L176 .

Maybe something like an adaptive spectrogram could be used too. See vamp plugin as reference https://vamp-plugins.org/plugin-doc/qm-vamp-plugins.html#qm-adaptivespectrogram

pdesaulniers avatar Apr 18 '19 19:04 pdesaulniers