Before submitting, make sure you've checked the following:
Target branch: Please verify that the pull request targets the dev branch.
Description: Provide a concise description of the changes made in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests for validating the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
feat: Introduces a new feature or enhancement to the codebase
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
Added a CTA to the chat view (MessageInput.svelte) to allow for quick access to the playbackrate and volume controls for the TTS.
Added audioParams binding for temporary values across sessions.
Added a new component called AudioControls.svelte to handle the audio control logic.
Added a constant AUDIO_PLAYBACKRATE_OPTIONS for playbackRate select options.
Added playback volume control to TTS settings Audio.svelte
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/8512
**Author:** [@kyunwang](https://github.com/kyunwang)
**Created:** 1/13/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `feature/chatview-audio-control`
---
### 📝 Commits (1)
- [`5aeb967`](https://github.com/open-webui/open-webui/commit/5aeb9672bce99c56f1404781550ac36060010fe2) Add TTS playrate and volume control in chat view
### 📊 Changes
**11 files changed** (+173 additions, -9 deletions)
<details>
<summary>View changed files</summary>
📝 `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)
</details>
### 📄 Description
# Pull Request Checklist
**Before submitting, make sure you've checked the following:**
- [x] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [x] **Description:** Provide a concise description of the changes made in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [x] **Testing:** Have you written and run sufficient tests for validating the changes?
- [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [x] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following:
- **feat**: Introduces a new feature or enhancement to the codebase
# 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
- Added a CTA to the chat view (`MessageInput.svelte`) to allow for quick access to the playbackrate and volume controls for the TTS.
- Added `audioParams` binding for temporary values across sessions.
- Added a new component called `AudioControls.svelte` to handle the audio control logic.
- Added a constant `AUDIO_PLAYBACKRATE_OPTIONS` for playbackRate select options.
- Added playback volume control to TTS settings `Audio.svelte`
### Additional Information
- Related issue: #1331
- For discussion: #8511
### Screenshots or Videos




---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.