官术网_书友最值得收藏!

Converting text-to-voice

Sometimes, a text has to be converted into a voice. It can be useful for a personal bot to speak back to a user. 

Let's look at how to use the AWS API for text-to-speech Amazon Polly. With the API, you can pass the text and convert it to speech. The audio file can be either streamed or downloaded.

The voice should be natural sounding, to connect with the user. Google can provide this in 30 different voices, in 12 different languages. The speed and pitch can be adjusted. Go to https://cloud.google.com/text-to-speech/ and try out a demo. The following screenshot shows an example; all of the parameters can be tuned:

Tuning of parameters

The requests can be sent from any connected device, such as a mobile, car, TV, and so on. It can be used for customer service, presenting educational text, or for animation content.

主站蜘蛛池模板: 拜泉县| 杭锦旗| 海淀区| 喀什市| 锡林郭勒盟| 文成县| 兴安县| 吴忠市| 虹口区| 东安县| 惠来县| 合川市| 乐山市| 同仁县| 土默特左旗| 兴和县| 灯塔市| 通榆县| 谢通门县| 抚宁县| 平潭县| 通城县| 淮阳县| 农安县| 怀柔区| 贵州省| 石狮市| 鄂伦春自治旗| 鄂州市| 沂南县| 大余县| 海伦市| 永平县| 吉首市| 金山区| 贵定县| 漳浦县| 巴青县| 兰西县| 大足县| 古交市|