Questions tagged [text-to-speech]
Text-to-speech or speech synthesis is the artificial production of human speech.
3,621
questions
0
votes
0
answers
4
views
Looking for Brian tts voice/app for Windows 10
I have spent quite a while trying to find an application with Brain text to speech (tts) voice. I would like to be able to type in an input and have it read out loud, just like "Type to voice ...
0
votes
1
answer
11
views
Listen blob in audio HTML5 with AJAX and PHP AWS Polly
I have this issue with AWS Polly, I tried to figure out how to play the blob I create with AJAX and the AudioStream->getContents();
HTML:
<body>
<textarea id="story" name=&...
0
votes
0
answers
8
views
Text To Speech For Different Method In Android Kotlin
TextToSpeech use resume speech at any point while playing speech and then again start speech from resume point.
Make a helper class for Text to speech where i can make all methods that i want in my ...
0
votes
0
answers
10
views
How do I stop Azure TTS from playing back the audio while generating samples?
I am synthesising text using Azure Speech Service's TTS. When setting the audio config, I want to disable the playback of the audio. Per the documentation, AudioOutputConfig's use_default_speaker ...
-2
votes
0
answers
8
views
Flutter text_to_speech not working on physical device. Failed to register observatory port with mDNS with error -65555
I'm trying to use flutter text_to_speech package, and it is running in the simulator. But on physical device with iOS 16.3.1, I'm getting this:
[VERBOSE-2:FlutterObservatoryPublisher.mm(97)] Failed to ...
1
vote
1
answer
11
views
how to know the TTS status in flutter
I'm making an flutter app with the flutter_tts package , and i want to change the UI according to the status of the tts, like if it finished reading then the UI will change.
so how to know the status ...
0
votes
0
answers
21
views
cascading use of MS TTS speakTextAsync() does not work synchronously
I use a browser javascript Speech SDK with cascading use of MS TTS speakTextAsync() :
I expected the text to be spoken in sync, but the phrases overlap each other.
I will be grateful for any hints ...
...
0
votes
0
answers
23
views
Azure TTS api callback function
I've spent hours trying to debug this and it isn't working because it is returning early. This is in a Firebase Google Cloud function. I'm using the Azure text-to-speech API and it keeps returning ...
-1
votes
0
answers
16
views
Lip Syncing Audio to A 2D Cartoon Avatar
I am working on a personal project, I want to create an avatar which can look like its speaking the audio, wherein the audio is retrieved by a TTS converter, user enters the text and using a TTS ...
0
votes
0
answers
22
views
Azure STT gives different response on Webseite and by API with de-DE-KatjaNeural
I am a little confused about the Azure STT. When I check the example directly on the azure site, I get the right voice file. However, when I try it by code (java azure latest library), I get a ...
0
votes
0
answers
22
views
Synthesizing Audio no response given
Below is the relevant code :
try (TextToSpeechClient textToSpeechClient = TextToSpeechClient.create(settings))
{
System.out.println("In Try - Create TTS client");
...
0
votes
0
answers
14
views
Android TextToSpeech does not save Audio and play song
I have following code to play a text as audio:
abstract class EmployeeNoteToTTS(private val employeeName: String, activity: AppCompatActivity, private val text: String){
private var tts: ...
0
votes
0
answers
9
views
AVSpeechUtterance with volume zero can still be heard
I'm creating an AVSpeechUtterance and setting the volume to zero. However with some voices (but not all) the utterance can still be heard:
let utterance = AVSpeechUtteranceSR(string: text)
utterance....
0
votes
0
answers
16
views
Application to write text on cursor position
Suppose you want to make a dictation tool, something using a speech to text API to transcribe the input "real time". If I want the output (the text) to be written anywhere the mouse clicks, ...
0
votes
1
answer
47
views
Azure Text To Speech - How to create a sentence using a local language and including one English term?
I am using Azure Text-to-Speech to convert Indonesian sentences into audio format. The problem is, there are several English terms within the sentence. How can I make those terms be pronounced in ...
1
vote
1
answer
21
views
How do I insert an error command in my text to speech program?
I have a STT combined with a TTS program that runs on a raspberry pi. I was able to put a command that says "error" when the recognizer fails to detect a word. We assigned words as command ...
0
votes
0
answers
16
views
How to save the output of pyttsx3 to a temporary file?
I am able to store the TTS output to a file using the following code
import pyttsx3
engine = pyttsx3.init()
engine.save_to_file('Hello World!', 'hello.mp3')
engine.runAndWait()
Is it is possible to ...
0
votes
0
answers
6
views
how to use text to speech in real time object detection?
i have a CameraActivity and objectDetectionClass i want to call the tts when it detect an object in the for loop this is my for loop code
`for (int i = 0; i < 10; i++) {
float class_value = ...
0
votes
0
answers
48
views
Pytorch RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED
I am trying to fine-tune the tacotron2 model, I have the following cuda and pytorch versions.
cudatoolkit 10.0.130 0
cudnn 7.6.5 ...
0
votes
0
answers
16
views
How to make Text to arabic speech with Sapi vbs?
I have an app built with sapi vbs. I have installed Microsoft Naayf to make arabic TTS but my code not detect it :
I have an app built with sapi vbs. I have installed Microsoft Naayf to make arabic ...
0
votes
0
answers
20
views
OAuth2 scopes for google cloud text to speech
We run a cloud based iPaaS solution and we're developing new functionality to allow our users to convert speech to text. One of our options will be to use Google's cloud text to speech API.
We ...
0
votes
0
answers
20
views
Python real-time transcription from pc audio
I've been looking for some resources or anything but have found nothing yet, on how I could transcribe live audio being output from my speakers in anyway. I've found plenty of ways on how to do it ...
-1
votes
0
answers
31
views
Calculate subtitle line length based on tts engine's words/minute
So I'm trying to create an app which reads up some text with a TTS engine. And since the text is too long to fit on the screen I split it up into shorter lines. I'm trying to create an .srt subtitle ...
1
vote
1
answer
54
views
I run into Graph execution error when trying to run a RNN machine learning model for text-to-speech prediction
So I have a machine learning model that uses RNN to predict text to speech and i have a json file containing 6 different sentences and a path to their corresponding audio file. After running the model ...
0
votes
0
answers
19
views
is the ios accent symbol for flutter_tts package?
Sometime flutter_tts plugin make incorrect accent in words.
For Android I use symbol ́ , but for ios it doesn't work.
So what is the ios accent symbol for flutter_tts package?
0
votes
1
answer
47
views
tts model killing python with `zsh: bus error python Neural_Audio_Synthesis.py`
I have a simple script trying to run tts on a Apple M1 Pro with MACOS 13.2.1
from this repo https://github.com/coqui-ai/TTS
def audio_Synth():
from TTS.api import TTS
import numpy as np
...
0
votes
0
answers
40
views
I'm following a coding tutorial on making an AI assistant (Mikael codes), but it gives me the errors, even if the code is the same as in the example
I copied the text letter by letter in the initialization chapter of the video, and I ran it when he did. I installed pocketsphynx, datetime, speech_recognition, pyttsx3, webbrowser, wikipedia and ...
0
votes
0
answers
23
views
Saving a file with curl and php
I am attempting to use an API from voicerss. The API itself appears to be working. My problem is when the API returns the data to me. In my past experience I have used APIS to retrieve bits of text or ...
0
votes
1
answer
28
views
How do I export audio stored in a numpy array in a lossy format like m4a?
I have some text-to-speech code that gives me a numpy array for its audio output. I can export this audio array to a WAV file like so:
sample_rate = 48000
audio_normalized = audio
audio_normalized = ...
0
votes
0
answers
21
views
How to use the sound output to create a javascript canvas?
I'm trying to recreate Karen from the Spongebob. To do so, I need to make a canvas that react to the sound that the browser itself emits (using SpeechSunthesisUtterance). The only problem is: the ...
0
votes
0
answers
11
views
Text to speech consecutively elements of a List in Flutter
Let's suppose I have a list of 3 Player elements like this:
[{id: 1, name: Player1, role: A, team: {name: Team1}, isExtract: false, isSold: false, price: 0}, {id: 2, name: Player2, role: A, team: {...
0
votes
0
answers
17
views
Unable to map audio with text using aeneas when tryng with arabic Language
I'm trying to map fileName.xhtml with audio.mp3. The audio file contains the Arabic language and the text is also in Arabic keyword. Im using aeneas for mapping. Here are my details.
os: ubuntu 20.04 ...
2
votes
0
answers
37
views
handleEnd function is not being called
import React, { useState } from 'react';
import './Textarea.css';
import { useSpeechSynthesis } from 'react-speech-kit';
function Textarea(props) {
const [text, setText] = useState('');
const [...
0
votes
0
answers
29
views
window.speechSynthesis.getVoices doesn't work when reloading page with Next.js
I'm using Next.js and I'm trying to access SpeechSynthesis browser's API:
window.speechSynthesis.getVoices()
Since I'm using Next.js, I put the call to window into a useEffect, and it works fine on ...
0
votes
0
answers
27
views
Recognize speech in LineageOS
I am using LineageOS 20 with Gapps and my app did not find Google TTS service.
The exception: no activity found to handle intent act=android.speech.action.recognize_speech (has extras).
So I tried to ...
0
votes
0
answers
48
views
My python .CSV to MP3 text-to-speech script is not passing text to the API correctly - how can I fix this?
So I've been working on a CSV to MP3 generator to create audio resources for learning French verbs. The script takes data from a csv spreadsheet and uses gTTS to generate french audio for the verbs, ...
0
votes
1
answer
34
views
TTS in C++ Got an error when I was trying to use a string variable
I created a void named "bot" to get text and speak it using a variable named "text". Like this,
void bot(string text).
To use this void bot("Hello") or bot("Hi, my ...
0
votes
0
answers
20
views
How do I implement gTTs instead of pyttsx3 in my program?
I want to use gTTs instead of pyttsx3 as the tts engine in my program. Is it possible? Because pyttsx3 only has English language but I want to use my tts engine for filipino language, as a result, it ...
0
votes
0
answers
23
views
Flutter flutter_tts how do I lower the volume of audio in the background while playing tts?
I'm using the plugin flutter_tts.
await flutterTts.setIosAudioCategory(IosTextToSpeechAudioCategory.playback,
[
//I've tried all of these options
IosTextToSpeechAudioCategoryOptions....
0
votes
0
answers
22
views
Python: Text To Speech from laptop to Android phone
I'am looking to create a Python script that uses text-to-speech methods to speak a message through the speakers of my Android phone. Both my laptop and Android phone are connected to the same Wi-Fi ...
0
votes
0
answers
19
views
Azure Cognitive Services TTS custom lexicon isn't firing
I am trying to apply a custom lexicon to the en-US voice just like in Azure's tutorial, here's my ssml.xml:
<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www....
0
votes
0
answers
41
views
Triggering text-to-speech Teams outbound call via Microsoft PowerAutomate
I have a dynamically created text which I need to be "translated" into speech (via Azure Cognitive service or a different one, whatever works) and a specific number being called. If someone ...
-2
votes
1
answer
43
views
How to Integrate Google Cloud Services With Flutter?
I have been wondering if it is possible to integrate Google Cloud Services such as Cloud Text-to-Speech in Flutter. The lack of documentation makes me wonder if there's some workaround or something ...
0
votes
0
answers
47
views
What is the best way to send String input to Google Text-to-Speech?
I have a few paragraphs that needs to be put through the Google TTS API for conversion. Some of these sentences have Dynamic words in them (eg: username). By simply passing the entire text to the API, ...
0
votes
0
answers
9
views
Can any NVIDIA graphics card be used to run Tacotron2 or Fastspeech to build a model for a new language?
Many of the articles I've read that describe use of Tacotron2 to training models for speech synthesis seem to use very high end NVIDIA GPUs. I realize there is a great deal of data that needs to be ...
1
vote
1
answer
57
views
Azure Text to speech SSML bookmark tags Error
Encounter an internal server error when there is a bookmark in multi-language SSML for Chinese voices
<speak xmlns="http://www.w3.org/2001/10/synthesis" xmlns:mstts="http://www.w3....
1
vote
1
answer
145
views
How can I listen and speak simultaneously using Azure Cognitive services
I am trying to build a chatbot, that is capable of speaking and listening simultaneously. I am working with azure cognitive services and currently use two functions to listen and speak:
Speaking:
def ...
0
votes
0
answers
453
views
How to use RHVoice Text To Speech C/C++ library
I'm using rhvoice library in a qt c++ project, and I'm struggling to make it work and speak.
So far i have managed to load voices and voice profiles to a tts_engine, but no sound plays even tho the ...
0
votes
1
answer
94
views
Azure Text-To-Spech to PyAudio Stream
I am trying to stream the output of an Azure text-to-speech instance to my speaker with PyAudio using Microsoft's sample code
I tried to write to PyAudio's stream inside Azure's callback function def ...
0
votes
0
answers
32
views
How do you get the currently spoken word in Amazon Polly?
I'm using Amazon Polly for text-to-speech functionality of my app. I have succeeded in developing it except for one thing. I can't get the current spoken word so I can highlight it on the screen. I ...