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

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

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

Azure Cognitive Services
Azure Cognitive Services
A group of Azure artificial intelligence services and cognitive APIs that help build intelligent apps.
938 questions
{count} votes

2 answers

Sort by: Most helpful
  1. answered 2020-09-23T05:54:51.347+00:00
    Ramr-msft 10,061 Reputation points Microsoft Employee

    @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

    No comments

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

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

    No comments