Update Uptated-Prototype/TTS-Script-PiperTTS 2nd.py
This commit is contained in:
@@ -19,7 +19,7 @@ voicedir = os.path.expanduser('~') #Where onnx model files are stored on my mach
|
||||
model = voicedir+"/en_GB-alba-medium.onnx"
|
||||
voice = PiperVoice.load(model)
|
||||
|
||||
syn_config = SynthesisConfig(
|
||||
syn_config = PiperVoice.SynthesisConfig(
|
||||
volume=0.5, # half as loud
|
||||
length_scale=2.0, # twice as slow
|
||||
noise_scale=0.0, # more audio variation
|
||||
|
||||
Reference in New Issue
Block a user