Releases: KoljaB/RealtimeTTS
Releases Β· KoljaB/RealtimeTTS
v0.4.55
RealtimeTTS v0.4.55 Release Notes
-
Enhanced OpenAI Engine Initialization:
- Added optional parameters:
instructions
,debug
,speed
,response_format
, andtimeout
. - Updated available voices to include "ash", "coral", and "sage".
- Note: The
speed
andtimeout
parameters are not working at the moment; unclear why - they are being submitted to the API.
- Added optional parameters:
-
Text-to-Stream Improvements:
- Introduced an
error_flag
to track errors during playback. - Set the synthesis worker thread as daemon to ensure proper thread termination.
- Introduced an
-
Dependency Update:
- Upgraded the OpenAI package from version 1.66.3 to 1.68.2.
v0.4.54
RealtimeTTS v0.4.54 Release Notes
New Engine:
β¨ Added OrpheusEngine
- Real-time TTS for Orpheus-3B model with:
- multiple voice presets (
zac
,zoe
,tara
, etc.) - emotive speech tags support (
<laugh>
,<gasp>
, etc.) - low-latency streaming (<100ms time to first audio token)
- uses an external server β lets you generate tts on another network system
Installation:
pip install realtimetts[orpheus]
Requires: LM Studio (local) or compatible API server running Orpheus-3B-0.1-ft-Q8_0-GGUF. Load model in LM Studio before use.
Example code:
Here is a code example showcasing how you can use the OrpheusEngine.
v0.4.52
v0.4.51
RealtimeTTS v0.4.51 Release Notes
- added on_word callback to TextToAudioStream that gets called when a word gets played out
Supported by AzureEngine and english voices of KokoroEngine.
An instance of class TimingInfo from BaseEngine.py gets submitted as parameter. It carries the members word, start_time and end_time. For examples please look into tests/kokoro_test.py and tests/azure_test.py
WordTimings.mp4
v0.4.50
RealtimeTTS v0.4.50 Release Notes
- added possibility to mix voices for KokoroEngine:
engine.set_voice("0.714*af_nicole + 0.286*af_sky")
This feature allows you to mix a custom voice. You can use π οΈ this tool and copy/paste the voice combination formula.
π Code to test voice mixing mixing voices with Kokoro