voice-recognition

How to mute the beep sound for SpeechRecognizer?

我与影子孤独终老i 提交于 2019-12-21 12:20:03
问题 This has been asked before, but no one seemed to have a solution: Muting SpeechRecognizer's beep sound Nevertheless, I still would like to know if anyone knows how to mute the beeping sound for SpeechRecognizer? I create speechRecognizer object: private SpeechRecognizer sr = SpeechRecognizer.createSpeechRecognizer(this); And then in my class I instantiate the speechRecognizer like this sr.setRecognitionListener(new listener()); Intent i = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);

Is there a fast way to find (not necessarily recognize) human speech in an audio file?

谁说我不能喝 提交于 2019-12-20 10:58:45
问题 I want to write a program that automatically syncs unsynced subtitles. One of the solutions I thought of is to somehow algorythmically find human speech and adjust the subtiles to it. The APIs I found (Google Speech API, Yandex SpeechKit) work with servers (which is not very convinient for me) and (probably) do a lot of unnecessary work determining what exactly has been said, while I only need to know that something has been said. In other words, I want to give it the audio file and get

Enumeration<URL> configs.hasMoreElements() gives false

£可爱£侵袭症+ 提交于 2019-12-20 06:38:13
问题 I am developing a voice-based app in android and facing some problems please see below code, Java File 1 file = .wav file public static AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException { return getAudioInputStreamImpl(file); } private static AudioInputStream getAudioInputStreamImpl(Object source) throws UnsupportedAudioFileException, IOException { GetAudioInputStreamAudioFileReaderAction action = new GetAudioInputStreamAudioFileReaderAction

Split hypothesis on individual keyphrases

拈花ヽ惹草 提交于 2019-12-20 05:42:23
问题 I use Pocketsphinx in my Android app. I have a relatively small set of commands to be recognized independently, so I ended up using a keyword search from a file that looks like this: one/1.0/ done/1.0/ recognition on/1e-10/ recognition off/1e-10/ The actual list is not in English so these keywords are chosen arbitrarily for the sake of the example. I realize that these thresholds may be somewhat less than optimal, and that short words are prone to mismatches. The problem arises in this method

How to make voice recognition check against a local database in android?

戏子无情 提交于 2019-12-19 09:42:40
问题 Do you remember in old cellphones you could make a speech shortcut to call a person. I am trying to make an app in android with that function. The user records a word or sound it wants to control the application with and the voice-recognizer will only check if the sound it hears equals the sound previously recorded. Does anyone know how to make this or know of a guide? I've been searching for months without finding a satisfying solution. Thanks 回答1: You need to convert both reference sounds

Android Speech Recognition while music is playing

丶灬走出姿态 提交于 2019-12-19 09:27:40
问题 referencing to Hoans answer here Jelly Bean Beep In Speech Recognition I tried to implement a speech recognizer in the background. And it works all fine. The service runs in background and listens to words the user say. My problem is: If a music player is running and the speech recognizer restarts, the system sound stream is muted to prevent the beep sound of speech recognition. But muting this stream paues and mutes the music player, too. Does anyone have an idea how to prevent the beep

Speech to Text: Play MP3 message by itself and retrieve words

我只是一个虾纸丫 提交于 2019-12-19 04:56:25
问题 I have few MP3 files which are speeches. I have used Android Speech to Text before so I know it can store spoken words. Is there any way where we can get the spoken words from the MP3 and display it in a EditText ? I am thinking about playing the MP3 silently and identify the words, but have no idea about how to do that. I am using Google Speech Engine. 回答1: There is no native way to convert an audio file that contains spoken words to text on Android. You'll need to use a third-party API to

SpeechRecognizer - time limit

不打扰是莪最后的温柔 提交于 2019-12-19 03:57:04
问题 I am using SppechRecognizer for voice recognizer application. Its working fine. My requirement is i want to stop the voice listening after 1 sec or 2 sec. How to achieve that? 回答1: 1 or 2 seconds doesn't seem to be a lot of time but if you want to set a time limit, you'd probably have to thread it. Android has some default extras to set the minimum length of speech input and maximum amount after a user has stopped speaking, but none to set the maximum length of time for speech input. Your

Is it possible to have Android Voice Recognition (as a custom service) on Google Glass?

一世执手 提交于 2019-12-18 13:37:52
问题 We have a demo android application (Android 4.0.3) that runs voice recognition as a service, and (continuosly) logs the results of the recognition on the view. Everything is working fine in our smartphones. We would like to replicate this scenario in a Google Glass immersion application, but we always have this error message when we try to start the service: no selected voice recognition service Are there some known limitations? Or have someone figured out how to resolve this kind of problem?

Voice Recognition in PHP?

强颜欢笑 提交于 2019-12-18 13:28:32
问题 I am looking for Voice Recognition in PHP. I have a lot of wav files (10-15 seconds) and I would like Voice Recognition to recognise 1 or 2 words from each wav file and then flag it to database or csv. All the files have the same voice and accent (same person lol) Example pseudocode: $voice = new play('file.wav'); $result = $voice->recognise("Good Morning"); if ($result) { echo "Matched Good Morning"; //flag to database or csv } else { echo "No match found"; } Which PHP Voice Recognition