PHPGSpeechAPI Class for using PHP Google Speech API Samples sample00.php : Permits to use the speech recognition sample01.php : Permits to use the text to speech If FFMpeg is installed, you can define the path and use it with the HTML5 tag <audio>