Project

General

Profile

Ivona Speech Synthesizer » History » Version 2

Elías Ingi Björgvinsson, 2019-10-05 13:59

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
29
h3. Getting results from service
30
31
To get results from the service you must send a HTTP POST request with the text (string) 
32
that you want to synthesize to a PHP script that handles the request. 
33
34
*PHP – script*
35 2 Elías Ingi Björgvinsson
Copy of the script is in  /opt/ivona/share/doc/ivona/examples/synth.php