Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 1099:5c6271734790 spectrogram-minor-refactor
Switch in "standard" colour scale, bin scale, normalisation -- not quite handled elegantly or correctly yet
author | Chris Cannam |
---|---|
date | Wed, 13 Jul 2016 10:00:21 +0100 |
parents | d9f1d2756b59 |
children | 1364cbf4453d |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Mon Jul 11 17:19:36 2016 +0100 +++ b/layer/SpectrogramLayer.cpp Wed Jul 13 10:00:21 2016 +0100 @@ -271,6 +271,7 @@ } else if (name == "Colour Scale") { + // linear, meter, db^2, db, phase *min = 0; *max = 4; *deflt = 2; @@ -3569,7 +3570,7 @@ } bool normalizeVisibleArea = - (attributes.value("normalizeVisibleArea").trimmed() == "true"); + (attributes.value("normalizeVisibleArea").trimmed() == "true"); if (normalizeVisibleArea) { setNormalization(ColumnOp::NormalizeVisibleArea); }