Backed out changeset b1275ea1b6c8
This makes very little perceptible difference, possibly for the worse, and it is more complicated
This commit is contained in:
@@ -140,7 +140,6 @@ public:
|
||||
void updateGuidance(double ratio,
|
||||
const double *const magnitudes,
|
||||
const double *const prevMagnitudes,
|
||||
const double *const channelMixedMagnitudes,
|
||||
const BinSegmenter::Segmentation &segmentation,
|
||||
const BinSegmenter::Segmentation &prevSegmentation,
|
||||
const BinSegmenter::Segmentation &nextSegmentation,
|
||||
@@ -222,13 +221,13 @@ public:
|
||||
if (lower > m_maxLower) lower = m_maxLower;
|
||||
*/
|
||||
double prevLower = guidance.fftBands[0].f1;
|
||||
double lower = descendToValley(prevLower, channelMixedMagnitudes);
|
||||
double lower = descendToValley(prevLower, magnitudes);
|
||||
if (lower > m_maxLower || lower < m_minLower) {
|
||||
lower = m_defaultLower;
|
||||
}
|
||||
|
||||
double prevHigher = guidance.fftBands[1].f1;
|
||||
double higher = descendToValley(prevHigher, channelMixedMagnitudes);
|
||||
double higher = descendToValley(prevHigher, magnitudes);
|
||||
if (higher > m_maxHigher || higher < m_minHigher) {
|
||||
higher = m_defaultHigher;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user