log layer/SliceLayer.cpp @ 1606:d6976d231efb

age author description
2019-07-17 Chris Cannam Tidy; also don't show cancel buttons for alignments by-id
2019-07-01 Chris Cannam Further layer updates by-id
2018-11-26 Chris Cannam Use nullptr throughout fix-static-analysis
2018-11-15 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
2018-11-15 Chris Cannam Scale pen for retina display on macOS as well as for hidpi display elsewhere
2018-11-15 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.
2018-11-14 Chris Cannam Fixes to spectrum axis calculations, + default to starting at bin 1
2018-11-14 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
2018-11-13 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
2018-11-12 Chris Cannam Small speedups spectrogramparam
2018-11-12 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
2018-11-08 Chris Cannam Fix "colour" rendering for spectrum (now resembles a filled "line" mode rather than a filled "block" mode) spectrogramparam
2018-11-07 Chris Cannam Switch spectrum to antialiased drawing with considerable speedup for the dense areas; take horizontal scale height into account when rendering slice layer height spectrogramparam
2018-11-07 Chris Cannam Add oversampling option to spectrum as well spectrogramparam
2018-10-18 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.
2018-05-08 Chris Cannam Hack to ensure vertical scale lines are in the right place in pixel-doubling rendering
2018-05-03 Chris Cannam Provide linear horizontal scale in spectrum as well as log; fix bin positioning and colour scale property box updating; ensure proper background colour and visibility of peak lines horizontal-scale
2018-03-01 Chris Cannam Untabify
2017-12-12 Chris Cannam This was new in GCC 7
2017-12-07 Chris Cannam Add fallthrough attribute
2017-03-07 Chris Cannam Make some corrections to crosshair (measure cursor) positioning and feature descriptions. Needs review.
2017-03-07 Chris Cannam Fix crash when changing window size in the spectrum layer
2017-02-28 Chris Cannam Fix a couple of compiler warnings
2017-02-07 Chris Cannam Some work to make spectrum layers (and slice layers generally) zoomable in the frequency axis. Also fixes a number of view id mixups in SliceLayer which broke offset calculations for the x axis scale.
2017-01-26 Chris Cannam Scale pen, place line ends in centres of bins, default to line mode
2016-06-30 Chris Cannam Move drawVisibleText to PaintAssistant spectrogram-minor-refactor
2015-03-17 Chris Cannam Many fixes for the previous stuff osx-retina
2015-03-17 Chris Cannam Start trying to introduce LayerGeometryProvider as proxyable interface for View methods that the Layer wants to use osx-retina