Recording synthesized text-to-speech to a file in Python

前端 未结 5 414
小蘑菇
小蘑菇 2020-12-16 20:03

I am attempting to find a way to take synthesized speech and record it to an audio file. I am currently using pyttsx as my text-to-speech library, but there isn\'t a mechani

5条回答
  •  盖世英雄少女心
    2020-12-16 20:20

    You can use Amazon Polly API as well:

    An example using python is available below:

    https://aws.amazon.com/blogs/machine-learning/convert-your-text-into-an-mp3-file-with-amazon-polly-and-a-simple-python-script/

提交回复
热议问题