Android :: Want To Record Audio In WAV Format / Phone Supports *.3gp - *.AMR Type
May 14, 2009Now i want to record audio in WAV format. What should i do now because android only supports *.3gp or *.AMR type?
View 6 RepliesNow i want to record audio in WAV format. What should i do now because android only supports *.3gp or *.AMR type?
View 6 RepliesI want to record audio in MP3 format in my android application. I know I can read PCM audio using the audioRecord class. Is there a java library compatible with android that will encode PCM to MP3? Is it possible to use the Lame mp3 encoder library?
View 1 Replies View RelatedHow to record audio into ogg format?
View 1 Replies View RelatedI need to record audio and video files in 3gp/mp4 format at the same file and same time.
When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these error clear.
Please help me. I am new to this topic.please find the code and errors below.
package com.video;
* @copy Rights
* audio.java
* sample code for Eminosoft Developerworks Article
* Android development Team
* www.eminosoft.cm
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Button;
public class video extends Activity {
public MediaRecorder mrec = null;
private Button startRecording = null;
private Button stopRecording = null;
private static final String TAG = "SoundRecordingDemo";
File audiofile;
File video;
private MediaPlayer mMediaPlayer;}
My application cannot handle the JNIE overhead, as I need to make 2 JNIE calls to the native C/C++ code for every 20msec. So I am trying to use the native media libraries and the realted C/C++ files provided by Android in the folder "//external/srec/audio/test" of the donut build. Ex. AudioHardwareRecord, AudioInRecord etc.. I am implementing all the calls in the native layer.
I am using the sampling rate as 8000 and want to read 160 samples (320 bytes) at a time.
I used the following values to create the AudioRecord..
CODE:..........
It says "success" after creating this interface but I am getting the error "Bad Value" if I am doing the InitCheck.
And it is crashing once I start reading the samples or if I try to retrieve the configured sampling rate.
Has anybody tried to access this native code?
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 RelatedBeen looking through all the readers & have yet to find one that supports this format.
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 have a Galaxy Note 2 and can't figure out how to record via my bluetooth headset not via the phone mic. Tried 20+ apps that record great via the phone mic but not via my headset.
View 10 Replies View RelatedIs 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();
Is it possible to play continuous audio stream (MP3 / AAC) in Android browser using <audio /> tag?
If you're not sure, could you at least recommend some good testing page containing and using <audio /> tag?
I got my phone on Monday and I've noticed that when somebody is talking to me on the phone it causes a vibration type noise. I've tried lowering the volume but it still seems to be doing it. Not to mention, even with the audio turned all the way up it's hard to hear the people I'm talking to.
View 15 Replies View RelatedIn the camcorder application, I have chosen to record the video's in MP4. However, when you then side load them to the PC or what-not they appear as 3GPP or something. Is 3GPP a version of MP4 or is the camcorder telling fibs? If it's not, how do I record in plain old MP4?
View 4 Replies View RelatedDoes anyone know how I can recorder on my phone in msm or another format that I can send to someone phone or email. Every time I try to load or send a video I am told its to big.
View 10 Replies View RelatedI was wondering if the droid supports tv-out from the audio jack? I'm not sure if Android 2.0 supports tv-out. I know the iPhone added tv-out later on with an update, so I was wondering the same with the droid.
View 2 Replies View RelatedI 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 RelatedHow do I record some audio using Android?
View 1 Replies View RelatedIs it possible to record an audio (not a phone call) using the blue tooth input and not the device microphone? I am able to playback whatever am saying through device's mic but not able to figure out how to use the blue tooth mic instead. Any assistance would be greatly appreciated.
View 1 Replies View RelatedI try to record audio using android ndk. people say I can use "frameworks/base/media/libmedia/AudioRecord.cpp". but it is in kernel. how can I access and use it?
View 2 Replies View RelatedHow to put on pause? I have not found such a function. There are other ways?
View 1 Replies View RelatedDoes anyone know of a way to do this? I have a FM audio stream that I want to record to a digital audio file.
View 5 Replies View RelatedI 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 RelatedI am trying to run some audio tests on smartphones. what i want to do is to generate a tone from the phone's speaker AND record it by the same phone's microphone at the same exact time.the tone generations runs pretty well, but is it possible to self record?
View 8 Replies View RelatedIs 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 Related1st. 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 RelatedI'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 RelatedI can use AudioRecord to pull the audio data out. But the format is PCM, which is too huge to sent out through network. Does any one know how to change it to AMR ?
View 2 Replies View RelatedI am trying to create an Android maps project. Everything was working fine until i added Salesforce classes into it. Now it doesn't even compile. It gives me: Type Conversion to Dalvik format failed: Unable to execute dex: null error.
I tried 1) Increasing memory in the .ini file. That didn't help. 2) Project -> Clean option. It cleans, builds again and then gives me the same error.
I am using Snow Leopard and i have the latest version of Android on my system. I just installed it last week. Plus, my eclipse is Ganymede. I even tried it with Galileo.
I'm new in Android development and I have the next question/problem. I'm playing around with the Media Recorder class to record just audio from the microphone. I'm following the steps indicated in the official ://developer.android.com/reference/android/media/MediaRecorder.html
So I have a method that initializes and configure the Media Recorder object in order to start recording. Here you have the code:
//initializes audio recorder
//configure the input sources
mrecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
//set the output format
mrecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
//set the audio encoding
mrecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT)
Does such a thing exist please folks - want to rip some audio for an mp3 ringtone from a comedy video clip
View 4 Replies View Related