Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 1466:0ecfaa463c1b
Merge
author | Chris Cannam |
---|---|
date | Fri, 24 May 2019 15:14:09 +0100 |
parents | 66bf1abfefc1 |
children | f2525e6cbdf1 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Fri May 24 15:13:57 2019 +0100 +++ b/layer/SpectrogramLayer.cpp Fri May 24 15:14:09 2019 +0100 @@ -1274,7 +1274,7 @@ for (int s = s0i; s <= s1i; ++s) { - double binfreq = (double(sr) * q) / m_windowSize; + double binfreq = (double(sr) * q) / getFFTSize(); if (q == q0i) freqMin = binfreq; if (q == q1i) freqMax = binfreq;