From 8ce56bd547e27d9c052718fa7cccbd6858131071 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:15:35 +0800 Subject: [PATCH] tts more silence at the end --- otherarch/tts_adapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otherarch/tts_adapter.cpp b/otherarch/tts_adapter.cpp index 96e56012e..8072f376d 100644 --- a/otherarch/tts_adapter.cpp +++ b/otherarch/tts_adapter.cpp @@ -976,7 +976,7 @@ tts_generation_outputs ttstype_generate(const tts_generation_inputs inputs) audio[i] = 0.0f; } //add some silence at the end - for (int i = 0; i < cutout; ++i) { + for (int i = 0; i < cutout*2; ++i) { audio.push_back(0.0f); } }