Commit graph

22 commits

Author SHA1 Message Date
Claude
848c2c6cb5 Integrate Silero TTS and add infrastructure for Chatterbox/Kokoro
INTEGRATED: Silero TTS (tts-1-silero)
- Added silero_wrapper class to speech.py for PyTorch Hub integration
- CPU-friendly, no GPU required (48kHz sample rate)
- Supports 5 languages: English (117 speakers), Russian, German, Spanish, French
- Loads on-demand via torch.hub from snakers4/silero-models
- Added 6 OpenAI-compatible voice mappings (alloy, echo, fable, etc.)

PREPARED: Chatterbox & Kokoro TTS
- Added dependencies to requirements.txt:
  * git+https://github.com/resemble-ai/chatterbox.git
  * transformers>=4.35.0 (for Kokoro)
  * huggingface-hub[cli] (for model downloads)
- Created Makefile targets for downloading models
- Created test targets for all three new engines

Makefile Enhancements:
- make voices-silero: Download Silero models (en, ru, de, es, fr)
- make test-silero: Test Silero TTS endpoint
- make voices-chatterbox: Download Chatterbox models via HF CLI
- make test-chatterbox: Test Chatterbox with emotion control
- make voices-kokoro: Download Kokoro models via HF CLI
- make test-kokoro: Test Kokoro fast synthesis

speech.py Changes:
- Added silero_wrapper class with tts() method
- Added tts-1-silero model handler in generate_speech()
- Registered tts-1-silero model in app
- Added PCM media type for Silero (48000 Hz)
- Global state: silero_model, silero_speakers dict

Configuration:
- Updated voice_to_speaker.default.yaml with tts-1-silero section
- Mapped all 6 OpenAI voices to Silero speakers (en_0 through en_5)

Documentation:
- Updated docs/MODELS.md: Silero marked as  INTEGRATED
- Updated roadmap: Phase 1 task 3 completed
- Updated status footer: 3 models rescued
- Added integration examples and Makefile commands

Next Steps:
- Test Silero integration in Docker
- Implement Chatterbox emotion control engine
- Implement Kokoro fast decoder engine
2025-11-09 10:48:44 -05:00
4aebcc037f Rebrand project to UncloseAI Speech
Renamed all references from openedai-speech to uncloseai-speech across
the entire codebase, including:
- Project name in README and documentation
- Docker image names in compose files
- Makefile deployment paths and container names
- Configuration examples in vars.sh.example

This establishes our raccoon mission fork as UncloseAI Speech, a unified
TTS system supporting multiple engines (Piper, XTTS, etc.) with OpenAI
API compatibility.

🦝 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 09:11:09 -05:00
a0e94be7af 🦝 Revert to PyPI piper-tts with absolute path fix
OHF-Voice/piper1-gpl doesn't have installable Python package structure yet.
The real fix is using ABSOLUTE paths in voice_to_speaker.yaml, not newer Piper version.

Solution: Use /app/voices/en/en_US/libritts_r/medium/en_US-libritts_r-medium.onnx

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 08:27:44 -05:00
5564d3fc6f 🦝 Raccoon Mission: Add Makefile and upgrade to Piper v1.3.0 from OHF-Voice
- Add comprehensive Makefile for deployment to ai.foxhop.net
- Switch from abandoned rhasspy/piper to OHF-Voice/piper1-gpl v1.3.0
- Add voice download automation with correct directory structure
- Includes deploy, sync, test, logs, and voice management commands

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 08:19:02 -05:00
5fa62908d8 notes for setting up with docker on ubuntu 24.04 LTS
new file:   boot_docker_compose_ubuntu.sh
	modified:   requirements.txt
2025-05-23 17:18:42 -04:00
matatonic
49b3f8e1dc Fixes: #42 2024-08-15 17:24:33 -04:00
book3
be02887ad9 using landetect to automatically set the language of the request in xtts
inference
2024-07-01 12:33:27 -03:00
matatonic
964b23a21c 0.15.1 +Fixes #24, no deepspeed by default, you're on your own for now 2024-06-27 10:23:58 -04:00
matatonic
be759f3fea 0.15.0 2024-06-27 01:43:43 -04:00
matatonic
c957ad86fc 0.14.1 +deepspeed (not in prebuilt docker) 2024-06-27 00:47:56 -04:00
matatonic
ae6a384e75 0.14.0 +streaming, +pcm, +wav, +temp, top_p, etc. 2024-06-26 20:54:24 -04:00
matatonic
34bf525c89 0.13.0 final 2024-06-25 17:20:28 -04:00
matatonic
72c7b799b9 xtts: +AMD gpu ROCm, +Apple MPS 2024-06-24 20:35:07 -04:00
matatonic
ea4af74e5c 0.13.0 -parler, +arm64, +audio_reader 2024-06-23 12:52:03 -04:00
matatonic
f21ed56a00 0.12.0 - Improved errors & logging, swap alloy default voice
closes #3, re: #11
2024-06-16 23:35:11 -04:00
matatonic
2fcb7cef0f 0.11.0 - Multilingual, new startup & dockerfiles, Fixes: #5, #6, #8, #9 2024-05-29 17:01:11 -04:00
matatonic
9a7912a78b 0.10.1 - fixes #1 2024-05-05 13:11:21 -04:00
matatonic
6864cf03b1 0.10.0 2024-04-26 20:42:33 -04:00
matatonic
4d76aca1af 0.9.0 2024-04-23 22:07:23 -04:00
matatonic
62c9d3caac typo 2024-03-20 13:44:23 -04:00
matatonic
7a6abf1538 0.2.0 rc1 2023-11-27 19:27:31 -05:00
matatonic
e4d001da93 initial 2023-11-26 21:41:59 -05:00