![Picture of Radovan Janjic Picture of Radovan Janjic](/graphics/unknown.gif)
Radovan Janjic - 2013-06-15 21:40:24 -
In reply to message 1 from Frederik Yssing
You can give it a try like this ;)
<?php
/**
* PHP_Text2Speech Class example
*/
include 'PHP_Text2Speech.class.php';
$t2s = new PHP_Text2Speech;
$t2s->lang = 'de';
?>
<audio controls="controls" autoplay="autoplay">
<source src="<?php echo $t2s->speak('Hallo, wie geht\'s.'); ?>" type="audio/mp3" />
</audio>