mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #8512] [CLOSED] feat: Add TTS control playback rate & audio to chat view #37869
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8512
Author: @kyunwang
Created: 1/13/2025
Status: ❌ Closed
Base:
dev← Head:feature/chatview-audio-control📝 Commits (1)
5aeb967Add TTS playrate and volume control in chat view📊 Changes
11 files changed (+173 additions, -9 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+6 -0)📝
src/lib/components/chat/ChatControls.svelte(+3 -0)➕
src/lib/components/chat/Controls/AudioControls.svelte(+87 -0)📝
src/lib/components/chat/MessageInput.svelte(+27 -0)📝
src/lib/components/chat/MessageInput/CallOverlay.svelte(+5 -2)📝
src/lib/components/chat/Messages.svelte(+2 -0)📝
src/lib/components/chat/Messages/Message.svelte(+3 -0)📝
src/lib/components/chat/Messages/MultiResponseMessages.svelte(+2 -0)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+6 -2)📝
src/lib/components/chat/Settings/Audio.svelte(+30 -5)📝
src/lib/constants.ts(+2 -0)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
The Audio controls (TTS) currently not quick to access when in the chat view and requires multiple clicks to access.
This PR adds an additional CTA to the chat view to allow for quick access to the playbackrate and volume controls for the TTS.
Includes an additional Volume control to the TTS settings Audio to be saved.
Added
MessageInput.svelte) to allow for quick access to the playbackrate and volume controls for the TTS.audioParamsbinding for temporary values across sessions.AudioControls.svelteto handle the audio control logic.AUDIO_PLAYBACKRATE_OPTIONSfor playbackRate select options.Audio.svelteAdditional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.