voice-recognition

Start Android keyboard in voice recognition mode

走远了吗. 提交于 2019-11-29 14:02:31
I would like to open the keyboard programmatically and have it start doing voice recognition instantly without the user pressing the mic button. I know how to implement SpeechRecognizer - that is not what I'm looking for. I want to start the keyboard VR and text go straight to an editview. Is this possible? Unfortunately this is not possible, but it very much should be . I went searching for a way to do this when I needed to use offline speech recognition as a 'hack' - but I couldn't achieve it. I can only suggest you submit an AOSP enhancement request regarding InputType . The following

Android voice recognition API offline

浪尽此生 提交于 2019-11-29 11:32:11
问题 Can someone please help me? I am developing an application with voice recognition via RecognizerIntent. Which Android version brought in officially the offline recognition available to apps by API? Is there any statement about it? By what I read until know it is not a choice of the developer if the voice recognition will be done via online service or the offline dictionaries. Am I right? Or are there any documented API to set offline? Thanks 回答1: Now there is offline voice recognition is

Gender detection of the speaker from wave data of the audio

风格不统一 提交于 2019-11-29 11:29:04
I would like to add a gender detection capability to a news video translator app I'm working on, so that the app can switch between male and female voice according to the voice onscreen. I'm not expecting 100% accuracy. I used EZAudio to obtain waveform data of a time period of audio and used the average RMS value to set a threshold(cutOff) value between male and female. Initially cutOff = 3.3. - (void)setInitialVoiceGenderDetectionParameters:(NSArray *)arrayAudioDetails { float initialMaleAvg = ((ConvertedTextDetails *)[arrayAudioDetails firstObject]).audioAverageRMS; // The average RMS value

Recognizing multiple peoples voices

爱⌒轻易说出口 提交于 2019-11-29 08:43:10
I am looking for an open source voice recognition engine that, instead of responding to spoken words, can determine who is speaking. Does anyone know where I might be able to find something like this? You can consider Bob SPEAR https://pypi.python.org/pypi/bob.bio.spear Alize/Mistral http://mistral.univ-avignon.fr/index_en.html GMM speaker identification in matlab https://github.com/codyaray/speaker-recognition Very basic speaker recognition in Java, not really accurate https://github.com/amaurycrickx/recognito In python, quite a state of the art toolkit https://pypi.python.org/pypi/SIDEKIT

convert sound to list of phonemes in python

放肆的年华 提交于 2019-11-29 08:06:54
问题 How do I convert any sound signal to a list phonemes? I.e the actual methodology and/or code to go from a digital signal to a list of phonemes that the sound recording is made from. eg: lPhonemes = audio_to_phonemes(aSignal) where for example from scipy.io.wavfile import read iSampleRate, aSignal = read(sRecordingDir) aSignal = #numpy array for the recorded word 'hear' lPhonemes = ['HH', 'IY1', 'R'] I need the function audio_to_phonemes Not all sounds are language words, so I cannot just use

Continues Speech Recognition beep sound after Google Search update

喜夏-厌秋 提交于 2019-11-29 07:29:01
I have an app that keeps on listening to voice and converting it to commands using Google Voice API. I have been using setStreamMute(AudioManager.STREAM_SYSTEM, true) to mute the beep and it worked until a couple of days ago before "Google Search" new update. Is there any workaround fix for it? I know I can use setRingerMode(AudioManager.RINGER_MODE_SILENT) , but maybe there is another method? In the update they switched the output of the 'beep' to the media stream. So you'll need to mute the AudioManager.STREAM_MUSIC There's an enhancement request about it here The beep sound can be muted by

Android offline voice recognition with simple commands/vocabulary [closed]

点点圈 提交于 2019-11-29 04:54:06
I am looking for some library that would allow me to create an offline voice recognition inside my Android app. There will be simple vocabulary consisting of up to 15 short (one word) commands for my app. Response time is crucial in my case. Is there any viable offline option (free & paid)? I am aware of offline version of Sphinx but will it be the option with fastest response (again, I only need my app to recognize few commands not the whole speech-to-text functionality)? I've had success using PocketSphinx for this type of application. I'd suggest building the PocketSphinx Demo app, use the

Capturing audio sent to Google's speech recognition server

你离开我真会死。 提交于 2019-11-29 00:30:26
to recognize speech by Google server, I use SpeechRecognizer class in combination with RecognitionListener as suggested in Stephan 's answer to this question . In addition, I try to capture the audio signal being recognized by using onBufferReceived() callback from RecognitionListener like: byte[] sig = new byte[500000] ; int sigPos = 0 ; ... public void onBufferReceived(byte[] buffer) { System.arraycopy(buffer, 0, sig, sigPos, buffer.length) ; sigPos += buffer.length ; } ... This seems working fine, except when SpeechRecognizer fails connecting to the Google server, when a chunk of audio is

Python Speaker Recognition [closed]

删除回忆录丶 提交于 2019-11-28 22:37:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I have an audio file, a recorded telephone conversation of 2 people, that I need to separate the voices of 2 speakers automatically. I am new to speech recognition and I looked at wave module of python but failed to find any fruitful information. Please help how to start. Also please suggest me free python

Voice Recognition as a background service

穿精又带淫゛_ 提交于 2019-11-28 21:08:56
问题 Is it possible to implement an activity as a service? My activity is a voice recognition activity. I want to have the activity running in the background of the app constantly checking for voice and when the user says a command it will recognize it and then perform the action. My question is...is it possible to do this and if so how can the background service notify the current activity or application? There was a previous post on this which had no clear answer...Thanks for any input or help.