diff --git a/src/zeta-ball/tts.py b/src/zeta-ball/tts.py new file mode 100644 index 0000000..1b1cd13 --- /dev/null +++ b/src/zeta-ball/tts.py @@ -0,0 +1,18 @@ +import json, numpy as np +from pocket_tts import TTSModel +S = json.load(open('script.json')) +import pocket_tts, pathlib; m = TTSModel.load_model(config=str(pathlib.Path(pocket_tts.__file__).parent / 'config' / 'english_2026-01.yaml')) +assert int(m.sample_rate) == 24000 +st = m.get_state_for_audio_prompt('azelma') +gap = np.zeros(int(0.6 * 24000), dtype='