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
ttsproviders:polly [2018/02/15 17:32] – [About] javierttsproviders:polly [2018/02/15 17:39] (current) – [AWS Client Installation] javier
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 is 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.1518715964.txt.gz
  • Last modified: 2018/02/15 17:32
  • by javier