Android :: Use An Audio File As Input To Speech Recognition?
Nov 13, 2009
Is there a way to use an audio file as input to speech recognition? If not, is this feature expected in the foreseeable future?
A separate question (and this is going to sound ridiculous, but it might actually be okay for a joke app I'm thinking about): Would it be possible to play audio out of an Android handset, while at the same time having a recognizer listen to it via the microphone? (Guess I could just try it.)
View 3 Replies
Nov 15, 2010
I want the Android speech recognition system analyzing audio file and not the default incoming voice from microphone..
View 1 Replies
View Related
Nov 1, 2009
I want to use the SR api to handle commands in my application. I know at any given point in my application what the valid commands would be at that point so would like to limit the results that the SR is matched against. For example, if the only valid commands were "Yes" or "No" I would like to be able to restrict the SR to only try and match against those two words. Otherwise on full vocabulary I get "Snow" and other false words. Limiting the vocabulary should make matching 90%+ accurate on limited words. Is this possible? Also, can I limit the SR to only match numeric for number input only? The internal dialer seems to be able to do this sort of this, so can I?
View 7 Replies
View Related
Aug 2, 2009
How to I properly parameterize the speech recognizer so that it can more easily recognize the words that the user will probably say?
As far as I can tell there is no way.
I believe this site is wrong: http://www.4feets.com/2009/04/speech-recognition-in-android-sdk-15/
CODE:............
Will give a hint to the recognizer that you might say those words. However, it appears to do absolutely nothing. It also conflicts with the google documentation which says:
"An ArrayList of the potential results when performing ACTION_RECOGNIZE_SPEECH. Only present when RESULT_OK is returned." This hints that the array is a return value NOT an input.
To test this out try adding: ArrayList< String > potentialResults = new ArrayList< String >(); potentialResults.add("cumin"); and try to get the speech recognizer to recognize it. You will find it very difficult.
How to properly control the speech recognizer?
View 3 Replies
View Related
Jul 7, 2009
Reading through this group about speech recognition in android. Is it possible for me as a developer to create an application that uses speech recognition in the 1.5 SDK. I want to be able to base my code on the examples/api/voicerecognition.java code.
View 15 Replies
View Related
Dec 10, 2009
Is Android Speech recognition only available for english? I tryed to set EXTRA_LANGUAGE in the RecognizerIntent but it doesn't work. EXTRA_LANGUAGE - Optional language override to inform the recognizer that it should expect speech in a language different than the one set in the getDefault(). Do you know anything about this?
View 2 Replies
View Related
May 6, 2010
From what I've read, speech recognition is available for 3 languages: English (UK, US, Au ..), Japanese and Chinese (Mandarin). Does anyone know more details about how to switch between these languages? Is there a way to know (programatically) which language is active for speech recognition on a certain device? (maybe in Japan the only have Japanese ... but can I get this information somehow ... like a property or anything?).
View 2 Replies
View Related
Nov 9, 2009
I want to use the speech to text api in android, but I don't want to be slowed down by those dialogs. Is it possible to use the functionality without them?
View 1 Replies
View Related
Feb 9, 2010
I am trying to build an application (which would use the Hindi language and other regional languages) to get speech voice commands.I also need text to speech functionality in my application.I was wondering if there was any way I could get a speech recognition library on Android? I did a quick Google search and found a couple of libraries for Hindi on the Internet but I am not sure if I can include them in my Android project. Can I?
View 1 Replies
View Related
Sep 17, 2010
Does anyone have a recommendation for a microphone to use to demo speech recognition.
Wants: It has to work in a noisy environment. It should have a way to output the sound into an external speaker
View 2 Replies
View Related
May 5, 2010
In my android Application,I need to send the email, for the body content i need to use Speech Recognition. how to do this.Please give me the solution for this.
View 2 Replies
View Related
May 24, 2010
In my emulator isRecognitionAvailable method from SpeechRecognizer class returns false and also when i run VoiceRecognition.java sample code on API level 8 platform 2.2 i got "Recognizer not present" message. Any idea hints whats going on? If problem is Speech recognition is not available in my emulator then how to install it in my virtual device?
View 3 Replies
View Related
Mar 24, 2012
I have installed the vlingo app which works with no problem (so far). However, when I download and run the app Talk to Me, and click the microphone, it says that "Speech Recognition Tool is not currently installed". I have searched all over Google to try and find what exactly it is that I need to install on my Wildfire to enable this app, and a couple of others, to recognise my speech. What I need to do to enable speech recognition.
View 1 Replies
View Related
Apr 20, 2010
My speech recognition app needs to work without human intervention, so the situations where the "No speech heard" or the "No matches found" dialogs come up and require a button press are a problem.
Is there a way to prevent this dialog from displaying?
Is there a way to programming perform the button click?
Is there a way to programmatically close the dialog?
This is how I'm firing the RecognizerIntent:
CODE:....................
View 6 Replies
View Related
Oct 3, 2012
I AM able to turn on "personalize speech recognition" via the settings in voice search, but on my google dashboard the speech section is missing and I see no evidence that google speech recognition accuracy is improving in any way. Ive tried clearing the app data and enabling search history without success.
I have only 1 gmail account linked to this phone and everything pertaining to that account (calendars, app store, etc.,) is updating correctly.
Im running ICS stock rom on a rooted HTC vivid with ATT service. I have voice search 3.0.1. The app store only has version 2.1.4. Id gladly uninstall 3.0.1 and install 2.1.4 from the app store if it would fix this problem but im worried uninstalling voice search could cause additional problems.
View 2 Replies
View Related
Mar 2, 2013
But before we engage in arguments on the politics of actively hiding the file system to computer users and restricting access to their devices... WHERE Google stores its Offline Speech Recognition Language Files?
I accidentally discovered that Offline Speech Recognition seems to have been bundled with Google Search somehow because if Google Search is disabled, so is Speech Recognition and looking at Google Search in Application Manager, one can notice that the data storage is proportional to the size of the downloaded language files, but so far have been unable to locate where on the device these files are stored, so that they don't need to be downloaded again.
View 9 Replies
View Related
Feb 12, 2014
For some reason in the past day or so, my speech recognition function makes a bleep noise when I activate it. I am pretty sure it never did before (I don't like beeps and bleeps). All my other settings are on vibrate or mute. I have gone through the various sound settings in the system menu and the language and input and can't find a way to turn it off. How to get that sound off? Or even tell me how it might have turned on?
View 5 Replies
View Related
Jan 7, 2010
It seems to me that the method "speak" of class TextToSpeech only works in method onInit or on Utterance Completed. However, onInit and onUtteranceCompleted don't have any parameter for passing strings. In the following code, I tried to define a global string arraylist outside the methods and used the arraylist for string input.For some reason , it didn't work out.But the engine did speak "did you sleep well". public class TTS extends Activity implements OnInitListener,OnUtteranceCompletedListener,Runnable ArrayList<String> content=new ArrayList<String>();
int MY_DATA_CHECK_CODE=50;
private TextToSpeech mTts;
public void onCreate(Bundle savedInstanceState) {
content.add("test");
content.add("another test");
super.onCreate(savedInstanceState);
setContentView(R.layout.splash);
Intent checkIntent = new Intent();
checkIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA);
startActivityForResult(checkIntent, MY_DATA_CHECK_CODE);
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
if (requestCode == MY_DATA_CHECK_CODE) {
if (resultCode == TextToSpeech.Engine.CHECK_VOICE_DATA_PASS) {
// success, create the TTS instance
mTts = new TextToSpeech(this,this);
} else { // missing data, install it
Intent installIntent = new Intent();
installIntent.setAction(
TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);
startActivity(installIntent);
} public void onInit(int status){
if(status==TextToSpeech.SUCCESS){
mTts.setLanguage(Locale.US);
mTts.setOnUtteranceCompletedListener(this);
String myText1 = "Did you sleep well?";
mTts.speak(myText1, TextToSpeech.QUEUE_FLUSH, null);
for(int i=0;i<content.size();i++){
mTts.speak(co
View 1 Replies
View Related
Jun 30, 2010
I am looking at doing speech recognition in android. The program needs to have continuous speech recognition. The library only needs to be about 10 words. I have considered using Googles api, but I don't think it will work. (I cannot have anything covering the screen). I have been looking into other ways but nothing seems like it will work. Is it possible to use java's speech recognition library, or is there any other way of going about this?
In summary
1. Need continuous speech input
2. 10 words at max
3. can train if necessary
4. overview of program - display screen, wait for voice input or touch input, update screen repeat
5. cannot cover what is being displayed on the screen
View 2 Replies
View Related
Jun 15, 2010
i am new to android.i am working on speech recognition.i need some sample programs.anyone can guide me.
View 2 Replies
View Related
Mar 8, 2010
Does anyone know how to get usefully information from audio that comes from the mic? I would like to parse the audio bit stream to gauge how large or dmall the audio wave is any help would be great.
View 2 Replies
View Related
Sep 22, 2010
Is there an Android equivalent to the iOS Core Audio / Audio File Stream Services? I need to be able to read audio bytes from a network and feed them to the audio system under my control, so I can do my own timeouts / reconnects / range requests / etc. without interrupting the audio playback (since the system audio thread would be playing audio already enqueued). It seems that MediaPlayer doesn't give me this level of control. Is there a lower-level framework that does, either in the SDK or NDK?
View 2 Replies
View Related
Oct 2, 2010
I want combine two audio files. (A audio file + B audio file = AB audio file)So, my search result is:
1. useing an AudioTrack.
2. decode PCM from audio file.
3. combine PCM.
This is currect? It there another way?
View 1 Replies
View Related
Aug 5, 2009
I am not able to use MediaPlayer/VideoView to make rtsp to work in Android. So I have created a client to interact with RTSP server, I have succeeded in doing this.I am able to get the video/audio frame from RTSP server (MySpace) in Android. Now I want to play the frames. I have searched OpenCore APIs to play the frames, but didn't get any APIs. My investigation: There is a class PlayerDriver.c It creates two sinks one audio and other video. handleSetVideoSurface handleSetAudioSink Two objects of type PVPlayerDataSinkPVMFNode are created. I suspect this class has a way to give the stream as input, but I am not getting the definition of this class. Can you suggest me is there any class I need to look into it?
View 1 Replies
View Related
Jul 22, 2010
Is it possible to record an audio (not a phone call) using the bluetooth input and not the device microphone? I am able to playback whatever am saying through device's mic but am not able to figure out how to use the bluetooth mic instead.
View 6 Replies
View Related
Jun 19, 2010
1st. Are our phones (HTC Incredible) capable of digitally recording audio from a mic? For example, can I plug a microphone into the 3.5mm jack and start recording the audio. (given the hardware is capable) Which leads me to my next question, if so, is there an app for it? I searched and searched but couldn't find much info on it...
View 3 Replies
View Related
Mar 29, 2010
I'm getting the above error message when i run below code. please let me know if you have found any solution for this? code...
View 2 Replies
View Related
Feb 6, 2010
All of the sudden yesterday I lost audio on text input, entering log in credentials, entering text for a search, etc. I have gone through the sound settings and everything is checked that would affect this.
View 5 Replies
View Related
Dec 28, 2011
I just got a 2010 Infiniti G37. It has a USB port, but no aux input and no Bluetooth audio streaming (wtf Infiniti?). It reads and plays iPods and iPhones just fine. I can not get it to recognize my android phone at all (Motorola triumph running stock 2.2 rooted). It will recognize flash drives though. I think the problem with the phone is it takes a few seconds to click 'connect USB storage' and then 'ok' before it reports itself as a mass storage device. By that time the car is already reporting an error. I have tried with debugging on and off.. is there any tweak, app, or hack I can do to force my phone into USB mode (without the prompts) every time I connect it?
This is actually a pretty important feature to me and I'm disappointed I can't get my phone and new car to play nice. Might even consider switching to an iPhone if there is no other option.
View 2 Replies
View Related
Jul 31, 2010
Is there a cable I can use with my Vibrant to send audio from the micro usb port to the aux input jack in the car? I tried searching on ebay without any luck?
View 3 Replies
View Related