From a80bd8f66977fefae61f5f79e2ea87f7a16f7029 Mon Sep 17 00:00:00 2001 From: Mute Date: Mon, 17 Aug 2026 07:41:08 +0000 Subject: [PATCH] rvsttd: increase fade-out to 25ms --- rvsttd/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rvsttd/src/main.rs b/rvsttd/src/main.rs index c2d712d..c9acc65 100644 --- a/rvsttd/src/main.rs +++ b/rvsttd/src/main.rs @@ -352,7 +352,7 @@ fn transcriber_loop( // Apply 5ms fade-out to the last chunk, then feed to both Moonshine and recorder if let Some(mut chunk) = held_chunk.take() { - let fade_samples = (SAMPLE_RATE as usize * 10) / 1000; // 10ms + let fade_samples = (SAMPLE_RATE as usize * 25) / 1000; // 25ms if chunk.len() > fade_samples { let start = chunk.len() - fade_samples; for i in 0..fade_samples {