Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbab745

Browse files
committed
update text to speech tutorial
1 parent04a4f79 commitfbab745

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed
-192 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
202 KB
Binary file not shown.

‎machine-learning/text-to-speech/tts_pyttsx3.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@
3030
engine.setProperty("voice",voices[1].id)
3131
engine.say(text)
3232
engine.runAndWait()
33+
34+
# saving speech audio into a file
35+
engine.save_to_file(text,"python.mp3")
36+
engine.runAndWait()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp