diff --git a/CHANGELOG.md b/CHANGELOG.md index 3138d71..534ab0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ backwards compatibility. * Allow configuration of the ratio between the tap interval and delay length. * Visualize progress of the buffer reset. * Smoothen position response to control input. +* Make clearing of the tape 2x faster. ## 1.2.0 diff --git a/dsp/src/delay/mod.rs b/dsp/src/delay/mod.rs index 57f1c0a..695bcf5 100644 --- a/dsp/src/delay/mod.rs +++ b/dsp/src/delay/mod.rs @@ -428,7 +428,7 @@ impl BufferReset { BufferReset::Armed => BufferReset::FadingOut(0, 50), BufferReset::FadingOut(j, n) => { if j == n { - let chunks = 2 << 11; + let chunks = 2 << 10; BufferReset::Resetting(0, chunks) } else { BufferReset::FadingOut(*j + 1, *n) @@ -436,7 +436,7 @@ impl BufferReset { } BufferReset::Resetting(j, n) => { if j == n { - BufferReset::FadingIn(0, 2000) + BufferReset::FadingIn(0, 1000) } else { reset_request = Some(ResetSelector { index: *j,