Descripción de la API de voz de Windows
Frecuentes
Visto 393 equipos
0
I want to send a SSML for TTS synthesis.
I try to make the call on the TTS Client application:
CComPtr<ISpVoice> pVoice;
pVoice->Speak(ssml, SPF_ASYNC | SPF_PARSE_SSML, NULL);
This is the correct way for synthesis a SSML?
I'm implementing the SAPI Voice too.
I implement the following interfaces: ISpTTSEngine
, ISpObjectWithToken
. But when I send with the flag SPF_PARSE_SSML
selecciona el ISpObjectWithToken::SetObjectToken
se llama, pero el ISpTTSEngine::Speak
isn't show!
My implementation is similar to this tutorial: http://www.codeproject.com/Articles/6190/Creating-Microsoft-SAPI-Compliant-Application-s
1 Respuestas
0
There was two problems.
SAPI doesn't accepts SSML. It's support SSML tags. I cannot send a full SSML.
Usar SPF_PARSE_SSML
doesn't means that the Speak
action will be done.
Respondido 04 Abr '13, 18:04
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas c++ windows text-to-speech sapi or haz tu propia pregunta.