Android :: Way To Configure Sampling Rate / Period While Audio Capture

Sep 23, 2009

I am working on a VOIP based application. I need to capture the audio from mic at 8000 hz sampling rate, get the 20msec packets, encode and send the packets over the network.

Can somebody tell me how to configure the mic for the desired sampling rate?

Android :: Way to configure sampling rate / period while audio capture


Android :: How To Increase Accelerometer Sampling Rate?

Nov 19, 2010

I am currently using Java API to get accelerometer values in 5Hz, which is below my requirements. I want to achieve at least 50Hz. Is there any way to increase the sampling rate of accelerometer?

View 2 Replies View Related

Motorola Droid :: Sampling Rate On Setcpu

Feb 12, 2010

What is your guy's sampling rate on setcpu? It comes standard as 46875.. This is what it means if you don't know what it means.Sampling Rate is defined in microseconds. The lower this value, the more responsive the CPU will be in scaling its speed up or down. However, a lower sampling rate will also negatively impact overall performance.

View 4 Replies View Related

Android :: Variable Rate Audio Playback

Mar 14, 2010

I'm new to development on Android and thought maybe you could shed some light on my problem. I'm trying to code up a little object to take care of playing a list of songs at a constantly varying playback rate. I just spent a god chunk of time getting it going with SoundPool only to find out about the undocumented 1 mb file limit. Do you guys have any ideas? Should I be using AudioTrack? I was going to try that next. Any tips or code samples for doing this kind of thing? It's such a shame that neither JetPlayer nor MediaPlayer support rate changes.

View 2 Replies View Related

Android :: Mic Audio Capture Too Static

Jun 3, 2009

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 static for our needs. As a comparison, we did a similar audio file captured with audacity on a PC and it was much better. Has anyone been able to record high quality audio with 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

According to wikipedia, AMR encoding is only 8hz. Is there a better option available perhaps a lower-level API compared to MediaRecorder? 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 SD card in AVD manager).

View 2 Replies View Related

Android :: How To Capture Audio Data From Mic Into A Buffer?

Sep 24, 2009

I am working on a packet switched network. I want to capture the audio data from mic into a buffer at a desired sample rate.How can I capture the audio data from mic into a buffer instead of a file? Also how can I control the audio capture rate as per the desired sample rate?

View 2 Replies View Related

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 :: Microphone Audio Capture With Emulator Is Of Very Poor Quality / Make It High?

Jun 2, 2009

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).

View 2 Replies View Related

Samsung I7500 :: 44.1 KHz Sampling Doen't Work / Why Is So?

Mar 20, 2010

44.1 kHz Sampling does not work, is it the microphone hardware problem, or lack of software?

Specifically RTA analayzer application does not work.

View 3 Replies View Related

Android :: Swype / Automatic Spacing After Period?

Oct 16, 2010

I am very impressed with Swype and just amazed that it is able to correctly guess what I am trying to type most of the time. But I have a question. What is the correct way to add a period? It seems that when i first started using it, if I used a period it would automatically add a space and capitalize the next word. But it doesn't do that now. I get no space or capitalization and have to add the space manually.

View 1 Replies View Related

Android :: Ability To Quit An App After Trial Period

Jun 10, 2009

I am planning to release a trial version of my app and am looking into best ways to implement the logic. My lite version of the app would have all the features but will be time restricted. I see a couple of issues:

- Currently there is no mechanism built into android that allows an app to be closed. I see that you can close the main acitivity, but the user can always press the back button and go back into the app.

- After trial period, the user can always un-install the app and re- install it. What do I do to prevent this from happening?

View 2 Replies View Related

Android :: Way To Make Buttons Un-clickable For Some Period?

Apr 20, 2010

I've got some Buttons that I want to make un-clickable (but still appear on the screen) until another process (thread) has finished its work ? How would you do this ?

View 1 Replies View Related

Android :: Disable 2 Spaces Period Behavior?

Mar 2, 2010

I'd like to disable the feature of virtual keyboard of 2 spaces gives a period.

I noticed that configurations for the hardware keyboard have this option.

I'm using Android 2.0 on Motorola Milestone

View 2 Replies View Related

Android :: Run An Animation For A Short Period Of Time?

Sep 7, 2010

I have a looping animation I want to present for an image button before a static image is used; on each button press. Is there a way to run this animation for around 2000 milliseconds then switch over to the image. What I have tried just results in a pause then the static image. code...

View 1 Replies View Related

Android :: Ability To Quit - Disable An App After Trial Period

Jun 10, 2009

I am planning to release a trial version of my app and am looking into best ways to implement the logic. My lite version of the app would have all the features but will be time restricted.

I see a couple of issues:

- Currently there is no mechanism built into android that allows an app to be closed. I see that you can close the main acitivity, but the user can always press the back button and go back into the app.

- After trial period, the user can always un-install the app and re- install it. What do I do to prevent this from happening?

View 6 Replies View Related

Android :: How To Make Money With Apps In A Time Period?

Sep 14, 2010

How much money do you make for how many apps in how long of a time period?

View 1 Replies View Related

Android :: Method To Define Synchronization Period For Account?

Sep 24, 2010

What is the method to define a sync period for some account? ContentResolver allows to set automatic sync flag only. But what is period? Have I missed something? Or have I to schedule sync requests myself using the AlarmManager?

View 5 Replies View Related

Android :: Incoming Ring Control For Duration Of Time Period

Aug 2, 2010

I am working on a application ,where I want to assign a silent ringtone to a particular contact for a duration of time period. Please provide me some suggestion I do not have any idea to implement it.

View 4 Replies View Related

Android :: APP - Configure Your LED Colors

Nov 23, 2010

This app is pretty useful changing the LED colors on my Evo & may be useful on your Android device also. So far it's confirmed working on Evo's, G2's, & Desire Check it: FREE LED me know BETA - Android app on AppBrain Configure LED color and frequency for Gmail, SMS, missed calls ONLY AVAILABLE AT THE MOMENT FOR HTC DESIRE 2.2. I DO NOT GUARANTEE FULL FUNCTIONALITY ON OTHER DEVICES. Stay tuned for updates! Nexus one, among other devices, will be supported soon and new functionalities will be added such as Gmail labels notifications!
Recent changes:
1.08
Bug fixing
New notification settings
Remove notification from toolbar
Desire Z (no root)
Wildfire (no root)
and hopefully much more devices/roms...
oh! and GTALK (on debug...Do not disable gtalk app default notification)
1.08.x
FC FIXED
G2 TRACKPAD FIXED
MISSING COLORS FIXED (EVO,HD2...)
Desire a8181 added

View 4 Replies View Related

Android :: Fil-rate Workaround With FBOs?

Sep 12, 2010

create an FBO of resolution less than the full phone screen dimensions (user-selected quality vs speed option) do most of my scene rendering into that FBO * then the 'real' (full screen) render would either use the FBO as the starting background color buffer contents, or render it (probably orthographically) as a single quad. * then probably add UI/Text decoration on top of that, where the resolutions really benefits.And, is there some egl glue (I am a glSurfaceView kinda dood) that would automagically do something like this in the first place?Or am I being naive to think the GPU could do its work faster if it was rendering to a lower resolution target? And would the phone with the worst fill rate also be the phone that doesn't support FBOs in the first place?

View 4 Replies View Related

Android :: Increasing Frame Rate

Feb 15, 2010

Anyone knows how to increase the fps in android?? I am developing a 2D game using rokon engine but i am getting only 7-8 fps. How can i increase the frame rate, is there any method to set the fps ....

View 3 Replies View Related

Android :: Instant Heart Rate

Aug 22, 2010

Instant heart rate - Android app on AppBrain.Here is a cool heart rate monitor for android. Its uses the camera and led flash to check your heart rate.

View 11 Replies View Related

Android :: Fastest 2D Frame Rate Possible With NDK?

May 20, 2010

Fastest 2D frame rate possible with android NDK, my try included, better options available?

I used the NDK and OpenGL ES 2.0 to display a frame as a texture on a GL_TRIANGLE_STRIP. This was done on a HTC Desire, same hardware as Nexus One. I tried to load multiple GL_RGBA textures and switch between the textures, because the normal fill rate with a single texture was disappointingly low:

CODE:.........................

I think even 30.32 fps RGBA is still too slow.

So is this the way to go to achieve the fastest 2D frame rate (with same quality)?
Any suggestions to speed it up?

Here is the relevant code, it is based on the hello-gl2 NDK example:

CODE:........................

View 1 Replies View Related

Android :: Configure Virtual Keyboard

Apr 7, 2010

Is there a way to configure the virtual keyboard to "hide" once the return key is pressed? I have numerous EditText fields in my application and I want the user to be able to enter a single line value, press return, and the keyboard goes away.Is there a way to override the virtual keyboard return key?

View 4 Replies View Related

Android :: Way To Configure ListView Of ListActivity Via Xml?

Jul 28, 2010

Actually the question in subject... How to configure ListView of ListActivity via xml, for example padding, dividerHeight etc...

View 2 Replies View Related

Android :: Configure Admob And Adwhirl?

Sep 8, 2010

I follow all the instruction but my ad doesn't appear on my app. My app is already on the market, i configure admob and adwhirl, and it's say it's active, but i can't do it.

View 3 Replies View Related

General :: How To Configure LG GM750 To Use Android

Nov 18, 2012

how to configure my lg to using android. it is impossible to find android port for my phone.

View 1 Replies View Related

Android :: Failure Rate On 32GB MicroSD

Jul 27, 2010

Hey folks HumanMachine here with a little query for those of you who were lucky enough to have picked up a 32GB MicroSD for your phones.I had, and lost mine, in the course of two days. Short story incoming. TLDR Below I was using my phone at work and decided to change my Live Wallpaper, I'd downloaded a few of them and was going through them just to see how they looked in motion. I remember specifically looking at the "Starfield" wallpaper. I then selected the "Battery - Couple the ship's energy source with phone's battery" To see what the option did. I backed out to apply the Wallpaper. And the Droid X locks. Weird I thought, maybe she's just lagged.Turned out a lot worse than that. She was just straight up frozen. Stuck on this unusable frozen starfield. I couldn't quite remember how to reboot the phone. or even if it were possible, Couldn't power her down, so I removed her battery, figured that would be enough to get her back to life.I was met with a message, once the phone loaded up. "SD Card blank or has unsupported filesystem" Not the first time I've seen this issue pop up on the android forums. I immediately popped the MicroSD card into my little USB dongle and attempted to access the MicroSD. Shows up in "My Computer" just fine. but when I tried to access it? "Please insert disc" et cetera et cetera.

I try to format. No dice, Computer won't even find the thing. Try my SD formatter, no dice.Stick the 16 GB card back into the phone, and we're sailing again. And here I am staring sadly at the card.I tried for about an hour more to breathe some life into it. I just couldn't get the computer or phone to read the card. Same error messages.TLDR For those of you who wanted to skip the story SD Card died. pathetically, didn't lose much but still. My question, do we have any idea what the failure rates are on these bad boys? I didn't mistreat or even do much with mine before this issue came up. Hopefully I just had a lemon. Unfortunately, the store I got mine at. Verizon store actually, didn't have any, nor do they know when they will get a shipment of them.I'm bummed. go figure. Time to play the waiting game.

View 4 Replies View Related

Android :: Varied Accelerometer Sample Rate

Jul 9, 2009

Has anyone been able to get the accelerometer on the G1 to sample consistently for long periods of time? We been doing some testing of the G1 accelerometer on Android, and wanted to see if others have gotten the same result.Our test uses a partial wake lock to keep the CPU alive.It stores the xyz values and time to local storage and then writes them to a file on the SD card once a second.The code below produces a csv file.The xyz values we're getting are within the expected range, but the sample rate of the accelerometer varies greatly.To determine that using the file produced, for each sample, we found the difference between the samples timestamp (taken from the SensorEvent) and the timestamp from the previous sample.The test results showed the time between samples ranging from 30 milliseconds up to 4.6 second spikes.We're interested to know if other people are seeing similar behavior from their phones.If you have the time and means.

View 4 Replies View Related

Android :: Pedometer / Heart Rate Monitor With Their Evo?

Aug 27, 2010

Is anybody using a pedometer app and/or heart rate monitor with their Evo? Looking for something to use while hiking. I found a bluetooth HR monitor from Zephyr but seeing mixed reviews. On the pedometer side I want something that doesn't require the use of GPS but can if needed. Trees/hard walls don't play nicely with GPS besides the additional battery drain.

View 4 Replies View Related







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