-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added 48 kHz azure and styletts voice change
- Loading branch information
Showing
8 changed files
with
265 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ Let me know if you need any adjustments or additional languages! | |
|
||
## Updates | ||
|
||
Latest Version: v0.4.19 | ||
Latest Version: v0.4.20 | ||
|
||
Introducing StyleTTS2 engine: | ||
|
||
|
@@ -665,14 +665,8 @@ While the source of this library is open-source, the usage of many of the engine | |
Kolja Beigel | ||
Email: [email protected] | ||
<p align="center"> | ||
<a href="https://github.com/KoljaB/RealtimeTTS" target="_blank"> | ||
<img src="https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub"> | ||
</a> | ||
| ||
<a href="#realtimetts" target="_blank"> | ||
<img src="https://img.shields.io/badge/Back%20to%20Top-000000?style=for-the-badge" alt="Back to Top"> | ||
</a> | ||
</p> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
current_version = "0.4.19" | ||
current_version = "0.4.20" | ||
|
||
import setuptools | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
if __name__ == "__main__": | ||
import os | ||
from RealtimeTTS import TextToAudioStream, AzureEngine | ||
|
||
def dummy_generator(): | ||
yield "Hey guys! These here are realtime spoken sentences based on local text synthesis. " | ||
yield "With a local, neuronal, cloned voice. So every spoken sentence sounds unique." | ||
|
||
# for normal use with minimal logging: | ||
import os | ||
engine = AzureEngine( | ||
os.environ["AZURE_SPEECH_KEY"], | ||
os.environ["AZURE_SPEECH_REGION"], | ||
audio_format="riff-48khz-16bit-mono-pcm" | ||
) | ||
|
||
stream = TextToAudioStream(engine) | ||
|
||
print("Starting to play stream") | ||
stream.feed(dummy_generator()).play(log_synthesized_text=True) | ||
|
||
engine.shutdown() |
Oops, something went wrong.