Android :: Low Level Audio API

Aug 9, 2010

I'm looking for some way in Android to play in-memory audio in a manner analogous to the waveOutOpen family of methods in Windows programming. The waveOut... methods essentially let an application create arrays of sample values (like in-memory WAV files without the headers) and dump them into a queue for sequential playback. Windows transitions seamlessly from one array to the next, so as long as the application keeps dumping arrays into the queue ahead of playback, the program can create and play continuous audio of any arbitrary length. The Windows API also incorporates a callback mechanism that the application can use to indicate progress and load additional buffers.

As far as I can tell, the Android audio API lets an application play a file from local storage or a URL, or from a memory stream. Is there any way to get Android to "queue up" MediaPlayer.start() calls so that one player transitions (without glitches) into the next upon play completion? It appears that Jet does something like this, but only with its own internal synthesis engine. Is there any other way of accessing Android audio in a waveOutOpen way?

Android :: Low level audio API


Android :: Audio Capture With Signal Level Indicator

Nov 6, 2009

I want to capture audio and along with the audio I also want to show the live signal strength of the audio on the screen.

Is there ant api that give me information regarding the the loudness level (or at least some information indicating whether the user is silent or speaking something) of the audio or should I implement my own signal processing using the captured buffers and determine the level.

View 2 Replies View Related

Android :: Routing Audio To Bluetooth Headset API Level

Jun 27, 2010

if it was possible to route audio files from the phone to a bluetooth headset on versions of Android API Level 7 and under (so versions older than the new Froyo) If so, do you know of any sample code I could look at to figure out how to do this? Or perhaps just point me in the right direction?

View 2 Replies View Related

Android :: Manage Audio Level Through Application - Combining Two Sources

Sep 23, 2009

Is there a way to manage the audio levels through an app? Or is it more dependent on the phone's built in capabilities? Right now at work I listen to a skype audio call from my house (for security) at a very low volume and then at a higher level I listen to music or podcasts, both sources going at the same time. When my dog goes nuts, the door is knocked on, or (in theory) if someone busted down my door, I notice the change in volume and sound, turn off my local media, and focus on what I'm hearing until the drama passes.

I ask because I would like to continue this setup when not at work, like say while running, where I again have earphones in and am normally listening to audio content. I would like to be able to have two pieces of audio: music combined with a skype stream or normal phone call, going at the same time like at work. So is there a way to have two sources going at the same time, with the volume of each independently adjustable? Is this an app thing or a phone thing? Phone will be Sprint Hero.

View 1 Replies View Related

HTC Incredible :: Audio Level On The Speaker?

May 1, 2010

What do you think of the audio level on the speaker of the incrediable?

I feel it is low and weak compared to the Motorola Droid.....

View 5 Replies View Related

Android :: Low Level Audio - Latency In SoundPool - AudioTrack For Real Time

Oct 26, 2009

I first have to say that I'm biased, 'cus I like to write music apps (like music generation apps). However, this affects games as well. It's somewhat disappointing how OpenGL has made it into the NDK now but there isn't any NDK methods to get to sound to have faster access. Over the weekend I did some more testing and if you make a "drum" app, for example, and play the sound using either SoundPool or AudioTrack, you will get about a 100ms delay buffer, which is clearly audible (gap).

I made a test app where when you touch the screen, upon the DOWN event, it would play a short sound (like a drum sound). It clearly was not real time responsive or even close - you could hear the delay. I'd be interested to know if anyone who has made a game has any trouble with sounds? It seems like they aren't going to really trigger real time enough if you use SoundPool, for example. Am I completely wrong? Seems like your game is going to perform an action, play a sound, but the sound will have latency which I would think would throw off the game a bit..................

View 12 Replies View Related

Samsung Captivate :: Adjust Audio Level?

Jul 27, 2010

Is there anyway to adjust the audio level out of the Captivate? When I hooked it up to my car stereo to play Pandora, I had to max out the volume on the car stereo just to be able to hear it. I don't listen to music at outrageous levels. If I listen to a CD or the radio, the volume level is between 10 and 25. With the Captivate it is 40 and still not as loud as the radio.

View 2 Replies View Related

Sony Ericsson Xperia X10 :: Bluetooth Audio Level Very Low

Sep 11, 2010

I really struggle when using my phone with my bluetooth headset as the audio level is so much lower than all my previous Sony Ericsson phones. I have made sure all the volume levels are at max on the X10 itself, and on the headset itself, but still the audio level is very low. The transmitted audio is fine, and the person I am speaking to never has a problem hearing me, but I really struggle to hear them. Is this a known problem that Sony Ericsson are aware of? Are there any fixes I can apply? I have downloaded a number of different volume apps from the market place, but not found any that seem to be able to increase the volume.

View 1 Replies View Related

KitKat 4.4 :: Play Music Audio Level Lockscreen Background?

May 11, 2014

I have a friend at work who has a cheapie smartphone running vanilla Android and whenever he has his phone playing on the dock his lockscreen displays the audio levels behind the password prompt.

Audiophiles, I don't know the correct term for it, but it's all those little lines that go up for each frequency range. The treble side is on the left, bass is on the right.The background is black, the levels thing is a light blue-ish color.

I know he uses Play Music and he has a Pattern Lock, but so far I haven't been able to replicate it on my phone.My phone is a Galaxy S4 with 4.4.2 and the latest Play Music, swipe unlock, and a static picture as the background.I see no options for the levels thing in Play Music nor in my lockscreen settings.Is this something only in vanilla Android that Samsung tossed out?I think it looks really cool; better than the square album artwork awkwardly cropped to fit a rectangular screen.

If this is something vanilla only, are there any good free equivalents in the Play Store you'd recommend?How about compatibility with Rocket Player?

View 1 Replies View Related

General :: API Level Differences - App Works In Level 10 But Not In Level 7?

Jul 2, 2012

I'm having trouble developing an app, while it works in API level 10, it does not in API level 7. I wondery why and I've been looking for a site that summarizes the differences, or the new features from one API level to another and cannot find it.

09-04 04:24:21.485: E/AndroidRuntime(6834): Uncaught handler: thread main exiting due to uncaught exception
09-04 04:24:21.510: E/AndroidRuntime(6834): java.lang.VerifyError: [code]....

There seems to be a problem with an uncaught exception and reflection, although....why does it work on API level 10?

View 1 Replies View Related

Android :: How To Play Audio Files At Phone Volume Level / Not Speaker Volume

Nov 22, 2010

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

Motorola :: Android Player To Recognize Audio Tags On Lossless Audio Files?

May 23, 2010

Does anyone know if there is a way for either meridian or the regular android player to recognize audio tags on lossless audio files?

View 1 Replies View Related

Android :: Analog To IOS Core Audio / Audio File Stream Services?

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

Android :: Combine Only One Audio File From Two Audio Files

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

Android :: How Can I Apply An Audio Effect To Recorded Audio?

Oct 17, 2010

I want to record a sample from the microphone, then I want to play the recorded file maximizing the volume and apply some audio effect, like modifing sample rate or addind an echo.Waht is the best way? is there an example?

View 1 Replies View Related

Android :: Audio Record And Play Recorded Audio

Jun 2, 2009

Could you please let me know how to do the audio record in android emulator and play the same recorded audio. Could you please help me in proceeding in development.I tried with MediaPlayer API's also.Its not working.

View 5 Replies View Related

Android :: Determining Audio Format Of Audio Files

May 8, 2010

Is there a way to determine the audio format of an audio file in Android? On normal java I do it like this:

File file= new File(...);
AudioInputStream stream = AudioSystem.getAudioInputStream(file);
AudioFormat format= stream.getFormat();

View 2 Replies View Related

Motorola Droid : How To Play Audio From Phone Through RR Audio System?

May 5, 2010

I connected my phone via USB to my RR sport to upload audio files to the RR hard drive. However, I keep getting connection error. Apparently my device is not being recognized as a storage. I did the unmount thinking. Also, I am wondering how I can play audio from my phone through the RR audio system.
RR is 2010.

View 2 Replies View Related

Android :: Play Remote Audio File In Android Audio Player

Nov 12, 2010

I am working on a application that would allow users to play remote files. My question is how do I open those remote files to be played in the default android player?but this does not give me control of what is happening!

View 2 Replies View Related

Samsung Galaxy S :: Audio Codecs /can't Hear Any Audio

Jun 28, 2010

I have a 720p video that I am trying to play on GS. The image is amazing by the way. But I can't hear any audio (works fine on my PC). Anything wrong with the audio codec used?

View 7 Replies View Related

Android :: Decode MP3 Audio Data To PCM Audio Format In Android

Dec 9, 2009

I am streaming an MP3 audio and instead making this MP3 audio to play, I want it to be converted to PCM format and pass this PCM audio to AudioTrack(as it takes PCM data as input.) instead of passing my MP3 stream to MediaPlayer. Can anyone please help me to convert the MP3 to PCM stream?

View 3 Replies View Related

Android :: Is API Level 6 Gone?

Sep 21, 2010

I have updated my tools to revision 7 and now I can't do a build as it says the API level is obsolete. I can understand warning but it won't build at all. I am using android.bat to generate a build.xml for release versions. So the build.xml gets made from scratch each time. If I switch to --target 8 it builds but I have already released it on the Android Market with 6. Won't this mean that some people that have Android 2.0.1 won't be able to run it?

CODE:........

View 5 Replies View Related

Android :: What Services Are Available At The API Level

Sep 4, 2009

I know about LocationManagerService, AlarmManagerService, and BatteryService, from Android programming books, but is there a published list of all available services?

View 6 Replies View Related

Android :: API Level On Device

May 4, 2010

How can I find out which API Level my device is using? I checked the firmware version of it. It's 1.6. Does that mean it uses API Level 4?

View 2 Replies View Related

Android :: Low Level Debugging ?

May 15, 2010

Is there a way to trace through function calls at the lowest levels of the Android system? Right now when I debug in Eclipse, it goes through the source files that are located inside the frameworks folder, but is it possible to go even lower? For example show what functions are being called from the libcore folder. I am also interested to find how it communicates with the linux kernel at the bottom of the layers. Is there a way to do this?

View 3 Replies View Related

Android :: Getting Values From XML - API Level 3

Jun 24, 2010

I have a string that contains a xml structure and there are two pieces of data in separate tags that I am after.

xpath has been added since API level 8, and with me being stuck with API level 3 (old phone for you ;-)) I need a way to get the data.

Would using a regular expression commit a huge sin? ;-) The xml isn't that big...

View 1 Replies View Related

Android :: Need A Application For Battery Level

Sep 25, 2010

Can anyone suggest me a nice app to see the battery level?

View 10 Replies View Related

Android :: Different Screen Sizes - API Level

Nov 29, 2009

Hello, I would like to ask what settings are necessary for my application to be available on all screen sizes: Is it enough to compile it using SDK 1.6 (but target is set to 1.5 and API level to 3) or maybe I have to set target to 1.6 and API level to 4?

View 4 Replies View Related

Android :: How To Get Remaining Battery Level?

Feb 9, 2010

Searching old posts reveal that no one knows a way to get the current battery level without using intents. Is this true? There's no method to just return the current battery level?

View 4 Replies View Related

Android :: Detects Noise Level Of Outside

Apr 5, 2009

I am trying to develop a program which detects noise level of outside. Is it loud or silent? How loud? Where should I start? Is there any example?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved