diff --git a/README.md b/README.md index b7a3c15..f7b882b 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ It is possible to use the `edge-tts` module directly from Python. For a list of * https://github.com/rany2/edge-tts/blob/master/examples/basic_generation.py * https://github.com/rany2/edge-tts/blob/master/examples/dynamic_voice_selection.py -* https://github.com/rany2/edge-tts/blob/master/examples/streaming_tts.py -* https://github.com/rany2/edge-tts/blob/master/examples/streaming_tts_with_subtitles.py +* https://github.com/rany2/edge-tts/blob/master/examples/basic_audio_streaming.py +* https://github.com/rany2/edge-tts/blob/master/examples/streaming_with_subtitles.py * https://github.com/rany2/edge-tts/blob/master/src/edge_tts/util.py * https://github.com/hasscc/hass-edge-tts/blob/main/custom_components/edge_tts/tts.py diff --git a/examples/streaming_tts.py b/examples/basic_audio_streaming.py similarity index 89% rename from examples/streaming_tts.py rename to examples/basic_audio_streaming.py index 69b3815..5bfbaed 100644 --- a/examples/streaming_tts.py +++ b/examples/basic_audio_streaming.py @@ -1,13 +1,13 @@ #!/usr/bin/env python3 """ -Streaming TTS example. +Basic audio streaming example. This example shows how to stream the audio data from the TTS engine, and how to get the WordBoundary events from the engine (which could be ignored if not needed). -The example streaming_tts_with_subtitles.py shows how to use the +The example streaming_with_subtitles.py shows how to use the WordBoundary events to create subtitles using SubMaker. """ diff --git a/examples/streaming_tts_with_subtitles.py b/examples/streaming_with_subtitles.py similarity index 91% rename from examples/streaming_tts_with_subtitles.py rename to examples/streaming_with_subtitles.py index c976c2d..c075f93 100644 --- a/examples/streaming_tts_with_subtitles.py +++ b/examples/streaming_with_subtitles.py @@ -3,7 +3,7 @@ """ Streaming TTS example with subtitles. -This example is similar to the example streaming_tts.py, but it shows +This example is similar to the example basic_audio_streaming.py, but it shows WordBoundary events to create subtitles using SubMaker. """