User Tools

Site Tools


getting_20the_20current_20voice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
getting_20the_20current_20voice [2018/03/31 13:19] – external edit 127.0.0.1getting_20the_20current_20voice [2024/01/05 00:22] (current) – external edit 127.0.0.1
Line 1: Line 1:
 =====Getting the current voice===== =====Getting the current voice=====
  
-//by Richard Russell, March 2013//\\ \\ //**This article is specific to the SAPI5 speech system, typically installed on Windows 2000, XP and later**//\\ \\  The code below can be used to discover the currently selected voice name:\\ +//by Richard Russell, March 2013//\\ \\ //**This article is specific to the SAPI5 speech system, typically installed on Windows 2000, XP and later**//\\ \\  The code below can be used to discover the currently selected voice name: 
 + 
 +<code bb4w>
         voice$ = FN_getvaluestr(tts%, "Voice.GetDescription")         voice$ = FN_getvaluestr(tts%, "Voice.GetDescription")
-Where **tts%** is the value returned from "FN_createobject("Sapi.SpVoice")".\\ \\  Here is a self-contained program illustrating its use:\\ +</code> 
 + 
 +Where **tts%** is the value returned from "FN_createobject("Sapi.SpVoice")".\\ \\  Here is a self-contained program illustrating its use: 
 + 
 +<code bb4w> 
         INSTALL @lib$+"COMLIBA"         INSTALL @lib$+"COMLIBA"
  
Line 19: Line 25:
         PROC_comexit         PROC_comexit
         END         END
 +</code>
getting_20the_20current_20voice.1522502363.txt.gz · Last modified: 2024/01/05 00:17 (external edit)