voice-recognition

Reading and processing WAV file data in C/C++

旧时模样 提交于 2019-11-27 01:10:36
问题 I'm currently doing a very very important school project. I need to extract the information of a WAVE file in C/C++ and use the information to obtain the LPC of a voice signal. But, in order to do that, I need to do some pre-processing to the signal, like doing Zero crossing and energy analysis, among other things. Which means that I need the sign and a real value. The problem is that I don't know how to obtain useful information and the correct format for that. I have already read every

doing actions after sound recognization in android

℡╲_俬逩灬. 提交于 2019-11-26 23:44:07
问题 please give me suggestion about this condition. is it possible in android that the device waits for special sound, and after it recognizes it, some actions happens. please tell me about your ideas.Thanks for your help! UPDATE i try pocket sphinx and do lots of searches about 'defining new keyword", but i can't do it. I use this code: public class PracticeActivity extends Activity implements RecognitionListener, edu.cmu.pocketsphinx.RecognitionListener { // private static final String KWS

Simplest algorithm of measuring how similar of two short audio

为君一笑 提交于 2019-11-26 21:54:34
问题 The question is to look for any open source or simple implementation to measure how similar between two audios on the iOS application. Simply speaking, audio can be represented by 1-D vector, to calculate the distance between the 1D vector. But the audio length will be different, therefore need some pre-processing etc. Looking forward to get some clues here, thanks 回答1: The similarity between two sequences of variable length can be efficiently calculated with DTW: http://en.wikipedia.org/wiki

Android: Voice Recording and saving audio

若如初见. 提交于 2019-11-26 20:58:53
问题 I am working on application that will record the voice of the user and save the file on the SD card and then allow the user to listen to the audio again. I am able to allow the user to record his voice using the RecognizerIntent, but I cant figure out how to save the audio file and allow the user to hear the audio. I would appreciate it if someone could help me out. I have displayed my code below: // Setting up the onClickListener for Audio Button attachVoice = (Button) findViewById(R.id

Android speech Recognition App Without Pop Up

夙愿已清 提交于 2019-11-26 18:09:36
问题 I'm currently looking into getting a career with JAVA and have decided to start by building an app. I have this code right here that I am using to trigger Speech Recognition. public class MainActivity extends Activity implements OnClickListener{ private static final int VR_REQUEST = 999; private ListView wordList; private final String LOG_TAG = "SpeechRepeatActivity"; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout

Voice command keyword listener in Android

我怕爱的太早我们不能终老 提交于 2019-11-26 16:39:04
问题 I would like to add voice command listener in my application.Service should listen to predefined keyword and and if keyword is spoken it should call some method. Voice command recognition (activation command) should work without send request to Google voice servers. How can I do it on Android? Thanks for posting some useful resources. 回答1: You can use Pocketsphinx to accomplish this task. Check Pocketsphinx android demo for example how to listen for keyword efficiently in offline and react on

Voice recognition on android with recorded sound clip?

拜拜、爱过 提交于 2019-11-26 12:13:33
I've used the voice recognition feature on Android and I love it. It's one of my customers' most praised features. However, the format is somewhat restrictive. You have to call the recognizer intent, have it send the recording for transcription to google, and wait for the text back. Some of my ideas would require recording the audio within my app and then sending the clip to google for transcription. Is there any way I can send an audio clip to be processed with speech to text? I got a solution that is working well to have speech recognizing and audio recording. Here is the link to a simple

Google Speech Recognition timeout

佐手、 提交于 2019-11-26 11:49:51
I am developing an Android Application that is based around Speech Recognition. Until today everything has been working fine and in a timely manner, e.g. I would start my speech recogniser, speak, and within 1 or 2 seconds max the application received the results. It was a VERY acceptable user experience. Then today I now have to wait for ten or more seconds before the recognition results are available. I have tried setting the following EXTRAS, none of which make any discernible difference RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS RecognizerIntent.EXTRA

Glass voice command nearest match from given list

泄露秘密 提交于 2019-11-26 07:34:43
问题 With Glass you can launch an app via the \'OK, Glass\' menu and it seems to pick the nearest match unless a command is miles off, and you can obviously see the list of commands. Is there anyway from within the app, or from the voice prompt (after the initial app trigger) to have a similar list given and return the nearest match. Random (non-real world) example, an app that shows you a colour, \"OK Glass, show the colour red\" \'show the colour\' could be your voice trigger and seems to be

Google Speech Recognition timeout

戏子无情 提交于 2019-11-26 03:34:26
问题 I am developing an Android Application that is based around Speech Recognition. Until today everything has been working fine and in a timely manner, e.g. I would start my speech recogniser, speak, and within 1 or 2 seconds max the application received the results. It was a VERY acceptable user experience. Then today I now have to wait for ten or more seconds before the recognition results are available. I have tried setting the following EXTRAS, none of which make any discernible difference