voice-recognition

Sound recognition in Android

浪子不回头ぞ 提交于 2019-11-30 05:50:33
问题 I want my Android app to recognize sound. For example I want to know if the sound from microphone is a clapping or knocking or something else. Do I need to use math, or can I just use some library for that? If there are any libraries for sound analysis please let me know. Thanks. 回答1: Musicg library is useful for whistle detection. Concerning claps, I wouldn't recommend use it, cause it reacts to every loud sound (even speech). For clap and other percussive sounds detection I recommend

How to handle ERROR_RECOGNIZER_BUSY

半腔热情 提交于 2019-11-30 00:18:50
问题 In my voice recognition based app, I sometimes receive ERROR_RECOGNIZER_BUSY. Intuitively, this calls for... retries , right? The problem is that this error is very undocumented, so obviously I have questions that perhaps someone more experienced in the field is able to answer: What triggers such an error? Is it really only busy server (at Google)? or this could also hint at a bug in my app? Do I have to explicitly close/reopen a session before a retry? How often to retry? once every 1-second

Voice/Speech to text [closed]

♀尐吖头ヾ 提交于 2019-11-30 00:17:27
I need an API or library (preferably free) that will convert voice/speech through a microphone, into text (string). Additionally, I will need an API or library that can do text-to-speech. I'd like to use C# and .NET, but other languages will suffice. Thanks. ShahidAzim You can use CMU Sphinx as it is pretty open and scalable solution and I think it can be used at both client and server side: http://cmusphinx.sourceforge.net/ If you are looking for a Microsoft desktop solution then you can use SAPI: http://msdn.microsoft.com/en-us/magazine/cc163663.aspx On server side, you can use Microsoft

Voice Recognition as a background service

允我心安 提交于 2019-11-29 23:13:18
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. Here is the voice activity...taken from another StackOverflow post: import android.app.Activity; import

Compare voice wav in android or voice tag ( voice commands ) API

风流意气都作罢 提交于 2019-11-29 20:33:32
问题 I'm developing an app and I need some way to compare 2 voices if they' match or not, I know that Voice Recognizer is a way to do that but since (i think) it needs to translate the voice into string first, it won't be so suitable for other language apart from the lang supported by the speech recognizer....any idea? Just like old-day phone used to do, the voice tag where it just compare the voice input with the voice it recorded earlier during the setup 回答1: A relatively simple way to do this

How Google Voice Search works? Is there an API for that?

女生的网名这么多〃 提交于 2019-11-29 20:18:22
I'm not sure if this is the right site for this question, but I was wondering how the voice activated search on Google's homepage works. Does it use Flash, some kind of plugin built into Google Chrome, or how does it use the microphone? This could be a dangerous privacy invasion if it is allowed to work the same way on any website, because no dialog asking for permission comes up, and I find this startling that Google (and who knows what other sites) can use my microphone without my permission. How is Google doing this? Javascript? Actionscript? Some custom plugin? It's available to anyone.

Glass GDk : Contextual voice commands without the “Ok Glass”

喜夏-厌秋 提交于 2019-11-29 17:12:52
I have an application with a CardScrollView as activity. Ok Glass => My App => Ok Glass => Next Page Or OK Glass => Previous Page Would it be possible to skip the second "Ok Glass" ? The best would be to let the Voice Command always activated but I don't know if it's possible. It is currently not possible to trigger contextual voice commands without the "ok glass" cue: the main reasons are to prevent false positive and narrow down the window when the microphone is listening for commands. I actually did this for my Glass app. Take a look here: https://github.com/RIVeR-Lab/google_glass_driver

How to enable Android Open Application voice interaction

假装没事ソ 提交于 2019-11-29 15:53:32
According to the system voice command docs , you can open an application with a voice command. e.g. OK Google - open foobar . Also according to the docs, this Works by default; no specific intent. In my sample development app, this isn't working. I've tried adding a few combinations of action and category permutations to the intent-filter, but no luck so far. I'm targeting a minimum SDK of 23, testing on a device with 6.0.1. Should this work, and if so, what are the changes to a new empty activity project I need to enable it? As far as I am aware, Google simply iterates over a list of

Voice Recognition in Python

杀马特。学长 韩版系。学妹 提交于 2019-11-29 15:18:10
问题 I'm currently working on a virtual assistant program in Python 3.3, and I'd like to incorporate voice recognition in it. Does anyone know of any python modules or tools to do this with? Any help would be greatly appreciated! 回答1: I've spent a lot of time working on this subject. Currently I'm developing a Python 3 open-source cross-platform virtual assistant program called Athena Voice: https://github.com/athena-voice/athena-voice-client Users can use it much like Siri, Cortana, or Amazon

Offline voice recognition android taking unwanted voice

别来无恙 提交于 2019-11-29 14:16:46
I have did a lot for research and tried offline pocket sphinx but it is taking surrounding voice it is taking and reacting my app differently. Is there any Google offline app for above kitkat 4.4.. i am trying it from 2 week. Thank for your valuable answer. Details: When the activity starts first text has to read the content (Text to speech) after it complete, reading voice recognition has to take voice and as per command ex: (next, previous, forward, option, 1, 2, 3, 4 etc). As per command it has to recognize and react to it in onresult method. Error: i am getting error after taking some