Azure-Samples / cognitive-services-speech-sdk

Sample code for the Microsoft Cognitive Services Speech SDK
MIT License
2.86k stars 1.84k forks source link

Add silence #1433

Closed TwinMist closed 2 years ago

TwinMist commented 2 years ago

Hi When using cognitive-services-speech-sdk/samples/js/browser/synthesis.html is it possible to add 1 second silence to start of the generated audio without using ssml option? thanks

yulin-li commented 2 years ago

Hi @TwinMist , I think SSML is the only way to add silence.

TwinMist commented 2 years ago

Can you show me how to do this plz

chschrae commented 2 years ago

This link has examples https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-synthesis-markup?tabs=csharp#add-silence