Skip to content

Add voice library for ~/.cornball/voices/#1

Merged
TroyHernandez merged 4 commits into
mainfrom
voice-library
Mar 4, 2026
Merged

Add voice library for ~/.cornball/voices/#1
TroyHernandez merged 4 commits into
mainfrom
voice-library

Conversation

@TroyHernandez

Copy link
Copy Markdown
Contributor

Summary

  • New voice_library(), voice_file(), voice_ensure() functions for canonical voice discovery from ~/.cornball/voices/
  • Configurable via TTS_VOICES_DIR env var
  • Updated Chatterbox filesystem fallback in tts_voices() to use voice_library()

Test plan

  • tts.api::voice_library() returns all voices from ~/.cornball/voices/
  • tts.api::voice_file("DelicateCasey") resolves correctly (case-insensitive)
  • tts.api::voice_ensure() uploads to server when missing

TroyHernandez and others added 4 commits January 31, 2026 07:54
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Follows chatterbox rename to avoid conflict with tts.api::tts().
.gpuctl_acquire() now calls gpu_service_url() to get the correct
URL (including remote hosts) and sets tts.api_base automatically.
tts() wires this in for chatterbox and qwen3 container backends.
voice_library() scans TTS_VOICES_DIR (default ~/.cornball/voices) for audio files.
voice_file() resolves voice name to file path with case-insensitive matching.
voice_ensure() checks server, uploads from library if missing.
Updated tts_voices() Chatterbox fallback to use voice_library().
@TroyHernandez TroyHernandez merged commit 171512d into main Mar 4, 2026
4 checks passed
@TroyHernandez TroyHernandez deleted the voice-library branch March 4, 2026 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant