Questions tagged [speech-synthesis]

Speech synthesis is the artificial production of human speech.

Speech synthesis is the artificial production of human speech. A computer system used for this purpose is called a speech synthesizer, and can be implemented in software or hardware. A text-to-speech (TTS) system converts normal language text into speech; other systems render symbolic linguistic representations like phonetic transcriptions into speech.

Synthesized speech can be created by concatenating pieces of recorded speech that are stored in a database. Systems differ in the size of the stored speech units; a system that stores phones or diphones provides the largest output range, but may lack clarity. For specific usage domains, the storage of entire words or sentences allows for high-quality output. Alternatively, a synthesizer can incorporate a model of the vocal tract and other human voice characteristics to create a completely "synthetic" voice output.

The quality of a speech synthesizer is judged by its similarity to the human voice and by its ability to be understood. An intelligible text-to-speech program allows people with visual impairments or reading disabilities to listen to written works on a home computer. Many computer operating systems have included speech synthesizers since the early 1990s.

For more info, take a look at: http://en.wikipedia.org/wiki/Speech_synthesis

442 questions
15
votes
3 answers

Text-to-speech (voice generation) and speech-to-text (voice recognition) APIs?

Is there a comprehensive list of known APIs for desktop or browser environments?
14
votes
2 answers

How do I add a voice / language to speechSynthesis?

When I run speechSynthesis.getVoices() in Chrome, I get a list of possible voices. The list changes depending on the computer and version of Chrome. Is there any way I can extend support and add more voices? I feel like this could be done by asking…
13
votes
3 answers

High quality, emotional, fluent and variable Text-to-Speech engine?

After looking at some of services/tools, I've come to a conclusion. Most Text-to-Speech tools have too techy, robotic - in other words, bad quality c voices. And yeah, on top of that, it looks like they come with a "hard-coded" voice templates,…
tomsseisums
  • 13,168
  • 19
  • 83
  • 145
13
votes
1 answer

Record HTML5 SpeechSynthesisUtterance generated speech to file

I am able to generate speech from text using Chrome's Speech Synthesis API (in Version 33.0.1750.112 beta-m) in the following manner var transcript = document.getElementById("speechTxt").value; var msg = new SpeechSynthesisUtterance(transcript);…
Soumen Basak
  • 251
  • 3
  • 7
10
votes
4 answers

Speech gets cut off in firefox when page is auto-refreshed but not in google chrome

I have this problem where in firefox the speech gets cut off if the page is auto-refreshed, but in google chrome it finishes saying the speech even if the page is auto-refreshed. How do I fix it so that the speech doesn't get cut off in firefox even…
frosty
  • 2,559
  • 8
  • 37
  • 73
10
votes
5 answers

SpeechSynthesis.getVoices() not listing voices in Firefox

I am developing an application that requires me to use text to speech in the web browser. I am using the HTML5 Speech Synthesis for it. On Google Chrome the code runs fine, with all the available voices being listed using |getVoices()|, but in…
10
votes
2 answers

Speech Synthesis API Highlight words as they are spoken

Currently, I'm making a simple app where text is spoken using the speech synthesis API. I want to highlight the words (bold) as they are being spoken. I currently have a very basic implementation doing this using the 'onboundary' event. However,…
BoyUnderTheMoon
  • 741
  • 1
  • 11
  • 27
10
votes
1 answer

How can i add/change speech voice gender to iOS app in swift? I am using AVSpeechSynthesisvoice Class for getting speech voices

I have created an app with speech voice feature using AVSpeechSynthesizer & displaying a list of languages from AVSpeechSynthesisVoice: speechVoices() function in a TableView. The user can select speech language from the TableView. The next thing i…
10
votes
1 answer

Can't Chrome's speechSynthesis work offline?

I was playing with Chrome's speechSynthesis msg = new SpeechSynthesisUtterance("some text"); msg.lang = "fr-FR" ; window.speechSynthesis.speak(msg); when I discovered this strange issue : it can't speak anymore if your device is offline. I…
Diego
  • 569
  • 1
  • 9
  • 28
9
votes
1 answer

Stupid idea: Mac speech from PHP server?

I want to synthesize Mac OS X speech, but I'm using a PC. Can I set up a PHP server on my Macbook at home, and have it synthesize text for me, and return it to me through a web request? Like http://mymacbook.com/speak.php?t=why+hello+there What…
Matt Montag
  • 7,105
  • 8
  • 41
  • 47
9
votes
1 answer

Setting language for TTS programmatically?

I have written a small Android Demo to use TTS in different languages. I have a layout with two buttons, Spanish and English. Pressing the button triggers an utterance in the language selected. However, I can't change the language (setLanguage…
Ignacio
  • 135
  • 1
  • 2
  • 8
9
votes
4 answers

Why is my Speech Synthesis API voice changing when function run more than 1 time?

I have been using the new Speech Synthesis API in Chrome (33 and above) to make a web based communication aid. I would like the user to be able to change the voice between male and female, which the API allows me to do. However, when the page is…
8
votes
3 answers

Is it possible to select the word that is being read while using the SpeechSynthesisUtterance API?

Is it possible to select the word that is being read while using the SpeechSynthesisUtterance API? Is there an event I can use to get the current spoken word and cursor position? Here is what I have so far: var msg = new…
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
8
votes
6 answers

How to change the voice in pyttsx3?

This code is working but I'm only able to switch between the voices which came preInstalled in Microsoft Windows. These voices are "Microsoft David Mobile" and "Microsoft Zira Mobile". Later I installed "Microsoft Kalpana Mobile" and set it as the…
8
votes
4 answers

How to change voice in Speech Synthesis?

I am trying out a simple example with Speechsynthesis.