From ed0bebc7ef9adb6573c851f8300673c97241d8dc Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 23 May 2025 20:10:16 +0400 Subject: [PATCH] enh: granular audio playback speed --- src/lib/components/chat/Settings/Audio.svelte | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/lib/components/chat/Settings/Audio.svelte b/src/lib/components/chat/Settings/Audio.svelte index 38ed005da..a24a25ace 100644 --- a/src/lib/components/chat/Settings/Audio.svelte +++ b/src/lib/components/chat/Settings/Audio.svelte @@ -35,7 +35,6 @@ // Audio speed control let playbackRate = 1; - const speedOptions = [2, 1.75, 1.5, 1.25, 1, 0.75, 0.5]; const getVoices = async () => { if (TTSEngine === 'browser-kokoro') { @@ -270,15 +269,15 @@
{$i18n.t('Speech Playback Speed')}
-
- - {#each speedOptions as option} - - {/each} - + class=" text-sm text-right bg-transparent dark:text-gray-300 outline-hidden" + /> + x