Ivona Speech Synthesizer » History » Version 4
  Elías Ingi Björgvinsson, 2019-10-05 14:08 
  
| 1 | 1 | Elías Ingi Björgvinsson | h1. Ivona Speech Synthesizer | 
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | h2. Ivona speech synth service | ||
| 5 | |||
| 6 | The Ivona program files are in /opt/Ivona | ||
| 7 | Ivona must be running as a demon in order to be usable. | ||
| 8 | |||
| 9 | h3. To see if the service is running | ||
| 10 | |||
| 11 | There is a file that keeps the program id (pid) in /opt/ivona/ivonacl.pid | ||
| 12 | If this file is in place the service is running. | ||
| 13 | |||
| 14 | h3. Commands for service | ||
| 15 | |||
| 16 | To see the pid number: | ||
| 17 | |||
| 18 | _cat /opt/ivona/ivonacl.pid_ | ||
| 19 | |||
| 20 | To start the service: | ||
| 21 | |||
| 22 | _sudo .//opt/ivona/bin/ivonacl -D_ | ||
| 23 | |||
| 24 | To stop the service: | ||
| 25 | |||
| 26 | _sudo kill $(cat /opt/ivona/ivonacl.pid)_ | ||
| 27 | |||
| 28 | h3. Getting results from service | ||
| 29 | |||
| 30 | To get results from the service you must send a HTTP POST request with the text (string) | ||
| 31 | that you want to synthesize to a PHP script that handles the request. | ||
| 32 | |||
| 33 | 4 | Elías Ingi Björgvinsson | URL for HTTP POST: | 
| 34 | _https://secom-dev.ru.is/Ivona_speechsynth/synth.php_ | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | 1 | Elías Ingi Björgvinsson | *PHP – script* | 
| 39 | 2 | Elías Ingi Björgvinsson | Copy of the script is in /opt/ivona/share/doc/ivona/examples/synth.php |