Text To Speech Converter Using PHP With Source Code

Project : Text To Speech Converter

This Program converts Text into speech using Microsoft Speech API. User just have to type text and click the button, this program will automatically convert your text into speech form.

Project Demo:

DOWNLOAD TEXT TO SPEECH CONVERTER USING PHP WITH SOURCE CODE : CLICK THE BUTTON BELOW


0 0 votes
Article Rating
Subscribe
Notify of
guest
4 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
prabhat sahu
prabhat sahu
4 years ago

“” Fatal error: Uncaught Error: Class ‘COM’ not found in C:xampphtdocsPHP Text To SpeechPHP TXT TO SPEECHindex.php:5 Stack trace: #0 {main} thrown in C:xampphtdocsPHP Text To SpeechPHP TXT TO SPEECHindex.php on line 5 “”

in line -” $voice = new COM(“SAPI.SpVoice”); ”

i am getting error….. can i know what is error…

Riddhi Malhotra
Riddhi Malhotra
4 years ago

Fatal error: Uncaught exception ‘com_exception’ with message ‘Source: Unknown
Description: Unknown’ in C:xampphtdocsPHP Text To SpeechPHP TXT TO SPEECHindex.php:32 Stack trace: #0 C:xampphtdocsPHP Text To SpeechPHP TXT TO SPEECHindex.php(32): com->Speak(‘Congratulations…’) #1 {main} thrown in C:xampphtdocsPHP Text To SpeechPHP TXT TO SPEECHindex.php on line 32
I get this error even though I’ve added the line given in readme file.

pavan
pavan
4 years ago

This tool is working fine for me. But the issue is to change the voice of the speech. How can I change the male voice to female voice?

4
0
Would love your thoughts, please comment.x
()
x