I am running the espeak from linux in terminal which is working completely fine. My problem is that i want to run the espeak from php(in xampp).
<?php
$a="espeak sometext";
system($a);
?>
but that is not working.and is not producing any sound
where as in windows this thing is working absolutely fine with espeak command line program when called in cmd by php script the code is
<?php
$a='espeak "your text"';
system($a);
?>
can you guys please help me in running this in linux as well. Thanks in advance.
This espeak cannot be used with the help of the system command as the system command will be executed only in the server not in the client computer. In other words speaking if your server has the audio card it will play the sound in the server. The only option is you got to use the lame the guide is given in the egudiedog.net