Android :: Get Volume Of Audio Stream Coming In Through Droid Microphone?Oct 13, 2010
How can I get the volume of the audio stream coming in through the android microphone?
How can I get the volume of the audio stream coming in through the android microphone?
I've read a lot of posts in this group regarding raw audio processing. Most of them include references by Mr. Sparks about support for this in "future releases". I hope maybe he was referring to Android 2.0? To be clear, all I want to do is obtain audio data from the microphone in as high a fidelity as possible to perform DSP against it. This is blissfully outside the realm of any DRM-laden audio output issues (I hope).
So, in short, can we get raw audio off the microphone using Android 2.0 and a Droid, for example?
Is there anyway in android to loop a recorded audio through microphone. I mean that instead of speaking in microphone, i should be able to send a recorded audio from code into it.View 3 Replies View Related
just started using the Pandora music app, but my kids in the back seat could not hear it. so I stopped by Walgreens and picked up the "JUPITOR JACK". you can't miss it cause it has the big red ad: "AS SEEN ON TV". it works well enough, but I had to tweak my car audio system to make it decent. whatever the droid plays comes out on the car radio, it's better then my old belkin FM transmitter.View 9 Replies View Related
I've noticed for a couple weeks now that a few "flakes" of the chrome paint on my power button have come off, I thought at first this was due to maybe an impact since I carry mine in a holster at 90 degrees - also I ride a bike so maybe something like sand or debris did this. But further looking at it theres no mark under the missing chrome, so I ruled that out. Looking closer the rockers for the volume control have a couple specs missing.
I obviously use the power button more than the volume, and now since I've notice this I switch back and forth from the home button/P button to wake the phone in a attempt to prevent more wear and tear. Its honestly not that big a deal, I can tell the camera button is poorly painted too but due to the fact I use the on-screen shutter I rarely ever touch that one. I've contemplated just removing the chrome all together, a touch of acetone applied with a q tip would do the trick. Black wouldn't be bad, I just would rather have all the colors be consistent instead of the "chipped away" look.
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
Anyone else have this problem? about 1 out of 4 calls the people on the other end (whether they call me or i call them) can hear me but i can't hear them. just happened again, though this time i tried 5 times in a row to make a call and it apparently went through but i had no audio. finally on the 6th try i could hear. also, i received a call but the phone never rung.
on an unrelated note i just had to resign into google. and a couple of forced close problems. hoping this isn't 2.1 related. though i had the audio problem before.
I'm writing an Android application that plays back voice mails using Media Player, which are just WAV files that have been sent to the device. When I play the file, it's played on the device's speaker, or else it plays through headphones if they're plugged in. What I want to do is play the file so that it sounds to the user as if it's at the same volume level as a normal phone call. Is there a way to route playback so that the file is played through the phone's ear piece instead of out of the speaker?View 2 Replies View Related
Since two weeks, I am the happy owner of a HTC Desire. Great phone and I love Android! One issue though...
The microphone volume of my Bluetooth headset is on the low side. It's the same headset I used with my previous Windows Mobile phone and in that configuration I had no problems. I paired a different Bluetooth headset with the Desire, but no luck... the volume is still to low. The volume of the build-in mic is ok.
Does anybody know what I can do to increase the mic volume? Settings? App?
I have searched the whole group but wasn't able to find a answer for my problem.I want to record audio from the microphone, apply some audio signal processing and than save the processed audio data in a compressed format.I figured out, how to record audio uncompressed but now I wonder if I can use some api functions to store this data in a supported compressed format.View 4 Replies View Related
I have over 100GBs of audio and video files on my PC that I would like to access at anytime. Whether it's around the house or on the go. 9 out of 10 places I'm usually at have highspeed wifi connections so I'm not too concerned about streaming over the 3G network; although it would be nice.
Basically, I want to set my PC up as a private media/file server that I can access from my rooted Droid X 2.2.....cheaply, free if possible.
I'm actually surprised that this device doesn't have streaming capabilities over local wifi networks. I can transfer files over from my home network and then play them but that requires a lot of wait time and uses a lot of space on the phone.
How to configure ftp and http servers with DNS if that helps. http would take a long time to code and can't be updated quickly so I'm hoping it can be done with an ftp server.
Alpine ida-x303. When I plug the USB cable in the car stereo it will charge the Droid but it will not play radio apps. The unit says no USB found.View 4 Replies View Related
How do i get access to the audio recorded by the microphone before it is accessed by the other applications.View 1 Replies View Related
Just got the Droid X on Verizon. Anyway to stream the audio to airtunes (airport express) speakers?View 4 Replies View Related
we're a group of students and trying to implement some kind of voice cryptography over a gsm connection (without modifing any gsm related codecs, we render pure audio which gets transmitted via gsm). Is it possible to initiate a voice call and transmit our generated audio signal (means bypassing the microphone as the primary audio source for that call)? I write this because I'm slightly worried after reading some posts on this list/group which states that the android.telphony APIs are private and can't be called from processes outside the the telephone subsystem.View 3 Replies View Related
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
Is possible to inject audio such as mp3 in the output of microphone streaming? I've found an application : spoofApp that change the voice during a call. How is possible?View 3 Replies View Related
Is it only possible for one object to access the microphone at a time? That is, could I simultaneously use an AudioRecord to do some audio processing and use a MediaRecorder to record the incoming audio?View 2 Replies View Related
I am trying to understand how to go about determining the frequency of various sounds captured on the phone via microphone. I am attempting to display a graph plotting the frequency of the note.View 1 Replies View Related
Eris with 2.1 I purchased Audio Manager, but even when maxed out there's less volume than on other cellphones we have. This is true with all audio functions, including Bluetooth. Is there another way, or a better tool, that will improve audio volume.View 9 Replies View Related
I've implemented "Audio Capture Setup and Start" example (http:// developer.android.com/guide/topics/media/index.html) with small modification - the output format is MPEG_4 not THREE_GPP.
The result - records with extremely poor audio quality.
Could you help me to understand where is error and how is possible to do really good audio records with Android?
I've done an experiment with Camcorder - standard Android application. Sound quality of the video is same poor. The audio signal is extremely low (quite).
Is it "by design" or may be some hardware problem (T-Mobile G1)?
I've found description similar problem here - http://osdir.com/ml/AndroidDevelopers/2009-06/msg00752.html - "Microphone audio capture with emulator is of very poor quality". In my case this problem reproduces on the real device. Unfortunately I have not found answer. I read about some "custom" encoders.. but have not found any example how implement them.
As a first step toward a speech recognition project, we wrote a simple voice recording application based on the information in this thread: http://groups.google.com/group/android-developers/browse_thread/threa...
It is working; however, the audio is extremely poor -- too staticy for our needs code...
As a comparison, here is a similar audio file captured with audacity on a PC: http://juzzam.org:9090/myAudioFile_onPC.mp3
Has anyone been able to record high quality audio with the emulator? If not, is it any better on the android dev phone?
According to the documentation of MediaRecorder, there is only one audio encoder "AMR (Narrowband) audio codec" and three output formats--3gpp, mpeg, and raw AMR: http://developer.android.com/reference/android/media/MediaRecorder.html
Here is the Activity source: http://juzzam.org:9090/RecordMicrophone.java.txt
We are testing on Windows XP, with a Logitec USB microphone, eclipse ganymede, and we are using all the defaults for an android 1.5 app (no emulator command-line options.. we defined the sdcard in the avd manager).
I put some MP3s on my Inc and the audio player plays them fine and they're pretty loud coming out of the speaker.
Now, I took one of those MP3s and set it as my ring tone. I turned the ringtone volume all the way up and when I got a call, it's like half the volume as it played as an MP3.
Why do I lose so much volume? Is there any way to make that louder?
For all those who love Pandora like myself, Google is working on a fix. Here is the news report from Android Central. Fix coming for Froyo audio issues | Android Central
They include a link to the code changes here: android.git.kernel.org Git - platform/frameworks/base.git/commit
I don't know if this will help or can be used in any of the current Froyo Roms out there.
I am working on android for omap zoom2 target. When I play audio clips, playback is fine and audio is coming via headset connected. But I can only hear the audio from left channel, nothing is audible from right channel. How to get stereo audio output via headset.View 2 Replies View Related
I am looking into writing some apps for Android phones that work with audio. These phones do not have a line in jack but do have headphone jacks that work with some headsets that include a microphone. Is it possible to work with audio coming in through the headphone jack if I plugged in something like a portable computer mic?View 3 Replies View Related
I used Class MediaRecorder to play mp3 file, the source like this:
It runs no problem. But I want to get the stream,and write the byte array to the stream, let mick sound the refreing voice.
by use java source I can did that. the source like this:
You know,Android SDK don't include the class SourceDataLine(package javax.sound.sampled).
is possible to analyze audio stream spectrum with Android API (similar to what you can easily do with Flash). Basically what I need is to determine the duration between two claps in a small audio record. The claps are much louder than the background, so theoretically it should be somehow possible..View 5 Replies View Related
I want to send audio stream to internet directly, instead of store in the file. But the output of MediaRecord only supports file by seting setOutputFile(String path) , not OutputStream. Is there any methods to do this?View 2 Replies View Related
Can i stream the audio from my mac to my phone?View 3 Replies View Related
I've been messing around with Tasker for the last several days, and it's raised a concern I've had with android itself. Is there a definitive answer to how audio is routed? I see that there are at least 6 audio stream types: call, system, ringer, media, alarm, notification. I also see (using Smart Volume or Quick Settings, etc.) that there are corresponding audio volume controls for each of the above.
My question is, which speaker do each of the audio streams get routed to? Obviously, there are different setups for when the headphones are plugged in and not. Here's what I see empirically so far: When the physical headphones are unplugged, the system, ringer, media, alarm and notification streams get routed to the external speaker. The call stream is routed to the earpiece.
When the headphones are plugged in, the alarm and notification streams seem to be routed to the external speaker (speakerphone, I guess). The call, system and media streams get routed to the headphones. The ringer stream has been behaving oddly. Sometimes it comes through the headphones, and sometimes through the ext. speaker.
How to play audio from a stream in android? I will get input stream from an online link( like continuous FM). I need to cache the stream and play it. I searched a lot in sites,,,but didnt get.They show option of playing from a stored file. There is no option to play from a stream.View 12 Replies View Related
I have seen apps in the Android Marketplace with regards to an app recording an ongoing phone conversation. I am interested in how this is done. Anyone knows how the call is being recorded?Is there a way to maybe get an Audio Stream for a call in Android?View 2 Replies View Related
I can capture an audio stream from the mic, but can I capture the currently playing audio stream?View 2 Replies View Related
For some reason I am not longer able to reply on that topic, so I will start a new post with my further input. I noticed that in the newer Android versions the system will now automatically mute audio streams while some types of audio notifications are playing. This is a nice solution for many types of audio. For music players this works well. My audio application is an audiobook player. The reason that I had posted the original topic about the ability to get a notification when other audio needs to play, is because for an audiobook, muting the audio isn't a very good solution. People miss part of the dialog of the audiobook while it is muted.
I now have customers writing to me and complaining that it skips part of their audiobook when other notifications play. It appears to be skipping to the listener because the audiobook continues to play but is muted while the other audio notification plays. Is there a way for my application to get a notification when its audio stream gets muted and unmuted?...............
I have a Samsung Moment with Android 2.1 on it and lately I cannot stream music or video in any app that I try. The YouTube app says "Sorry, this video cannot be played." for every single video, and if I try to use something like DroidLive (for shoutcast and such) it has a connection error every time. Grooveshark has an "Unknown MediaPlayer error." I tried a few other random apps off of the market to try to rule things out and none of them would play. Music that is stored on my SD card plays just fine.
It doesn't only not work sometimes, it doesn't work 100% of the time now. Happens when I have 3G and even if I'm connected to Wifi. I did a factory reset last night thinking that maybe an app had messed with a setting somewhere and it still doesn't work. I have no clue what else I could possibly try.
EDIT: As requested by the stickied thread:
1.) Model Number - SPH-M900
2.) Firmware Version - 2.1-update1
3.) Baseband Version - S:M900.8.0S.DD03
4.) Kernel Version - 2.6.29
5.) Build Number - ECLAIRDD03
And the hardware version is M900.8.0
Let me first state that I do not know Java. I'm a .NET developer with solid C# skills, but I'm actually attempting to learn Java and the Android SDK at the same time (I know it's probably not ideal, but oh well, I'm adventurous :)) That said, my end goal is to write a streaming media player for Android that can accept Windows Media streams. I'm okay with restricting myself to Android 2.0 and greater if I need to. My current device is a Motorola Droid running Android 2.0.1. There is one online radio service I listen to religiously on my PC that only offers Windows Media streaming, and I'd like to transcode the stream so my Android device can play it.
Is such a thing possible? If so, would it be feasible (i.e., would it be too CPU intensive and kill the battery)? Should I be looking into doing this with the NDK in native code instead of Java? I'm not opposed to writing some sort of service in between that runs on a desktop computer (even in C#), but ideally I'd like to explore purely device-based options first. Where should I start?
I lige watching movies on my computer, while im laying in my bed, but the cord from my headset is too short. is there an app where you can turn your phone into a wireless headset throug wifi so you can play the movie on your pc and get the sound through a headset you plug into your phone?View 4 Replies View Related
Let's suppose that we have the following scenario: something is playing on an android device (an mp3 par example, but it could be anything that use the audio part of an android device). From an application (android application :) ), I would like to intercept the audio stream to analyze it, to record it, etc. From this application (let's say "the analyzer") I don't want to start an mp3 or something, all I want is to have access to the audio stream of android. Any advice is appreciated, it could a Java or C++ solution.View 1 Replies View Related
I m working on Radio application i gt stuck coz i m unable to stream live audio in android 1.5... is that possible to stream live audio in android 1.5 SDK..View 1 Replies View Related
I'm working on an app for a client that requires streaming of an AAC audio stream. Unfortunately, there's nothing I can do about the stream format on the server. I'm working on Android and have discovered that Android's media player does not support raw AAC streams (which is what I'm getting). I found a project on Google Code that supports it (I tested it with the stream) but it's GPL'ed and that doesn't work for my client. I don't have much experience with this sort of thing so forgive me if my ideas aren't great. I know Android can play AAC encoded content if it is in an MP4 wrapper so I had thought about creating an MP4 wrapper on the fly on the client-side or perhaps even just doing some conversion to another format on the fly. Are these reasonable options? Does anybody have better suggestions?
Edit To rephrase, is it possible to put a raw AAC stream from a web server in an MP4 container in real time? If so, does anybody know of resources to help me with the process?
does android can recieve and play MMS or RTSP audio stream? or just can address for HTTP stream?? i try for MMS stream,but there is nothing to hear..View 2 Replies View Related
I am trying to make a very simple radio player for Android and I cannot get the audio streaming to work. In my latest attempt it plays for about 1 second and stops for some streams and it doesnt work at all for some other streams. Logcat doesn't give much useful information to me. I am testing on HTC Hero (Android 1.5).
If I hook the completion and buffer events I see the audio gets a complete event but it keeps buffering. Is there anything wrong with the code below? Should I be able to stream the the audio streams below? Is there a complete example somewhere of a working radio streaming?................
I am planning on developing my specific voip app for android.when a phone call occurs I want to hear the person who's calling on my local pc speakers and I want to speak to him via my own pc microphone / headset. So I need to send the audio stream of both me and the person I am talking to via the wlan network.View 2 Replies View Related
I'm trying to create a way to adjust volume settings for each of the different streams (media, notification, ringtone, etc) and have a way to preview the output sound level of each stream. I believe I have the correct implementation, but when I set the output stream type, there is no sound that plays.
Here is the code that correctly plays the user's selected alarm sound:
That commented out line is what is causing me problems. I would like to hear the alarm sound at the volume levels of the different audio streams, but when I include that line for STREAM_ALARM or any other audio stream, no sound at all plays.