log layer/SliceLayer.cpp @ 1411:6dc3a36d9794

age author description
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
2015-03-09 Chris Cannam A few more fixes cxx11
2014-09-03 Chris Cannam Fix potential divide by zero
2014-06-17 Chris Cannam Remove size_t's and fix warnings in layer/ warnfix_no_size_t
2013-11-26 Chris Cannam Drop std:: from cout, cerr, endl -- pull these in through Debug.h
2012-01-30 Chris Cannam Give a dedicated key to toggling the centre line, and move it out of the overlay level setting -- reducing number of overlay levels to 3. Introduce two distinct vertical scale types (so that we can hide the spectrogram colour scale part easily)
2011-09-28 Chris Cannam Save/restore more slice layer parameters (fixing SF feature #3039297) sv_v1.9
2011-06-14 Chris Cannam Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
2011-05-16 Chris Cannam Convert many cerrs to DEBUGs debug-output
2009-06-05 Chris Cannam * A few minor fixes to SliceLayer based on using it for slices of key plots
2008-03-12 Chris Cannam * juggle some files around in order to free audioio, base, and system libraries
2007-11-23 Chris Cannam * Add Erase tool and mode
2007-10-25 Chris Cannam * Some tidying up to handling of alignment; add alignment status label to
2007-10-18 Chris Cannam * Make XmlExportable::toXml the function that is universally overridden (and
2007-07-13 Chris Cannam * Restore Scale setting which had mistakenly disappeared from spectrum
2007-07-12 Chris Cannam * Add SingleColourLayer to manage colours for layers that have a single
2007-07-11 Chris Cannam * Add a colour database, and Add New Colour function to the colour combo
2007-07-06 Chris Cannam * threshold, show-peaks properties in spectrum
2007-07-04 Chris Cannam * Pull peak-picker out of SpectrumLayer and into FFTModel; use combined
2007-07-02 Chris Cannam * Fix centre line position
2007-06-11 Chris Cannam * bit of work on harmonic cursor in spectrum
2007-04-30 Chris Cannam * Fix many compile warnings, remove some debug output
2007-03-05 Chris Cannam * Make the vertical scale a bit less thtoopid for many linear scale spectra
2007-03-02 Chris Cannam * Make getPropertyRangeAndValue return the default separately from the current sv1-1.0pre1
2007-02-05 Chris Cannam * Flesh out feature descriptions for spectrum
2007-02-01 Chris Cannam * Scale fixes and feature descriptions in slice layer
2007-02-01 Chris Cannam * Work on harmonising colour and scale ranges between types of layer
2007-01-29 Chris Cannam * beginnings of spectrum scales
2007-01-26 Chris Cannam ...
2007-01-26 Chris Cannam * Add slice layers (so you can display a slice of a colour 3d plot as if it were base layer/SpectrumLayer.cpp@5d4949676ee7