Seungwan's repository
JUST DO IT.
Mar 5, 2023
[Python] gTTS 모듈을 사용해서 목소리 녹음 파일 만들기 (Recording a voice using gTTS module)
# gTTS: Google Text-to-Speech
# url: https://pypi.org/project/gTTS/
from
gtts
import
gTTS
tts
=
gTTS
(
"Hello, My name is swan. Nice to meet you."
,
lang
=
"en"
,
tld
=
"en"
)
tts
.
save
(
"introduction_file.mp3"
)
Output
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment