Jump to content

< Back to Forum


Tts Changes From 7.5.7 To 7.5.12

  • Please log in to reply

#1 darylr 07 November 2017 - 04:49 AM

I have the Enterprise License and am using the Windows Server 2012 R2  SAPI TTS engine.  in 5.7.5, I was using the Zira voice and had the SAPI section of the vg.ini set to this:


;Which of the SAPI Engines VoiceGuide should use to do TTS. Set to DISABLE to stop loading TTS altogether. If left blank the default SAPI voice will be used.
TTSEngine=Microsoft Zira Desktop - English (United States)
;if the TTS engine does not support XML tags to regulate speed & volume of the generated Sound file. 
;then use the entries below to control these settings. Other engines allow you to use XML tags to regulate speed/volume etc 
;TTSspeed range is -10 to 10. 0 is default speed
;TTSvolume range is 0 to 100. 100 is max volume
I have upgraded to v7.5.12 and the TTS voice has defaulted to MS David.
I get this info from the KTtts.txt file:
     102502.194  1488        ktTtsSapi v7.5.12
     102502.194  1488        log [C:\Program Files (x86)\VoiceGuide\log\] level=10 options []
     102502.194  1488        ------------------------------------------------------------------------------
     102502.194  1488        SpEnumTokens call
     102502.197  1488        GetCount call
     102502.197  1488        GetCount returned ulNumTokens=3
     102502.197  1488        tts voice 0 : Microsoft David Desktop - English (United States)
     102502.197  1488                      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_DAVID_11.0
     102502.197  1488        tts voice 1 : Microsoft Hazel Desktop - English (Great Britain)
     102502.197  1488                      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-GB_HAZEL_11.0
     102502.197  1488        tts voice 2 : Microsoft Zira Desktop - English (United States)
     102502.197  1488                      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-US_ZIRA_11.0
     102502.197  1488  NOTE  TTS engine used is set to first engine in list, as no TTS engine set in VG.INI [SAPI] TTSEngine entry. pToken=0C5023DC
     102502.197  1488        Create tts thread. threadnumber= 1, handle= 2412 threadid= 5512
     102502.197  1488        ThreadPriority -1
     102502.198  5512          1   ProcessTTSJob thread created
     102502.199  5512          1   cpSpStream=0C501618


The note says no TTSEngine entry was found.  I have read the online help under configuration in the TTS section.  It references a [TTS] section that is not in the ini file.


Here's the text I am referring to:


To use SAPI TTS engine the VG.INI [TTS] EngineType entry must be set to:


The SAPI_Engine entry then must be set to the SAPI TTS Engine to use. eg:

SAPI_Engine=Cepstral Allison-8kHz

The list of TTS engine names that are installed on the system can be obtained from the VoiceGuide ktTts trace log file. At the beginning of the trace file there will be a section that lists all SAPI engines installed on the system. That section looks something like this:

124244.953 2812 tts voice 0 : Microsoft Mary
124244.953 2812 tts voice 1 : Microsoft Mike
124244.953 2812 tts voice 2 : Microsoft Sam
124244.953 2812 tts voice 3 : Cepstral Allison-8kHz
124244.953 2812 tts voice 4 : Sample TTS Voice

The name of the engine is listed after the "tts voice X : " tag.
Read more at: http://www.voiceguid.../config_tts.htm


I tried adding a [TTS] section with these entries:




SAPI_Engine=Microsoft Zira Desktop - English (United States)



I am still getting the default David.  I'm sure I have a syntax error or something else missing.  Any help would be appreciated.






#2 SupportTeam 07 November 2017 - 05:48 AM

Please update this system to current latest version of VoiceGuide: v7.5.14


If you still encounter any issues please post vgEngine trace which captures system startup.