Mercurial > hg > svgui
comparison layer/Colour3DPlotLayer.cpp @ 1137:4e7ed3252d80 spectrogram-minor-refactor
Re-implement dB^2 (log-power) spectrogram setting
author | Chris Cannam |
---|---|
date | Thu, 04 Aug 2016 11:26:11 +0100 |
parents | b4b155cfd8b4 |
children | 0edfed2c8482 |
comparison
equal
deleted
inserted
replaced
1136:9ff838a64461 | 1137:4e7ed3252d80 |
---|---|
1034 sources.source = m_model; | 1034 sources.source = m_model; |
1035 sources.peaks = getPeakCache(); | 1035 sources.peaks = getPeakCache(); |
1036 | 1036 |
1037 ColourScale::Parameters cparams; | 1037 ColourScale::Parameters cparams; |
1038 cparams.colourMap = m_colourMap; | 1038 cparams.colourMap = m_colourMap; |
1039 cparams.scale = m_colourScale; | 1039 cparams.scaleType = m_colourScale; |
1040 cparams.gain = m_gain; | 1040 cparams.gain = m_gain; |
1041 | 1041 |
1042 if (m_normalization == ColumnNormalization::None) { | 1042 if (m_normalization == ColumnNormalization::None) { |
1043 cparams.minValue = m_model->getMinimumLevel(); | 1043 cparams.minValue = m_model->getMinimumLevel(); |
1044 cparams.maxValue = m_model->getMaximumLevel(); | 1044 cparams.maxValue = m_model->getMaximumLevel(); |