Text to Speech using Microsoft Speech API In PHP

Text to Speech using Microsoft Speech API In PHP




Microsoft Speech API
The Speech Application Programming Interface
or SAPI is an API developed by Microsoft to
allow the use of speech recognition and speech
synthesis within Windows applications. To date,
a number of versions of the API have been released,
which have shipped either as part of a Speech SDK,
or as part of the Windows OS itself. Applications
that use SAPI include Microsoft Office, Microsoft
Agent and Microsoft Speech Server.


before you can run this file, add first


at the end of your 'php.ini' file

Xampp for Windows = (Drive Letter):\xampp\php\php.ini
Wamp (Drive Letter):\wamp\bin\apache\apache(version)\bin\php.ini ----(I'm not sure about this one because I'm using Xampp)


For Installation of COM() function:

If you get error(s), refer to this link:

Using this code, you can embed text-to-speech which you can use in registration system, attendance system and the like.

Need a Website Or Web Application Or Any Help In Code , Contact Us: +91 8778409644 (Whatsapp) or Email: uma@f5craft.com | Visit: www.f5craft.in /.com, Note: Paid Service Only