Even smoother phase-randomisation when stretching past 2x
This commit is contained in:
parent
a9112f4f35
commit
37db3a75a4
@ -339,7 +339,6 @@ private:
|
||||
int bands = stft.bands();
|
||||
|
||||
bool randomTimeFactor = (timeFactor > maxCleanStretch);
|
||||
timeFactor = std::min<Sample>(maxCleanStretch*2, timeFactor);
|
||||
std::uniform_real_distribution<Sample> timeFactorDist(maxCleanStretch*2 - timeFactor, timeFactor);
|
||||
|
||||
if (newSpectrum) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user