changeset 1130:dc4b8fd3fcb7 spectrogram-minor-refactor

Minor tidy
author Chris Cannam
date Tue, 02 Aug 2016 09:20:16 +0100
parents 371320c9f8d9
children ee98d587cd1a
files layer/Colour3DPlotRenderer.cpp
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.cpp	Tue Aug 02 09:09:58 2016 +0100
+++ b/layer/Colour3DPlotRenderer.cpp	Tue Aug 02 09:20:16 2016 +0100
@@ -363,10 +363,6 @@
             
             magRange.sample(column);
 
-//!!! fft scale                if (m_colourScale != ColourScaleType::Phase) {
-//                    column = ColumnOp::fftScale(column, m_fftSize);
-//                }
-
 //                if (m_colourScale != ColourScaleType::Phase) {
             preparedColumn = ColumnOp::normalize(column, m_params.normalization);
 //                }
@@ -792,10 +788,6 @@
 
                 column = ColumnOp::applyGain(column, m_params.scaleFactor);
 
-//!!! fft scale                if (m_colourScale != ColourScaleType::Phase) {
-//                    column = ColumnOp::fftScale(column, m_fftSize);
-//                }
-
                 magRange.sample(column);
 
 //                if (m_colourScale != ColourScaleType::Phase) {
@@ -943,10 +935,6 @@
 
                 magRange.sample(column);
                 
-//!!! fft scale                if (m_colourScale != ColourScaleType::Phase) {
-//                    column = ColumnOp::fftScale(column, getFFTSize());
-//                }
-
 //!!!                if (m_colourScale != ColourScaleType::Phase) {
                 preparedColumn = ColumnOp::normalize
                     (column, m_params.normalization);