How do you wait for the completion of the SPXSpeechSynthesizer call with a callback in your Microsoft Azure Cognitive TTS code?

DDS 1 Reputation point
2020-09-20T21:30:51.65+00:00

How do you wait for the completion of the SPXSpeechSynthesisResult speechSynthesizer call in your Azure Cognitive TTS code?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,364 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ramr-msft 17,611 Reputation points
    2020-09-23T05:54:51.347+00:00

    @DDS We have forwarded to the product team for getting the samples for this. Currently Long Audio TTS API is in preview and this is not supported in the SDK. Long audio REST API interface should be fairly easy to use. The swagger is a good start, you could start by generating a client from there. Or start from the samples and port to those two languages.

    https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/long-audio-api

    0 comments No comments

  2. Sebastián Terrazas 1 Reputation point
    2022-10-04T02:02:51.717+00:00

    Hi @DDS , I have the same question. Did you find a way to do this?

    0 comments No comments