text-to-speech

Synchronization Problem for SAPI or (text to speech ) … C#

旧城冷巷雨未停 提交于 2019-12-02 11:32:45
I'm working on a project which will speak the content of browsed web page.Browser is made by me using WebControl. I'm using SAPI for speech engine. I wanted to highlight the line in web page while reading that trough SpVoice.speak. But the problem is that if I use this speak method in Asynchronous way,then only last line of the web page getting highlighted,because the loop doesn't wait for the voice to complete. Thus it happens so fast that only last line is shown as highlighted.Highlight method is using a reference Microsoft mshtml. CODE: SpeechLib.SpVoice sound_object = new SpeechLib.SpVoice

luis bot not speaking

人盡茶涼 提交于 2019-12-02 10:43:10
I'm using the LUIS bot in NodeJS and I am using session.say() to get the bot the speak but there is not audio output. I am trying to say a list of movies from a list like this session.say('hi', list.shift()) I know it works because 'hi' prints in the chat but no audio, I even put it in SSML format session.say('hi','<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">hey</speak>'); Any ideas why my bot isn't saying anything, but still printing stuff in the chat? To use the text to speech feature on the Bot Framework Emulator, the user has to use the microphone on

I need help creating a lexicon for SpeechSynthesizer. A template of some kind so i can know how to create one

独自空忆成欢 提交于 2019-12-02 08:27:40
More or less what the title says. I wish to create a lexicon of greek text to speech so I can make my language for SpeechSynthesizer. Where can I find a template of some kind?? Or some guidelines???? Or anything you can possibly offer is acceptable as there is no greek suppport in SpeechSynthesizer. But i need it to be my own creation. Not some third party app. SDKs, header files, libraries, apis all accepted. Just no ready apps that have greek text to speech Here is a sample with only 1 word (blue). <?xml version="1.0" encoding="UTF-8"?> <lexicon version="1.0" xmlns="http://www.w3.org/2005/01

Is it possible to embed TTS in Android?

巧了我就是萌 提交于 2019-12-02 08:27:14
Unhapilly my language doesn't have support for TTS in stock Android. So, my users have to download a third party TTS voice engine. This is QUITE annoying since it requires extra steps to get my software working. Is there ANY way to EMBED any third party TTS engine (with its corresponding language pack) in an Android app? Any help is appreciatted! No ,It is not possible. You have to download third party TTS from android market then install it Or you can keep third party TTS .apk into assets and then install it. After that you need to download corresponding voice data from server whose size is

How to control speech output on Bixby

≡放荡痞女 提交于 2019-12-02 08:05:48
I'm using Bixby Developer studio and I have my UI output created and it works. How do I create or control speech output? Bixby will automatically read the text in the UI - if that is sufficient, you are set. (Be careful here - In good VUX design, UI text and speech text are typically different. UI text is often longer, speech text often shorter and more expressive). To have speech different from the UI text, you should set the speech key of a template in a dialog. You can use all of the features of dialog like Bixby EL language here. Update: Bixby now supports SSML https://bixbydevelopers.com

android:how to use text to speech on non activity class

左心房为你撑大大i 提交于 2019-12-02 04:46:08
i want to use text to speech in my application, i find many example for using text to speech like this Android Text-To-Speech Application . i want to use text to speech from non activity class , for example i have class that genrate layout and return this layout to my main activity , ihave button on this layout and i want to when clicked on this button call text to speech. how can i use text to speech on non activity class ? You can use a facade to achieve this. Define an interface for example TTSListener.java : public interface TTSListener{ public void speak(String text); public void pause

Android Java Text to Speech Viewing Extra String Information

烈酒焚心 提交于 2019-12-02 03:39:20
I've been running through many of the text to speech examples available for Android and I have an issue that I assume is really simple, but I cannot for the life of me work it out! I simply want to be able to view the output of EXTRA_AVAILABLE_VOICES (for example) which according to this link is returned in an ArrayList. There are many examples of how to deal with such output programmatically, but for the benefit of my learning and understanding, I want to see the actual returned data for myself. My project is set up exactly as the android developers example from here // We now return the list

fade in and out music while speaking a text

偶尔善良 提交于 2019-12-02 03:35:39
问题 I have an Android application that makes use of TTS (Text to speech) API. Everything is working perfectly, but now i want to fade in/out or even stop music (in case user is playing music with prebuilt Music Player), when application speaks a text. Right now, i think both music and TTS messages are played on the same stream (MUSIC), and it can be difficult to understand the voice messages. I've tried to play the text on a different stream, like AudioManager.STREAM_NOTIFICATIONS. It does stop

fade in and out music while speaking a text

邮差的信 提交于 2019-12-02 03:10:20
I have an Android application that makes use of TTS (Text to speech) API. Everything is working perfectly, but now i want to fade in/out or even stop music (in case user is playing music with prebuilt Music Player), when application speaks a text. Right now, i think both music and TTS messages are played on the same stream (MUSIC), and it can be difficult to understand the voice messages. I've tried to play the text on a different stream, like AudioManager.STREAM_NOTIFICATIONS. It does stop the music, but doesn't come back when the text is spoken, so i didn't achieve the goal. Haven't found