voice

TextView content read aloud without setOnClickListener (Automatic Text-To-Speech)

假装没事ソ 提交于 2019-12-13 04:01:08
问题 I am using the source code of a Text-To-Speech app. I would like the content of a TextView to be read aloud automatically (i.e. without the use of setOnClickListener ). Does anyone know how to approach this? Thanks in advance! EDIT: This is the final result, and it works: mVoiceOutputTv.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) { } @Override public void onTextChanged(CharSequence charSequence, int i,

android: media recorder : start failed: -38

浪子不回头ぞ 提交于 2019-12-12 12:29:06
问题 Brief: How to check if voice recording is already running in background in some other app. Detail: if voice recording is already running in background from native app: Voice recorder. Now I have implemented voice recording as one of feature in my application. Problem: when i try recording in my app at the same time, it gives error : : E/MediaRecorder: start failed: -38 : E/MyApp: [1162][com.sec.MyApp.multimedia.RecordMyVoice]java.lang.IllegalStateException : E/MyApp: at android.media

Need direction in creating a voice chat application

徘徊边缘 提交于 2019-12-12 04:45:01
问题 I want to create a voice chat application as a part of a project. However, i am totally lacking direction regarding the programming language to use, the technologies involved. Can somebody please guide me as to how i should proceed ? Here are the features that i require : user to user voice chat ability to chat in conference (more than 2 users) How do i connect one user to another ? How to handle voice transmission ? How to effectively route packets in a conference ? I'm thinking the most

Voice Activity Detection in Android

只谈情不闲聊 提交于 2019-12-11 16:59:00
问题 I am writing an application that will behave similar to the existing Voice recognition but will be sending the sound data to a proprietary web service to perform the speech recognition part. I am using the standard MediaRecord (which is AMR-NB encoded) which seems to be perfect to speech recognition. The only data provided by this is the Amplitude via the getMaxAmplitude() method. I am trying to detect when the person starts to talk so that when the person stops talking for about 2 seconds I

How to automate voice reports for Praat

扶醉桌前 提交于 2019-12-11 16:58:25
问题 Is there a way to automate the generation of a voice report (under 'Pulses' in the View & Edit window) for Praat as I have to do this for over 100 files. I need the voice report for the whole file and would ideally do this in Python as I am familiar with that. 回答1: [Disclaimer: I am the author of the mentioned Parselmouth library] Depending on your actual goal, it seems you can get the same 'Voice report' output outside of the Sound editor menu (opened with View & Edit ): select a Sound

Retrieving email with Google Sign In for Google Home

折月煮酒 提交于 2019-12-11 16:14:33
问题 so I've beentrying to retrieve the email associated with the current user using the google home. Documentation is kind of hard to find on the subject and from what I could gather, I should be able to use the SignIn class from actions-on-google. So here is my setup. DialogFlow -> Created two intent, one to start the sign in process, the other to follow up on the process. (The second one has the event 'actions_intent_SIGN_IN' to it.) Actions on google config : Account Linking. Selected - Yes,

Android Google TTS - select voice variant programmatically

六眼飞鱼酱① 提交于 2019-12-11 11:41:57
问题 Google TTS voices on Android, at least for some language/country pairs, come with male and female variants - for example English United Kingdom, has both low and high quality male and female voices. Yet the Google TTS engine, when enumerating voices with TextToSpeech.Engine.ACTION_CHECK_TTS_DATA intent, lists only language-country locales, without the variant, e.g. eng-gbr, eng-usa. When calling the tts.setLanguage(locale), I tried adding the variant like "eng-gbr-male" or "eng-gbr-Male", but

App Crashes uitextview when user inputs via voice

社会主义新天地 提交于 2019-12-11 10:36:25
问题 App crashes when user inputs text via voice in UITextView, Crash Method make textview first responder by clicking on it then Press on mic button in keyboard then speech something then press Done the app crashes.. Nothing special is done with uitextview in my case.. Console Output * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Attempt to mutate immutable object with deleteCharactersInRange:' First throw call stack: (0x19443c1c0 0x192e7455c 0x19443c108

How to launch an android app from the voice like OK Google

浪尽此生 提交于 2019-12-11 09:40:09
问题 I want to build an app in which I want to launch an app with voice. Please help me. 回答1: Edited First off all you need to recognize users speech by using Speech Recognizer. After that you'll receive a String with text. After getting from this text an app name you could get access to installed apps data and then launch an app you want by simple intent. 回答2: refer official documentation to start your activity using voice command. This is for wearables, you can give it a try. 来源: https:/

Android: Google Voice Recognition Server

前提是你 提交于 2019-12-11 09:39:14
问题 I am currently playing around with Google's Voice Recognition API for Android SDK. What I want to know is the URL for their voice recognition. You need a data connection to use the feature, so obviously they are parsing things server-side. Does anyone know this URL? 回答1: Okay, here's what I found, building off of this article. Here is a full TCP dump of the various HTTP and TCP operations that go into a voice search: POST /m/voice-search HTTP/1.1 Content-Length: 117 Content-Type: application