From f47e848f1952b06c2f9d0e9d192a8366040d0e37 Mon Sep 17 00:00:00 2001 From: xenakios Date: Thu, 22 Feb 2018 22:20:06 +0200 Subject: [PATCH] Shorter range change fade length. Readme change. --- Source/PS_Source/Input/AInputS.h | 9 ++++++++- readme.txt | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Source/PS_Source/Input/AInputS.h b/Source/PS_Source/Input/AInputS.h index 54d1010..f09883e 100644 --- a/Source/PS_Source/Input/AInputS.h +++ b/Source/PS_Source/Input/AInputS.h @@ -328,13 +328,20 @@ public: void setActiveRange(Range rng) override { std::lock_guard locker(m_mutex); + /* + if (rng.contains(getCurrentPositionPercent())) + { + setActiveRangeImpl(rng); + return; + } + */ m_seekfade.requestedrange = rng; if (m_seekfade.state == 0) { m_seekfade.counter = 0; m_seekfade.state = 1; } - m_seekfade.length = 16384; + m_seekfade.length = 2048; } void setLoopEnabled(bool b) override { diff --git a/readme.txt b/readme.txt index a1b4beb..4291d7b 100644 --- a/readme.txt +++ b/readme.txt @@ -12,6 +12,7 @@ History : -Show approximate stretched output duration in info label (only valid if the stretch amount is not automated in the host) -Added stretch processing bypass parameter (to play the original sound looped like it is passed into the stretcher) -Waveform selection can be moved by dragging with shift pressed + -Smoothed playback with fades when changing waveform selection -Fixes for the waveform graphics disappearing unexpectedly (this probably still isn't entirely fixed, though) 02-16-2018 1.0.1 -Increased maximum number of input channels to 8