Update the resampler logic to follow that of R2 more - ignore the pitch hq/hs setting in offline mode entirely. The alternative is too tricky to handle elegantly in the command line tool, which I think means too complicated
This commit is contained in:
@@ -274,13 +274,7 @@ R3Stretcher::createResampler()
|
||||
Profiler profiler("R3Stretcher::createResampler");
|
||||
|
||||
Resampler::Parameters resamplerParameters;
|
||||
|
||||
if (m_parameters.options & RubberBandStretcher::OptionPitchHighQuality) {
|
||||
resamplerParameters.quality = Resampler::Best;
|
||||
} else {
|
||||
resamplerParameters.quality = Resampler::FastestTolerable;
|
||||
}
|
||||
|
||||
resamplerParameters.quality = Resampler::FastestTolerable;
|
||||
resamplerParameters.initialSampleRate = m_parameters.sampleRate;
|
||||
resamplerParameters.maxBufferSize = m_guideConfiguration.longestFftSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user