speech-recognition

Continuous speech recognition with phonegap

依然范特西╮ 提交于 2019-12-05 12:48:16
I want to create app in phonegap with continuous speech recognition in Android and IOS. My app should wait for user voice and when he/she say "next", app should update screen and do some actions. I find this plugin: https://github.com/macdonst/SpeechRecognitionPlugin and it works really fast. But after few seconds after voice recognition is started and there is no voice, speech recogniser stops. Is there any method or flag like isSpeechRecognizerAlive or any other solution? Or is it possible to run it as a service? I'm also wondering that is there similar plugin on IOS and how to manage it :)

Partial voice recognition

落爺英雄遲暮 提交于 2019-12-05 12:29:46
I'm currently having a good time with voice recognition with the Microsoft's Speech Engine. It's quite simple to set up and use with C#, and allows to achieve great things with less lines of code than I first imagined. Now, the point is that I do not really know to handle this : I understand that the engine needs to start listening, then you say a word, or a sentence, and it compares in its dictionary to see if it can see a match. If so, the program does whatever you want it to do. What I'm scratching my head with, is that I would like the engine to "detect" words that are in his dictionary,

How to split male and female voices from an audio file(in c++ or java)

元气小坏坏 提交于 2019-12-05 12:19:55
I want to differentiate betwen the male n female voices in an audio file and seperate them.As an output I want the two voices seperated.Can u please help me out n can the coding be done in java or c++ This is potentially a very complicated question, and it is similar to writing your own speech recognition (or identification) algorithm. You would start by converting the audio into the frequency domain, which is done using a Fast Fourier Transform . For each slice in time that you take an FFT, this will give you a list of frequencies and their amplitudes. You will somehow need to detect the

Auto download offline speech recognition language on Android

人走茶凉 提交于 2019-12-05 10:27:05
问题 Is there any way in Java to detect if an Android device has an offline speech recognition language installed, and if it does not prompt the user to download it? I know you can ask to speech to text to prefer offline speech to text, but how do you know if the device has the language installed? This question is not on how to use offline speech, this works. The question is "how to detect and download/install offline speech languages" from Java app code. i.e. have the app detect if they have

(Android Studio Speech Recognizer) I'm getting error 9 (insufficient Privileges) even though I have given it RECORD_AUDIO and INTERNET

老子叫甜甜 提交于 2019-12-05 08:54:25
package blessupboys.speechtest; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.ConnectivityManager; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.speech.RecognitionListener; import android.speech.RecognizerIntent; import android.speech.SpeechRecognizer; import android.widget.Button; import android.widget.TextView; import java.util.ArrayList; import android.util.Log; public class VoiceRecognitionTest extends Activity implements OnClickListener { private TextView mText;

ios speech to text conversion [duplicate]

痞子三分冷 提交于 2019-12-05 08:17:12
问题 This question already has answers here : iPhone App › Add voice recognition? [closed] (4 answers) API or SDK for speech to text(speech recognition ) iphone (3 answers) Closed 6 years ago . I would like to convert spoken words into text so I can use nslinguistictagger in my app. How can I convert speech to text? What are the options? Does openears support voice to text conversion? 回答1: Openears will support free speech recognition and text-to-speech functionalities in offline mode. They have

Android: Speech Recognition Append Dictionary?

ε祈祈猫儿з 提交于 2019-12-05 07:55:49
I'm using the Speech Recognizer Intent in Android. Is there a way to add your own customized words or phrases to Android's Speech recognition 'dictionary' No. You can only use the two language models supported. The built in speech recognition provided by google only supports the dictation and search language models. See http://developer.android.com/reference/android/speech/RecognizerIntent.html and LANGUAGE_MODEL_FREE_FORM or LANGUAGE_MODEL_WEB_SEARCH. http://developer.android.com/resources/articles/speech-input.html says: You can make sure your users have the best experience possible by

Keyword activated speech recognition on android

半城伤御伤魂 提交于 2019-12-05 06:17:13
Is it possible to use this cool voice activation feature of "google now" in you own application? So what I want is that the user does not have to trigger the activation by pressing a button or sth. like that. I'd rather like to have an automatic speech recognition activated by a keyword. For example: When "google now" is opened you only have to say: "google". After that command the system is listening for the actual input. Is this possible by using the android API? Or is there any open source library that provides this behavior? I know that this is possible with "open ears" but unfortunately

Speaker Recognition using MARF

ⅰ亾dé卋堺 提交于 2019-12-05 06:08:53
问题 I am using MARF(Modular Audio Recognition Framework) to recognize the Speaker's voice. In this, i have trained MARF with the voice of person 'A' and tested MARF with voice of person 'B'. Trained using --train training-samples Tested using --ident testing-samples/G.wav In my speakers.txt file I have mentioned the voice samples of both the persons i.e. A & B. But I am not getting the correct response means both the trained voice and testing voice are different but MARF is giving the Audio

iOS 10.0 Speech Recognition Error kAFAssistantErrorDomain

♀尐吖头ヾ 提交于 2019-12-05 05:59:53
I try using speech recognition as below let urlpath = Bundle.main().pathForResource("myvoice2", ofType: "m4a") let url:URL = URL.init(fileURLWithPath: urlpath!) let recognizer = SFSpeechRecognizer() let request = SFSpeechURLRecognitionRequest(url: url) recognizer?.recognitionTask(with: request, resultHandler: { (result, error) in print (result?.bestTranscription.formattedString) }) The result is nil, I debug and see the error as below Error Domain=kAFAssistantErrorDomain Code=1101 "(null)" Do you have any idea? I have the same error, but identical code worked fine on device. So, install iOS 10