Add the overlooked fftshift (that explains it!); carry out polar/cartesian conversion only for bins of interest

This commit is contained in:
Chris Cannam
2022-05-24 16:54:05 +01:00
parent c4a78b4b55
commit d45831fcc5
4 changed files with 78 additions and 34 deletions

View File

@@ -95,10 +95,8 @@ public:
int channels = m_parameters.channels;
double ratio = double(outhop) / double(inhop);
int lowest = binForFrequency
(configuration.fftBandLimits[myFftBand].f0min);
int highest = binForFrequency
(configuration.fftBandLimits[myFftBand].f1max);
int lowest = configuration.fftBandLimits[myFftBand].b0min;
int highest = configuration.fftBandLimits[myFftBand].b1max;
if (!m_reported) {
std::ostringstream ostr;