Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/sanear.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Marsev <alex.marsev@gmail.com>2016-02-15 04:41:17 +0300
committerAlex Marsev <alex.marsev@gmail.com>2016-02-20 13:22:08 +0300
commite25e88a87fdafd71c5f19ce20e82ad04af590aec (patch)
treea238819491d824aa90dcc9398acf4c1f05aec22b
parent0f6adfdd0a4d1904740a679feb266a650c96b3a1 (diff)
Tweak rubberband a bit
Should eliminate "interruption" artefacts.
-rw-r--r--src/DspTempo2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DspTempo2.cpp b/src/DspTempo2.cpp
index aa5615c..d425810 100644
--- a/src/DspTempo2.cpp
+++ b/src/DspTempo2.cpp
@@ -17,7 +17,8 @@ namespace SaneAudioRenderer
{
try
{
- auto options = RubberBand::RubberBandStretcher::OptionProcessRealTime;
+ auto options = RubberBand::RubberBandStretcher::OptionTransientsMixed |
+ RubberBand::RubberBandStretcher::OptionProcessRealTime;
m_stretcher = std::make_unique<RubberBand::RubberBandStretcher>(rate, channels, options, 1.0 / tempo);