log layer/SpectrumLayer.cpp @ 1494:78d9282519b0

age author description
2019-07-05 Chris Cannam Update for removal of (public) getId from Model by-id
2019-07-02 Chris Cannam Further layer updates for ModelById by-id
2019-07-01 Chris Cannam More 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 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 We need to draw illumination label *after* the spectrum...
2018-11-14 Chris Cannam Fix some incorrect pixel scaling
2018-11-14 Chris Cannam Fix compiler warning
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-14 Chris Cannam Highlight the current peak line in the spectrum (when shown); also a fix to the crosshair labelling spectrogramparam
2018-11-13 Chris Cannam Toward highlighting peaks on spectrum 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 Retrieve only the values already determined to be peaks 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-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-05-02 Chris Cannam Merge horizontal-scale
2018-05-02 Chris Cannam Fix positioning of peak lines on spectrum layer (origin is already accounted for in the bin/frequency to x conversion functions)
2018-05-02 Chris Cannam Tweaks to horizontal scale horizontal-scale
2018-05-01 Chris Cannam Draw some ticks horizontal-scale
2018-05-01 Chris Cannam Branch toward adding horizontal numerical scales to things horizontal-scale
2018-03-01 Chris Cannam Untabify
2017-03-12 Chris Cannam Remove debug out
2017-03-07 Chris Cannam Make some corrections to crosshair (measure cursor) positioning and feature descriptions. Needs review.
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 piano keyboard height according to text size
2016-08-05 Chris Cannam Introduce labels in RangeMapper and use them in AudioDial, though only for tooltip at present. Make use of this for spectrogram magic -81dB/-Inf threshold. Also introduce static strings for inf/pi and use where appropriate. 3.0-integration
2016-06-30 Chris Cannam Move drawVisibleText to PaintAssistant spectrogram-minor-refactor
2015-06-26 Chris Cannam Merge from branch osx-retina 3.0-integration
2015-06-12 Chris Cannam Gut the old code, but don't replace it yet (so nothing will link yet) simple-fft-model
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-10 Chris Cannam More type fixes cxx11
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-08-23 mathieub Put some debug outputs in comments integration_library
2011-07-06 mathieub Extends the audio feedback of the piano scale to the Spectrum layer (horizontal piano keyboard). sonification
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
2010-06-15 Chris Cannam * Fix incorrect grouping for spectrum layer parameters
2008-12-04 Chris Cannam * minor stuff
2008-12-02 Chris Cannam * Permit viewing (though not editing) colour 3d plot layer data in
2008-03-12 Chris Cannam * juggle some files around in order to free audioio, base, and system libraries
2008-02-27 Chris Cannam * Merge from trunk spectrogram-cache-rejig
2008-02-27 Chris Cannam * merge from trunk (1.2 ended up being tracked from trunk, but we may want 1.2-stable
2008-01-24 Chris Cannam * Further model lifecycle fixes
2008-01-23 Chris Cannam * Various fixes to object lifetime management, particularly in the spectrum
2008-01-08 Chris Cannam * Fix 1864770 overlaid spectrum layers drawn wrong
2007-11-23 Chris Cannam * Add Erase tool and mode
2007-11-11 Chris Cannam * Pass StorageAdviser::Criteria into FFTModel constructor etc
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