ttsproviders:polly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
ttsproviders:polly [2018/02/15 17:32] – [About] javierttsproviders:polly [2018/02/15 17:38] – [AWS Client Installation] javier
Line 5: Line 5:
 ** Polly from Amazon ** ** Polly from Amazon **
  
-Website: __[[https://aws.amazon.com/polly]]__ +  *Website: __[[https://aws.amazon.com/polly]]__ 
-Pricing: __[[https://aws.amazon.com/polly/pricing/]]__+  *Pricing: __[[https://aws.amazon.com/polly/pricing/]]__
  
 ===== Definition ===== ===== Definition =====
Line 27: Line 27:
 </code> </code>
  
 +Once aws-cli command is installed, you can check that it's working by using this command line, according to your credentials :
 +<code>
 +AWS_ACCESS_KEY_ID=XXXXXXXXXXXXXXXXXXXX \
 +AWS_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
 +/usr/bin/aws  polly synthesize-speech    --output-format mp3    --voice-id Joanna    --text 'Hello my name us Joanna!' --region 'eu-west-1' hello.mp3
 +</code>
 +The result looks like :
 +<code>
 +{
 +    "ContentType": "audio/mpeg", 
 +    "RequestCharacters": "5"
 +}
 +# file hello.mp3 
 +hello.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v2,  48 kbps, 22.05 kHz, Monaural
 +</code>
 ===== Configuration ===== ===== Configuration =====
  
  • ttsproviders/polly.txt
  • Last modified: 2018/02/15 17:39
  • by javier