Android :: To Play Audio At 1.4 Times Normal Speed
Aug 2, 2010I need to play mp3 at 1.4 (or other) times the normal speed. How can I do that?
View 1 RepliesI need to play mp3 at 1.4 (or other) times the normal speed. How can I do that?
View 1 RepliesWhen you pick up the call and switch the screen to MediaPlayer to play an audio, it is able to be heard from handset (receiver). Thus, you can hear the far-end voice and your local music at the same time. Is it a normal behavior? Android seems not to have the mechanism to let Mediaplayer to remember its status (to keep music pause or mute?) in the phone call. Or this is a normal design for notification sounds, such as a call- waiting sound? Is it possible to have an secondary gain feature like windows mobile in the future?
View 7 Replies View RelatedI have some code in the onCreate method an Activity and noticed that it is being called three times. Is it normal behaviour?
View 1 Replies View RelatedCould 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 RelatedI've read a couple of reviews on the Moto X and they all say that at times the phone felt sluggish and that the shutter speed on the camera can be slow at times. I know that "at times" doesn't mean it's a slow processor but vs. the incredible which is being touted as the phone that blows through any task with ease I was wondering which phone has better performance.
View 10 Replies View RelatedI 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.
Anyone know of an audio player that will speed up the playback? It would be nice if it could keep the pitch the same but sped up is the goal. I used TCPMP on the Treo. This is great for listening to podcasts in a fraction of the time. Depending on the original audio, I can generally make everything out up to +25%.
View 4 Replies View RelatedI just recieved my OTA yesterday And when I play you tube type of files it works fine.But when I play videos from CBS the advertisement plays audio/video fine.But when the show starts, I get full speed video, and the AUDIO goes into super slo mo.I also noticed the same behavior listening to KJRAM.com video ads play fine, but when the radio stream plays, its super slow mo.
View 6 Replies View RelatedI took out the 8GB SD card from my Blackberry Storm and put it the Incredible.
I had a bunch of music saved on my SD Card that I downloaded from VZW Music Media thing.
When I go to music on the Incredible and go over the song (it shows the picture of the album of the song)
it says "unable to play this type of audio"
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 Relatedi've updated to the last Google play music, but now even if i don't use it i've a background service of this app .. is there a way to avoid this background service when not using it ? Even if i didn't launch it of the whole day i have this service ..
View 5 Replies View RelatedIt was late at night and I couldn't sleep so I decided to listen to some music with the HTC headphones. Then I thought I heard something outside, so I pressed pause on the headphones and then I repeatedly pressed play, I am a really impatient person and the music stopped and the phone started calling someone. After some tests I found out that the phone calls the last person you called if you press play 5 times. Is it a bug? Couse i really dont like the feature and im sure people dont like being called at 3 in the night either.
View 1 Replies View RelatedI was just surfing the Google Play Store on my laptop, just browsing some apps, when I noticed my phone HTC ADR6425LVW showed up 3 different times when it prompted which device to download the app, too.
I am rooted, I have the HTC Rezound and a couple days ago, the desktop Google Play Store showed 2 different versions of my phone. I didn't really make anything of it because I exchanged my phone for a new one during the 14 day return period. Why this would happen, unless it occurs when I flash new ROMS. But I've flashed at least 6 ROMS over the course of at least 20 different times. Would this cause warranty issues if I try to have a replacement done if something happens to my phone?
I love my new HTC Desire and the only thing lacking is a music player that plays at variable speed. I listen to a lot of audio books and my old Sansa Clip player gives the option of playing audio at a faster speed (so you can go finish a book faster).The normal android player doesn't seem to have this option. Is there another player that does?
View 4 Replies View RelatedI have an upgrade available atm and I can't decide if I should wait or not. I currently have a Droid 1 rooted/OC'd. My options are either the Fascinate or wait till Jan-Feb. I have zero interest in the X, and can't see "upgrading" to the D2 or the Incredible.
It is probably meaningless to ask the Fascinate community because, like the D1 community, you're probably all biased..but how are you liking your Fascinates? Would you upgrade to it today if you had the choice? What's the highest achievable clock speed to date (stable)? How is audio quality, I've heard of speaker crackling when at max volume?
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 RelatedI currently have code that reads a recording in from the devices mic using the AudioRecord class and then playing it back out using the AudioTrack class.My problem is that when I play it out it plays vis the speaker phone.I want it to play out via the ear piece on the device.Here is my code:public class LoopProg extends Activity {
boolean isRecording; //currently not used
AudioManager am;
int count = 0;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
am = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
am.setMicrophoneMute(true);
while(count <= 1000000){
Record record = new Record();
record.run();
count ++;
Log.d("COUNT", "Count is : " + count);
public class Record extends Thread
{ static final int bufferSize = 200000;
final short[] buffer = new short[bufferSize];
short[] readBuffer = new short[bufferSize];
public void run() {
isRecording = true;
android.os.Process.setThreadPriority
(android.os.Process.THREAD_PRIORITY_URGENT_AUDIO);
int buffersize = AudioRecord.getMinBufferSize(11025,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT);
AudioRecord arec = new AudioRecord(MediaRecorder.AudioSource.MIC,
11025,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT,
buffersize);
AudioTrack atrack = new AudioTrack(AudioManager.STREAM_MUSIC,
11025,
AudioFormat.CHANNEL_CONFIGURATION_MONO,
AudioFormat.ENCODING_PCM_16BIT,
buffersize,
AudioTrack.MODE_STREAM);
am.setRouting(AudioManager.MODE_NORMAL,1,
AudioManager.STREAM_MUSIC);
int ok = am.getRouting(AudioManager.ROUTE_EARPIECE);
Log.d("ROUTING", "getRouting = " + ok);
setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);
//am.setSpeakerphoneOn(true);
Log.d("SPEAKERPHONE", "Is speakerphone on? : " + am.isSpeakerphoneOn());
am.setSpeakerphoneOn(false);
Log.d("SPEAKERPHONE", "Is speakerphone on? : " + am.isSpeakerphoneOn());
atrack.setPlaybackRate(11025);
byte[] buffer = new byte[buffersize];
arec.startRecording();
atrack.play();
while(isRecording) {
arec.read(buffer, 0, buffersize);
atrack.write(buffer, 0, buffer.length);
arec.stop();
atrack.stop();
isRecording = false;
As you can see if the code I have tried using the AudioManager class and its methods including the deprecated setRouting method and nothing works, the setSpeatPoneOn method seems to have no effect at all, neither does the routing method.Has anyone got any ideas on how to get it to play via the earpiece instead of the spaker phone?
I need to be able to stream audio from a custom file format on the C++ side of the Android system. I am working on porting a custom media player and need to be able to open a custom file and stream audio from it. This is important as I do not think porting the whole player to JAVA is feasible from a performance stand point and moving the audio buffers through the JNI interface I believe will be too slow to keep a decent frame rate. I can handle the video on the NDK side through OpenGL ES, but the Audio I have no idea how to make this happen.
View 2 Replies View RelatedI need to download audio from web server and I need to save into device memory. Then, I need to play that audio from my application. I know, how to play audio if that is available in res/raw folder. But, I can't able to play audio from SD Card. I am getting following error: ERROR/PlayerDriver(31): Command PLAYER _ SET _ DATA _SOURCE completed with an error or info PVMFErr Not Supported.
View 4 Replies View RelatedI have multiple audio files in the assets directory of my application. When the user clicks a button I want to play those files in a certain order, one after the other. There shouldn't be any noticeable lag between the audio files. What is the best approach to achieve this? I am thinking of using MediaPlayer objects and OnCompletionListeners. But, that would mean I have to create a lot of OnCompletionListeners because I need to know every time which audio file is next. Am I missing something or is there a better approach?
View 1 Replies View RelatedI have downloaded and tried lots of video players from the Android Market, namely Vplayer, mVideoPlayer, Rockplayer Lite, RealPlayer, Meridian and MX Video Player. They are all similar and lack one function which I have to have, and that is being able to play at a higher speed, around 1.3x to 1.7x like desktop VLC player.
Do you you know any video player currently on Android that has this function? I can not stand movies at normal pace because I find them too slow for my taste.
I'm currently working with OpenGL ES 1.1 and using the DrawElements convention along with Vertex, Normal, Texture Coordinate, and Index arrays.
I recently came across this while researching the idea of using Normal/Bump mapping which I previously though impossible with OpenGL ES: http://iphone-3d-programming.labs.oreilly.com/ch08.html
I can generate an object-apace normal map already from my 3D modeler, but what I'm not completely clear on is whether or not the Normal coordinates array will be necessary any longer if implementing a 2nd texture unit for normal mapping, or will Lighting + Color Texture Combined with a Normal map via the DOT3_RGB option be all that is required?
EDIT - After researching DOT3 Lighting a bit further, I'm not sure if the answer given by ognian is correct. This page, [url] gives an example of it's usage and if you look at the "Rendering & Final Result" section bit of code, there is no normal array ClientState for Normal Arrays is never enabled.
I also found this post here,[url] which explains it well... but leads me to another question. In the comments, it's stated that instead of translation of normals, you translate light direction. I'm confused about this as if I have a game with a stationary wall... why would I move the light around just for one model? Hoping someone can give a good explanation of all of this...
I'm an android starter I tused AudioTrack to play music But it just tell me filenotfoundexeception I try to play mp3 wav ogg (all in raw dir) I've no idea where is wrong? here are my code:
CODE:..................
I am looking for an app that will allow me to play music and audio books to my paired bluetooth car audio system. At the moment I can only use it for phone calls.
View 9 Replies View RelatedI have this problem, I have some audio I wish to play. And I have two buttons for it, 'Play' and 'Stop'.Problem is, after I press the stop button, and then press the Play button, nothing happens. -The stop button stops the song, but I want the Play button to play the song again (from the start) Here is my code:final MediaPlayer mp = MediaPlayer.create(this, R.raw.megadeth);And then the two public onclicks: For playing)
button.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// Perform action on click
button.setText("Playing!");
try {
mp.prepare();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
And for stopping the track
final Button button2 = (Button) findViewById(R.id.cancel);
button2.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
mp.stop();
mp.reset();
Can anyone see the problem with this? If so could you please fix it. (For suggest)
How to play an audio during splash screen.
View 2 Replies View RelatedI am new in Android. I am using android os 2.2. I am trying to play streaming audio and video from url. I don't know what to do for that. after 3 days og googling i come to know that I have to use mediaPlayer and MediaController classes.I had use different differend combination of codes found on internet but not succeed.Can anybody guide me what to do for streaming audio/video playing. What about the UI if we use MediaPlayer or Controller class. is there any thing to related these in xml file of layout.if not then even please tell me what may be the code for that.please help me.
View 2 Replies View RelatedIs it possible to modify an active call by overlaying a sound track during the call? I looked up the SDK, but couldn't find any api to do this in the documentation. I am trying to investigate the feasibility of playing a previously recorded call/audio clip onto an ongoing call.
View 1 Replies View Relateddoes 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 RelatedI tried to play a piec of 16-bit .wav audio file, no sound came out from my earphone, but .mp3 file would be OK. Do any one else have this kind of experience? This is the code: player = MediaPlayer.create(this, R.raw.test); // I put test.wav in /res/raw player.start();
View 4 Replies View Related