Solved

how to do text to speech on a particular cell in a table returned by a php file

Posted on 2014-12-15
1
190 Views
Last Modified: 2014-12-30
I have a php file that runs a select query against a databse I would like to have the page read certain cells as in text to speech. attached is part of my php script. I have googlerd and found js that performs tts but I have no idea where or how to include in my php scriptsample-php.txtsample-php.txt
0
Comment
Question by:Dov_B
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 24

Accepted Solution

by:
mankowitz earned 500 total points
ID: 40501224
This is more than just a javascript question. The code you included to read text to speech won't work with google TTS any more. You have to build a proxy server in order to get it to work.  Basically, what you want to do is download a TTS plug-in like this one https://github.com/janantala/speech-synthesis and work off of that.

If you are sure that your users are using latest version of Chrome or Safari, you can use HTML5 speech synthesis
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question