diff options
author | Alex Marsev <alex.marsev@gmail.com> | 2016-02-15 04:41:17 +0300 |
---|---|---|
committer | Alex Marsev <alex.marsev@gmail.com> | 2016-02-20 13:22:08 +0300 |
commit | e25e88a87fdafd71c5f19ce20e82ad04af590aec (patch) | |
tree | a238819491d824aa90dcc9398acf4c1f05aec22b | |
parent | 0f6adfdd0a4d1904740a679feb266a650c96b3a1 (diff) |
Tweak rubberband a bit
Should eliminate "interruption" artefacts.
-rw-r--r-- | src/DspTempo2.cpp | 3 |
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);
|