Add ZDSR support
The latest version of ZDSR now supports TTS API named ZDSRAPI. The functions are defined in ZDSRAPI.dll.
Instruction:
ZDSR API (ZDSRAPI) is a set of interfaces provided by ZDSR. 32-bit interface ZDSRAPI.dll; 64-bit interface ZDSRAPI_x64.dll; The application program puts the interface dll in its own application directory and calls it to obtain the related functions. Name: ZDSRAPI Version: 1 Voice control group User programs can send their own program information to the ZDSR for output.
-
Initialize the voice interface int WINAPI InitTTS(int channelType, WCHAR* channelName) Params: [in] int channelType: 0 Screen Reader channel, 1 independent channel; independent channel not yet implemented [in] WCHAR* channelName the name of the independent channel, pass NULL when channel type is 0. Return Value: 0: Success 1: Version does not match 2: Screen Reader is not run yet 3: Already initialized, no need to call repeatedly
-
Output text void WINAPI Speak(WCHAR* text, BOOL bInterrupt) Params: [in] WCHAR* text: The text will be output (unicode) [in] BOOL bInterrupt: whether to interrupt outputting Return: void
-
Output status BOOL WINAPI IsSpeaking() Return: true: outputting false: not yet output
-
Stop output void WINAPI StopSpeak() Return: void
Could you link a download url to test?
On 1/1/22, ferryboy001 @.***> wrote:
The latest version of ZDSR now supports TTS API named ZDSRAPI. The functions are defined in ZDSRAPI.dll.
Instruction:
ZDSR API (ZDSRAPI) is a set of interfaces provided by ZDSR.
32-bit interface ZDSRAPI.dll;
64-bit interface ZDSRAPI_x64.dll;
The application program puts the interface dll in its own application directory and calls it to obtain the related functions.
Name: ZDSRAPI
Version: 1
Voice control group User programs can send their own program information to the ZDSR for output.
- Initialize the voice interface
int WINAPI InitTTS(int channelType, WCHAR* channelName)
Params:
[in] int channelType: 0 Screen Reader channel, 1 independent channel; independent channel not yet implemented
[in] WCHAR* channelName the name of the independent channel, pass NULL when channel type is 0.
Return Value:
0: Success
1: Version does not match
2: Screen Reader is not run yet
3: Already initialized, no need to call repeatedly
- Output text
void WINAPI Speak(WCHAR* text, BOOL bInterrupt)
Params:
[in] WCHAR* text: The text will be output (unicode)
[in] BOOL bInterrupt: whether to interrupt outputting
Return: void
- Output status
BOOL WINAPI IsSpeaking()
Return:
true: outputting
false: not yet output
- Stop output
void WINAPI StopSpeak()
Return: void
--
Reply to this email directly or view it on GitHub:
https://github.com/dkager/tolk/issues/20
You are receiving this because you are subscribed to this thread.
Message ID: @.***>
-- with best regards Beqa Gozalishvili Tell: +995593454005 Email: @.*** Web: https://gozaltech.org Skype: beqabeqa473 Telegram: https://t.me/gozaltech facebook: https://facebook.com/gozaltech twitter: https://twitter.com/beqabeqa473 Instagram: https://instagram.com/beqa.gozalishvili
This feature is supported on youth edition (plus+) and business edition of ZDSR, but the latest version of ZDSR is testing in a QQ group, and has no installer completely but an update patch. Can I send the patch package to your email? Or you can join the QQ group if you have a QQ account. Click here to join the group
I'm gonna implement it as I know the interface inside and out, but the developer of TOLK seems not not accept pull requests anymore, plus the build chain of TOLK is broken.