Views
No views yet
phoonnx_an_miro_unicode, the closest available language for this voice.1import wave
2from phoonnx.config import SynthesisConfig
3from phoonnx.voice import TTSVoice
4
5voice = TTSVoice.from_hf("OpenVoiceOS/phoonnx_oc_miro_unicode")
6
7synthesis_config = SynthesisConfig(noise_scale=0.667, length_scale=1.0, noise_w_scale=0.8)
8
9with wave.open("output.wav", "wb") as wav_file:
10 voice.synthesize_wav("Bon jorn, cossí vas?", wav_file, synthesis_config)1{
2 "tts": {
3 "module": "ovos-tts-plugin-phoonnx",
4 "ovos-tts-plugin-phoonnx": {
5 "voice": "OpenVoiceOS/phoonnx_oc_miro_unicode"
6 }
7 }
8}