こんにちは、今回はタイトルにもあるようにpythonでGTTSライブラリを用いて音声データを保存するプログラムを紹介します。 GTTSとは、Google Text To Speakの略でありgoogleから公開されていて、テキスト内容の言葉を音声ファイルに変換するためのライブラリです。
A TTS Reader in python which uses gTTS API, you can use to read a bunch of text, Note that you need internet access.
でplaysound3モジュールを使ったMP3再生がうまく行ったので、gTTSと組み合わせて新しいライブラリにします。 前のくりかえしになりますが、これまで使っていたライブラリのソースは というもの。ここで、pygameを使うのやめる、timeもやめる。 代わりにplaysound3 ...
The Text To Speech project is a Python-based application that converts user-provided text into speech using the Google Text-to-Speech (gTTS) library. The application takes a text string and a username ...