[PR #1061] [MERGED] Add audio format selection (mp3/wav) #4906

Closed
opened 2026-10-22 04:11:37 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1061
Author: @BahamutRU
Created: 5/21/2026
Status: ✅ Merged
Merged: 5/21/2026
Merged by: @cha1latte

Base: staging ← Head: main


📝 Commits (2)

  • 4bb8dc7 feat(tts): add audio format selection (mp3/wav)
  • d315e3f fix(tts): restrict audio format selection to OpenAI-compatible and PocketTTS

📊 Changes

3 files changed (+42 additions, -4 deletions)

View changed files

📝 packages/client/src/components/panels/settings/TTSConfigCard.tsx (+24 -1)
📝 packages/server/src/routes/tts.routes.ts (+14 -3)
📝 packages/shared/src/types/tts.ts (+4 -0)

📄 Description

Linked issue

Closes #1057

Why this change

  • Some TTS API does not support mp3.

What changed

  • Add audio format selection (mp3/wav).

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

I clone this from repo, build it, ran it in different modes, checked mobile, and generate OpenAI-compatible audio.
Here we have 1 default button added and 1 variable flies away instead of a fixed string.
And, I dunno need this Docs or not.

Docs and release impact

  • No docs changes needed ?
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

image

🔄 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/Pasta-Devs/Marinara-Engine/pull/1061 **Author:** [@BahamutRU](https://github.com/BahamutRU) **Created:** 5/21/2026 **Status:** ✅ Merged **Merged:** 5/21/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `staging` ← **Head:** `main` --- ### 📝 Commits (2) - [`4bb8dc7`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4bb8dc7bec4c772ac30720040e8b7534588d2f8f) feat(tts): add audio format selection (mp3/wav) - [`d315e3f`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d315e3f41b48580baa41c0d9b91efe1b8e1f2b0f) fix(tts): restrict audio format selection to OpenAI-compatible and PocketTTS ### 📊 Changes **3 files changed** (+42 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/panels/settings/TTSConfigCard.tsx` (+24 -1) 📝 `packages/server/src/routes/tts.routes.ts` (+14 -3) 📝 `packages/shared/src/types/tts.ts` (+4 -0) </details> ### 📄 Description ## Linked issue Closes #1057 ## Why this change - Some TTS API does not support mp3. ## What changed - Add audio format selection (mp3/wav). ## Validation <!-- Required: include commands run and/or manual checks performed --> - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [x] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes I clone this from repo, build it, ran it in different modes, checked mobile, and generate OpenAI-compatible audio. Here we have 1 default button added and 1 variable flies away instead of a fixed string. And, I dunno need this Docs or not. ## Docs and release impact - [ ] No docs changes needed ? - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) <img width="1486" height="870" alt="image" src="https://github.com/user-attachments/assets/0528b5af-b6dd-467e-93f1-ac20d75cb705" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:11:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4906
No description provided.