Skip to content

Commit 4c7137e

Browse files
Update how-to-lower-speech-synthesis-latency.md
1 parent 36a8fd7 commit 4c7137e

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

articles/ai-services/speech-service/how-to-lower-speech-synthesis-latency.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ For Linux and Windows, `GStreamer` is required to enable this feature.
318318
Refer [this instruction](how-to-use-codec-compressed-audio-input-streams.md) to install and configure `GStreamer` for Speech SDK.
319319
For Android, iOS and macOS, no extra configuration is needed starting version 1.20.
320320
321-
## Text streaming
321+
## Input text streaming
322322
323323
Text streaming allows real-time text processing for rapid audio generation. It's perfect for dynamic text vocalization, such as reading outputs from AI models like GPT in real-time. This feature minimizes latency and improves the fluidity and responsiveness of audio outputs, making it ideal for interactive applications, live events, and responsive AI-driven dialogues.
324324
@@ -385,6 +385,40 @@ For detailed implementation, see the [sample code on GitHub](https://github.com/
385385
386386
::: zone-end
387387

388+
::: zone pivot="programming-language-cpp"
389+
390+
Currently, only C# and Python are supported in the SDK. Support for C++, Java and Objective-C is planned for future releases.
391+
392+
For the sample code that shows how to use text streaming, see:
393+
394+
- [C# Sample Code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/csharp/tts-text-stream)
395+
- [Python Sample Code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/python/tts-text-stream)
396+
397+
::: zone-end
398+
399+
::: zone pivot="programming-language-java"
400+
401+
Currently, only C# and Python are supported in the SDK. Support for C++, Java and Objective-C is planned for future releases.
402+
403+
For the sample code that shows how to use text streaming, see:
404+
405+
- [C# Sample Code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/csharp/tts-text-stream)
406+
- [Python Sample Code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/python/tts-text-stream)
407+
408+
::: zone-end
409+
410+
::: zone pivot="programming-language-objectivec"
411+
412+
Currently, only C# and Python are supported in the SDK. Support for C++, Java and Objective-C is planned for future releases.
413+
414+
For the sample code that shows how to use text streaming, see:
415+
416+
- [C# Sample Code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/csharp/tts-text-stream)
417+
- [Python Sample Code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/python/tts-text-stream)
418+
419+
::: zone-end
420+
421+
388422
## Others tips
389423

390424
### Cache CRL files

0 commit comments

Comments
 (0)