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
1 answer

Android TextToSpeech - Speak function not working. Int is deprecated

I'm trying to implement TextToSpeech in my Android Application: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { TTS.speak(toSpeak, TextToSpeech.QUEUE_FLUSH, null, null) } else { TTS.speak(toSpeak,…
didi_o
  • 23
  • 3
1
vote
1 answer

How to fix ‘TypeError: a bytes-like object is required, not 'str'’ error in tts python code

I want to train LJSpeech data with convolutional networks on my own. I've recently found auseful code on web. I set everything done, but just before the process of training (like a loading box shows up) i'm getting a type error. I have tried search…
1
vote
1 answer

Get speech mark from Amazon Polly using NodeJs

I am working on an animation project to add subtitle to what my character says. I can get the mp3 file from AWS Polly with no issue. However, when I want to get each part of the word separately, it doesn't work. I checked inspector tab, and I can…
Soley
  • 1,716
  • 1
  • 19
  • 33
1
vote
1 answer

How to save a text to speech audio file client side?

desired behaviour allow user to download text to speech audio file by clicking a button, like this official demo: https://text-to-speech-starter-kit.ng.bluemix.net what i've tried i am using: https://github.com/watson-developer-cloud/node-sdk i…
user1063287
  • 10,265
  • 25
  • 122
  • 218
1
vote
2 answers

How to use 'Microsoft.CognitiveServices.Speech' namespace with Azure Functions?

I'm testing the Microsoft Azure Speech services, specifically trying to use Text-To-Speech. So, I'm using a free layer of Azure, and created a TimeTrigger Azure Function to read an e-mail, traverse through HTML and then call the Speech Service with…
Cristian Porto
  • 74
  • 1
  • 11
1
vote
1 answer

How to use TextToSpeech correctly in an Activity class?

I would need some help with Android Studio. I'm trying to develop a simple Android Activity which should speak, listen and then answer back to user's question. First things first, I'm trying to make the Activity simply pronounce a generic phrase. My…
Sergio
  • 354
  • 1
  • 12
1
vote
2 answers

How to play .mp3 file from Amazon Polly text to speech without saving the file

I am using Amazon Polly for text to speech, but I don't want to save the converted file to the PC retrieving it. Instead, I want to play it as a stream. I have used playsound but it is not working with the returned variable. client =…
Shubham Verma
  • 55
  • 1
  • 10
1
vote
0 answers

Can't change the default TTS voice in Electron

I am designing an application with HTML and JS that uses Electron as the browser, (Electron allows me to have a transparent window). Everything works well, except I cannot seem to change the default voice from Microsoft David regardless of what my…
1
vote
1 answer

automatic phone call / call interception

I'm looking since some time already for information on this topic, but I'm not able to find help and example code. Does anybody know if it's possible to make a phone call using an Android app to intercept the call and play e.g. some message by using…
Nils
  • 1,705
  • 6
  • 23
  • 32
1
vote
1 answer

permission denied for writing in the path returned by getFilesDir()

I need to create an audio file with synthesizeToFile. It works on Android 6 (with the overloaded version of synthesizeToFile) but in Android 4.1 synthesizeToFile returns -1. The synthesizeToFile official documentation says: Synthesizes the given…
user2342558
  • 5,567
  • 5
  • 33
  • 54
1
vote
1 answer

How to set up multilingual text to speech

I'm working on an android Studio project, requiring text to speech. I would like to implement a program which can recognize in which language the text is written and read it with the appropriate pronunciation. Example : if i have a text in English,…
Vincent Tng
  • 145
  • 4
  • 12
1
vote
1 answer

Run TTS in NSArray sequentially

I have NSArray with words in it. I want to app reads that tts sequentially and print the text in UILabel what app speak. but word on label is shown the last one. I tried time pause, etc for (Word * w in ttswords) { [self…
Ronaldo.K
  • 303
  • 1
  • 5
  • 13
1
vote
0 answers

How to use male voice in text to speech?

I want to let the user select between male or female voice. I tried doing that using tts but no result. All the voices that came with TextToSpeech are female. I have already tried these solutions from here Android TTS male voices but no one is…
Mary
  • 103
  • 2
  • 11
1
vote
0 answers

How to use text to Speech feature in Cocos creator Java script - Android/IOS APP

I am developing a cocos creator game and it is build both android and IOS versions. I need to add "text to speech" feature into that APP. But I tried a lot to find a text to speech API but none of them work with Android/IOS app. following solutions…
1
vote
1 answer

How can I use SpeechSynthesizer in ASP.NET Core 2.0

I'm trying to save a text to Audio file in my web app developed in ASP.NET Core 2.0. I'm trying to find the support for the System.Speech, but the namespace seems not available in .NET Core. Can anyone give me any alternate class libraries to save a…
Vikram V
  • 63
  • 1
  • 4