Questions tagged [text-to-speech]

Text-to-speech or 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.

3705 questions
1
vote
0 answers

Are SAPI (5.4) phoneme sets available for all supported languages?

SAPI 5.4 documentation mentions that English, Chinese, German, Spanish, French, and Japanese languages (are able to) use the SAPI phone set. However the SAPI 5.4 documentation includes phoneme sets for only (American) English, Chinese, and Japanese.…
Exergist
  • 157
  • 12
1
vote
1 answer

Text to Speech save to audio file with silent (long pause)

I want Save text speech as audio file with pause 5 seconds silent.I am aable to save text to mp3 file .I tried but i did not get anywhere . Code to save text to mp3 file.i need to add silent 5 seconds. HashMap myHashRender = new…
1
vote
1 answer

Does speak method in TextToSpeech API sends data to Google servers?

We are using speak(..) method from TextToSpeech class for performing TTS in Android. https://developer.android.com/reference/android/speech/tts/TextToSpeech.html#speak(java.lang.CharSequence,%20int,%20android.os.Bundle,%20java.lang.String) Does…
RS_Mob
  • 354
  • 1
  • 3
  • 13
1
vote
2 answers

How to use the voice element with different voices in ssml?

I try to generate audio file with the Google Text-To-Speech API. Because I need different voices in my dialogs, I try to use the voice element of ssml: Have you got a…
1
vote
0 answers

How to add MaryTTS Voice (Jar File) to my own jar/load from folder in IntelliJ

So I am probably just stupid but I am unable to get MaryTTS (which I just ship with my jar) to load a voice jar file/include it in my own jar and then load it automatically. How can I do this with IntelliJ properly? I have tried extracting the voice…
Jalau
  • 303
  • 1
  • 2
  • 11
1
vote
1 answer

How to fix when a service has been blocked by cors policy: no 'access-control-allow-origin' header is present on the requested resource

I'm trying to access the text-to-speech service provided by IBM Watson in my NodeJs application but I see access denial error as the service has been blocked by CORS policy. Tried all the ways by setting up related headers in app.js but fail to…
1
vote
2 answers

How do I make TTS stop speaking IMMEDIATELY?

I am using ISpVoice to speak an input string. Now, even though I use SPF_ASYNC and SPF_PURGEBEFORESPEAK tags in the Speak method, the tts doesn't stop whenever Pause is called instead it continues until the tts finishes a word. Here's how I do…
1
vote
0 answers

Install GoogleTTS voices offline on Android

I would like to use Android built-in Google TTS for English and French completely offline. In other words, I not only need to be able to use TTS while the device is offline but also be able to install French voice while offline. My target device is…
1
vote
1 answer

Android TextToSpeech#speak Reading Integers Seperately

I have some code: tts.speak(Integer.toString(score), TextToSpeech.QUEUE_ADD, null); Where score is an int between 0 and 100. Occasionally, but not very often, I will hear the digits ready separately ie "Eight Six" instead of "Eighty Six." Has…
Chase Roberts
  • 9,082
  • 13
  • 73
  • 131
1
vote
1 answer

How to get word list using ISpLexicon::GetWords?

I'm developping a Text-To-Speech application using Microsoft SAPI. I found out that it is possible to add customized prononciations of words in a dictionnary (correct me if I'm wrong). I implemented a function which allows to add words into this…
georges619
  • 288
  • 1
  • 6
  • 18
1
vote
0 answers

Share TextToSpeech without saving it

I would like to know how to share a TextToSpeech object using an Intent. I already read how to convert and save the file in the internal storage using the method "synthesizeToFile()" however I need to share it without saving it in the storage of the…
CPI
  • 786
  • 1
  • 5
  • 18
1
vote
1 answer

AVSpeechSynthesizer not working when new strings are added to be spoken [xcode - swift 4]

Im using the code below to read random sentences at a random time. However I run into the problem when a random sentence is called to be read while the previous sentence is still being spoken by the AVSpeechSynthesizer, making the second sentence…
Dan.code
  • 431
  • 2
  • 14
1
vote
1 answer

Unable to delete a .mp3 file in Python

I am unable to remove a file using os.remove() using the following code, import pygame from pygame.mixer import * import os from pygame import mixer def play_music(music_file, volume): with open(music_file, 'wb') as f: …
AFRAH
  • 11
  • 1
1
vote
1 answer

How to properly dispose of SpeechSynthesizer for async text-to-speech?

I have a form and I want to allow the user to receive asynchronous text-to-speech output based on the content of a text box whenever a button is pressed. For context, this form is launched as part of an "internal" C# function within VoiceAttack, and…
Exergist
  • 157
  • 12
1
vote
0 answers

Speech Synthesis sounding distorted in Chrome

I have a function using Speech Synthesis. It works on its own while called onload: function speak() { var msg = new SpeechSynthesisUtterance(); var voices = voices[2]; msg.voiceURI = "native"; msg.volume = 2; msg.rate = 1; msg.pitch =…
Tommy A.
  • 101
  • 1
  • 8