Dim tt As String = "I shall be seventy-three years old in about three months, and the truth is, I am now becoming somewhat indolent, and averse to labor of any kind, either mental or physical. But I have concluded to comply with your request, and undertake the work."
Dim tts As KokoroTTS = KokoroTTS.LoadModel()
Dim heartVoice As KokoroVoice = KokoroVoiceManager.GetVoice("af_heart") '.GetVoice("af_alloy")
Dim pp As New KokoroTTSPipelineConfig
pp.Speed = 1.0
pp.SecondsOfPauseBetweenProperSegments = New PauseAfterSegmentStrategy(CommaPause:=0.9F, PeriodPause:=0.9F)
tts.SpeakFast(tt, heartVoice, pp)
For the above code changing the CommaPause; the pause sometimes is zero("three months, ")and other times seems OK. Speed works ok.
thanks
Dim tt As String = "I shall be seventy-three years old in about three months, and the truth is, I am now becoming somewhat indolent, and averse to labor of any kind, either mental or physical. But I have concluded to comply with your request, and undertake the work."
Dim tts As KokoroTTS = KokoroTTS.LoadModel()
Dim heartVoice As KokoroVoice = KokoroVoiceManager.GetVoice("af_heart") '.GetVoice("af_alloy")
Dim pp As New KokoroTTSPipelineConfig
pp.Speed = 1.0
pp.SecondsOfPauseBetweenProperSegments = New PauseAfterSegmentStrategy(CommaPause:=0.9F, PeriodPause:=0.9F)
tts.SpeakFast(tt, heartVoice, pp)
For the above code changing the CommaPause; the pause sometimes is zero("three months, ")and other times seems OK. Speed works ok.
thanks