Mercurial > hg > svgui
changeset 1466:0ecfaa463c1b
Merge
author | Chris Cannam |
---|---|
date | Fri, 24 May 2019 15:14:09 +0100 |
parents | f31ccc5f3fb8 (current diff) 66bf1abfefc1 (diff) |
children | f9110e5afca1 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;