Questions tagged [google-text-to-speech]

1

votes
3

answer
438

Views

Google cloud text-to-speech : the server responded with a status of 403 ()

I am trying to build a web page which will translate the text into mp3 using google cloud text-to-speech. After lots of search I found using REST API I can request the API to translate the text into mp3. I am using JQuery and AJAX for the HTTP request. Problem is that I am requesting the cloud serve...
1

votes
1

answer
37

Views

How to control speech output on Bixby

I'm using Bixby Developer studio and I have my UI output created and it works. How do I create or control speech output?
rkibbe
2

votes
1

answer
2.4k

Views

How to convert Arabic text to speech in an Android app?

How to convert arabic text to speech in an Android application while the current Android TTS does not support the Arabic language? Please, I want my app to read arabic text.
Islam Ashush
5

votes
1

answer
148

Views

Change the culture of voice to other languages

I have an some text other than English culture. Ex: Tamil culture. If I don't mention culture, default English will be taken. How to convert the text into voice (other than English)? Code snippet: For English Language: public static void ConvertTextToVoice() { SpeechSynthesizer speech = new Spee...
Pandi
1

votes
1

answer
2.1k

Views

Play TTS over BlueTooth

I have a little app where I want to be able to send TTS audio to speaker or bluetooth headset if connected. It is working fine in the speaker phone mode, but no luck with BT. Any idea how this could be addressed? Code snippet is below:' private void speak(String s){ HashMap hash = new HashMap(); ha...
user2109066
1

votes
1

answer
1.9k

Views

How to call TextToSpeech from Broadcast Receiver

I my app I'm calling a Broadcast Receiver to read incoming Text Messages and say it aloud. My Broadcast Receiver gets called properly, it reads the text message properly but when it comes to the speak() method, it just crashes. Here's my code: This is the BroadcastReceiver: public class DrivingModeS...
Saturnian
1

votes
2

answer
261

Views

What is the difference between Prompt() and SpeakAsync(String)

I have read the documentation but fail to understand what the underlying difference is between using: Prompt prompt = new Prompt("What are you doing?"); speaker.SpeakAsync(prompt); VS: speaker.SpeakAsync("What are you doing?"); The reason I am asking this is because I am trying to get a response fro...
jay_t55
1

votes
1

answer
1.5k

Views

How to create a TTS engine for Android 2.3?

In Android 4.0, I can implement the TextToSpeechService class to create a TTS engine. There is even an example TTS engine in the SDK to follow, which is really easy. However, I can't see any information on implementing a TTS engine on Android 2.3. What I want to achieve is like SVOX TTS engine.
Lacek
1

votes
2

answer
937

Views

Text to speech function is not working in my Listview

In my listview I have text and one button as text to speech button.After clicking the button audio is not coming.ssssafter clicking the button audio of text to speech conversion is not working. Myactivity.java @Override protected void onCreate(Bundle savedInstanceState){ super.onCreate(savedInstanc...
Karthick M
1

votes
1

answer
1.5k

Views

SpeechSynthesisUtterance crashes in Chrome for multiple calls

I have a list of sentences and my objective is to read them out one by one. I am using SpeechSynthesisUtterance feature currently supported only in Chrome. The following code works: list = ['This is sentence 1', 'This is sentence 2', 'This is sentence 3', 'This is sentence 4', 'This is sentence 5',...
Souvik Basu
1

votes
1

answer
782

Views

AVSpeechSynthesizer - How to get progress?

I am implementing AVSpeechSynthesizer with this UI in my app: How can I get the progress from the AVSpeechSynthesizer utterance? I see that there is no delegate method or an API to get the current progress, but is there a workaround to getting the progress?
NSF
1

votes
2

answer
203

Views

Call a “void” method that have values from another activity

Hi I'm quite new to Java, I wonder how to call a void method from another activity, when I already moved to new activity. For example, I want to call onCreate(Bundle state) from PocketSphinxActivty.java in my new activity SMSReaderMain.java I already tried PocketSphinxActivity ps = new PocketSphin...
1

votes
3

answer
256

Views

Can't call speak() of the TextToSpeech instance directly

I'll add the code first. public class MainActivity extends Activity { TextToSpeech myTTS; protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button btnSpeak = (Button)findViewById(R.id.button1); btnSpeak.setOnClickListener...
Jenix
1

votes
1

answer
269

Views

Which tts engine is voicerss.org using?

The voices used by http://www.voicerss.org are really good. Does anybody has an idea what tts engine is used for voicerss.org?
tobltobs
1

votes
2

answer
876

Views

SAPI5 voices / using 32bit voices

After spending a whole lot of time on searching the web I think it's time to ask. I'm trying to implement some text to speech with SAPI5 in C++. The only available 64bit voice is Anna. With Anna everything is fine, but I also need a german voice. So I found Hedda(Microsoft) and Steffi(Realspeak). I...
Muffex
-1

votes
0

answer
14

Views

Python send bluetooth via internet to phone, then phone to earphone

This is what i'm trying to do: I have a text to speech python code that reads my last facebook message, the voice is sent over bluetooth to my earphone from my PC. But when i go downstairs the bluetooth connection is lost. Is there a way to make the python code send the audio via internet to my phon...
Light Yugen
0

votes
0

answer
3

Views

Combine two TTS outputs in a single mp3 file not working

I want to combine two requests to the Google cloud text-to-speech API in a single mp3 output. The reason I need to combine two requests is that the output should contain two different languages. Below code works fine for many language pair combinations, but unfortunately not for all. If I request e...
Pyotr
4

votes
0

answer
37

Views

Convert voice to text while talking in python

I made a program which allows me to speak and converts it to a text. It converts my voice after I stopped talking. What I want to do is that I want it to convert my voice to text while I am talking. https://www.youtube.com/watch?v=96AO6L9qp2U&t=2s&ab_channel=StormHack at min 2:31. Pay attention to...
WeeeHaaa
2

votes
3

answer
2.5k

Views

android, text to speech

I'm playing with text to speech to make my testapp a little more fun. It works in the emulator but not on my phone since my default locale isn't english. However, the texts are english so the tts should of course use english. As far as I know I can implement an autoninstall, something like public vo...
elwis
2

votes
1

answer
657

Views

Call TextToSpeech Activity Without Any UI Display

What is the recommended way to call TextToSpeech without invoking any UI change? The examples given are all bound to Activities, and the default behavior for an activity is to display its own UI. I'm trying to call a TextToSpeechActivity via my main activity via an Intent. I don't want the UI to cha...
yetimoner
2

votes
2

answer
710

Views

Text-to-speech for iPhone (preferably Monotouch)

I am looking into implementing text-to-speech in an iPhone (Monotouch) app I am creating. What good such libraries are there around? If necessary I will have to map a standard iPhone library to Monotouch.
Ole
2

votes
2

answer
3.8k

Views

Any good (free) text-to-speech engines out there?

I've been scouring the SO board and google and can't find any really good recommendations for this. I'm building a Twilio application and the text-to-speech (TTS) engine is way bad. Plus, it's a pain in the ass to test since I have to deploy every time. Is there a significantly better resource out t...
Nuby
2

votes
2

answer
906

Views

SoundEffect raised an error while assigning buffer from SpeechLib

I am developing Windows Phone 7 application which read some text and speak the text. The micsoroft library - interop.speechlib.dll converts my text into buffer(byte array). And SoundEffect plugin of Windows Phone 7 speaks it. This all working fine, but sometimes it creates problems by raising bellow...
2

votes
2

answer
3.4k

Views

HTML5 speech input and Google Translate text-to-speech, problem in Chrome

I'm creating a voice/text-memo web application. Here: http://gustavstromberg.se/sandbox/html5/localstorage/ look at its source (very short, most of it is css) This is: Voice recognition, works only in chrome as far as I know. Local Storage, to store notes as text. Google Translate text-to-speech. E...
Gustav
1

votes
2

answer
4.6k

Views

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 default Windows voice. But still I'm not able to s...
Neetesh1995
2

votes
2

answer
1.9k

Views

ASP.NEt MVC Text to Speech

We have a MVC site and now we want to add a functionality where we want to ability to read out text on client side. We display a set of invoices and we want to read out the invoice details. I know you can use System.Speech library with desktop applications to achieve this by pass the details to be r...
Amitesh
2

votes
2

answer
1.2k

Views

Best sdk or api which convert text into speech [duplicate]

Possible Duplicate: Text to speech on iPhone I have a string say "Hello world". Please suggest me the best Api or sdk that can convert this text string into speech?
Aadil
2

votes
4

answer
1.7k

Views

.NET Text To Speech Volume

I am working with a simple Text to Speech application using the System.Speech.Synthesis reference. I would like to add a slider control to the application and control the volume of the speech with it. In order to set the volume I'm using: speech.Volume = 100; Do I need to use some kind of event hand...
Dylan
2

votes
2

answer
282

Views

Text to speech app size

Does using libraries like OpenEars will drastically enlarge my app size? Or I can just extract the text to speech stuff, and get away with it...Probably removing all those langs? I don't have any idea. I checked and OpenEars sample app is 33MB - which is big! So my question is - can I implement text...
Devfly
5

votes
1

answer
7.2k

Views

Problems with TTS on Samsung Galaxy S3

I'm developing an app for android that uses TTS. I've created a splash screen where I check if the TTS engine is installed and in case that is not installed, it goes to Google Play to download it. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ......
user897013
1

votes
2

answer
31

Views

Synchronous execution in javascript with speechSynthesis.speak()

Currently, I am trying to have the browser speak an array of strings sequentially, but that is not being done sequentially; the first string is read and then the last string is read. How can I modify my code so each string is read sequentially? async function wrapper(){ var text = "sen ten ce one. s...
alienboy
17

votes
2

answer
9.4k

Views

best practice for specifying pronunciation for Android TTS engine?

In general, I'm very impressed with Android's default text to speech engine (i.e., com.svox.pico). As expected, it mispronounces some words (as do I) and it therefore occasionally needs some pronunciation guidance. So I'm wondering about best practices for phonetically spelling out those words tha...
gregS
2

votes
0

answer
224

Views

run chrome's SpeechSynthesis on nodejs

Google did great job with chrome's SpeechSynthesis, It's much better then Microsoft's tts (and frankly any other free solution I found). I wonder, is there any way to use Chrome's SpeechSynthesis over node.js?
Adi Darachi
1

votes
2

answer
1.3k

Views

OpenEars Text-to-Speech very low quality

I am designing an English dictionary-like app and using OpenEars TTS for pronunciation but the voice quality is not so good. Any suggestion to improve its sound quality?
DavidNg
1

votes
2

answer
12.3k

Views

Adding text to speech functionality to iOS app

I'd like to implement such functionality in my app, and AFAIK, the only choice is to use a third-party library, so I've been looking for possible options. I've found that OpenEars seems to be one of the best free and open-source libraries for that purpose, and it works offline, but it only supports...
AppsDev
18

votes
2

answer
14.5k

Views

Android “speak failed: not bound to tts engine”

My android application has text to speak feature and more then one activity uses this feature. So created a static helper class to made this easy. import java.util.Locale; import android.content.Context; import android.speech.tts.TextToSpeech; import android.speech.tts.TextToSpeech.OnInitListener; i...
bahadir arslan
1

votes
1

answer
3.2k

Views

Java TTS (Text To Speech) speech.properties file

I'm working on a PC asistant, which means it should recognize my voice and give feedback or do things, the feedback should be a computer generated voice. I know there's a way inside Java itself to achieve this, using javax.speech for example. This voice isn't really of good quality, but it's doesn't...
Tim Visée
18

votes
1

answer
8.3k

Views

Does iOS provide built in text to speech support or any class like NSSpeechRecognizer?

i have found many libraries like flite which can be be used, as in given here, but I want to know if there is any Built-In class provided by iOS SDK similar to NSSpeechRecognizer provided in OS X.
Krishna
18

votes
6

answer
23.3k

Views

TextToSpeech with API 21

Can someone help me using TTS with API 21. All examples available are deprecated with version 21 Here's my code giving error on last line: Calendar cal = Calendar.getInstance(); cal.getTime(); SimpleDateFormat sdf = new SimpleDateFormat("HH:mm"); String text = sdf.toString(); btn.setText("Ouvir as H...
Jose Borges
3

votes
1

answer
150

Views

Android Google TTS: Why langAvailable returns Not supported or -2?

I am following https://developer.xamarin.com/guides/android/platform_features/speech/ and getting a single value (Default) in langAvailable. I have updated Google TTS engine also and installed some voice data. I have installed other app which uses this engine and this apps have all languages. So wha...
Ajay

View additional questions