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

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.

主站蜘蛛池模板: 阳信县| 柯坪县| 鄯善县| 青州市| 南汇区| 成安县| 新疆| 金山区| 渭源县| 金堂县| 景德镇市| 永修县| 石林| 淮阳县| 隆回县| 山西省| 延川县| 横山县| 土默特左旗| 拜城县| 北碚区| 静乐县| 巩义市| 周口市| 化州市| 香港 | 高要市| 土默特左旗| 池州市| 阜宁县| 德化县| 博白县| 会东县| 呼和浩特市| 青冈县| 新巴尔虎右旗| 徐州市| 英吉沙县| 平顺县| 白银市| 福泉市|