log layer/SpectrumLayer.cpp @ 1409:24234307c9b2

age author description
Thu, 15 Nov 2018 15:08:08 +0000 Chris Cannam Retain consistent min freq (rather than min bin no) when changing fft parameters in spectrum; scale ffts by window size rather than fft size in case of oversampling, to avoid fading out because of scale factor including zero padding
Thu, 15 Nov 2018 13:06:38 +0000 Chris Cannam Different approach to x-coord calculation in slice layer - let's acknowledge that we really do have two different types of model, those whose "bins" are actually at a single value (frequency in the case of the spectrum) and those whose bins are just labels.
Wed, 14 Nov 2018 15:47:21 +0000 Chris Cannam Fixes to spectrum axis calculations, + default to starting at bin 1
Wed, 14 Nov 2018 15:14:21 +0000 Chris Cannam We need to draw illumination label *after* the spectrum...
Wed, 14 Nov 2018 15:04:04 +0000 Chris Cannam Fix some incorrect pixel scaling
Wed, 14 Nov 2018 14:29:08 +0000 Chris Cannam Fix compiler warning
Wed, 14 Nov 2018 14:17:06 +0000 Chris Cannam Various tweaks & fixes to log-scale handling in spectrum. We can't easily preserve the nice behaviour where peaks stay in place as fft size changes, without potentially losing a bit of low-frequency information spectrogramparam
Wed, 14 Nov 2018 11:01:18 +0000 Chris Cannam Highlight the current peak line in the spectrum (when shown); also a fix to the crosshair labelling spectrogramparam
Tue, 13 Nov 2018 15:16:48 +0000 Chris Cannam Toward highlighting peaks on spectrum spectrogramparam
Tue, 13 Nov 2018 14:06:48 +0000 Chris Cannam Make "zoom to region" work sensibly for slice/spectrum layers; ensure that min/max bin are remapped properly when changing fft size spectrogramparam
Mon, 12 Nov 2018 14:48:42 +0000 Chris Cannam Small speedups spectrogramparam
Mon, 12 Nov 2018 11:34:34 +0000 Chris Cannam Use log-frequency rather than log-bin for calculating x coord in spectrum. This has the advantage that frequency positions don't move when we change the window size or oversampling ratio, but it does give us an unhelpfully large amount of space for very low frequencies - to be considered spectrogramparam
Thu, 08 Nov 2018 12:55:36 +0000 Chris Cannam Retrieve only the values already determined to be peaks spectrogramparam
Wed, 07 Nov 2018 11:37:51 +0000 Chris Cannam Add oversampling option to spectrum as well spectrogramparam
Thu, 18 Oct 2018 13:21:56 +0100 Chris Cannam Add mechanism for saving/loading colour maps by name/id rather than by numerical index, for future compatibility when adding to or changing the supported colour maps. Add two new colour maps (and one old one). Write out backward-compatible numerical indices for use when reloading in older versions. Also add a mechanism to invert the colour map, though I don't think it turns out useful enough to include in the UI.