android-audiorecord Questions

10

I am trying to implement automatic voice recording functionality, similar to the Talking Tom app. I use the following code to read input from the audio recorder and analyse the buffer : float tot...
Exacting asked 21/8, 2013 at 10:51

5

Solved

I was trying to get the amplitude level of a microphone on Android like so: MediaRecorder recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); Timer timer = new...
Ganda asked 23/1, 2011 at 22:42

2

I have an app calling using WebRTC. But during a call, I need to record microphone. WebRTC has an object WebRTCAudioRecord to record audio but the audio file is so large (PCM_16bit). I want to reco...
Shemeka asked 20/7, 2018 at 11:39

3

Solved

Android: I want to read buffers from mic so that i can perform process on it, Following is my code int sampleRateInHz = 8000;// 44100, 22050 and 11025 int channelConfig = AudioFormat.CHANNEL_CONF...
Sabatier asked 3/6, 2012 at 18:22

3

I am Working On a Medical Project and the app can able to record the conversation between doctor and patient and send it for Transcription. Assignment : Basically App is for Recording and Playing ...

1

Solved

I'm currently trying to record an audio stream which is played in MediaPlayer. Actually I found some blog-post, saying it's not possible because of security / copyright reasons, but I couldn't fi...
Pufahl asked 27/9, 2018 at 18:55

0

I am trying to record an audio with CHANNEL_IN_STEREO configuration in which I am telling audio recorded to record audio in two channel. But after storing buffer array from recorder Audio left chan...
Patter asked 14/12, 2019 at 21:30

0

I am working on WebRTC. My task is to record audio and video before call connect. I have recorded only video using VideoFileRenderer class. How can I record audio and mux with video using MediaMuxe...
Heliozoan asked 9/9, 2019 at 6:27

5

Solved

Hej, im currently trying to get AudioRecord to work. Because I need it in a bigger project. But it seems to mess up a lot. I have been trying alot of things, so I went back to basic when I traced t...
Quaggy asked 28/2, 2011 at 8:41

2

I'm using AudioRecord and lame to record mic input to a mp3 sample for 12 seconds. The audio is recorder as expected but I realized the volume is too low. Is there a way to increase the volume of...
Mana asked 11/10, 2014 at 18:20

1

I am using media recorder for recording call in android using VOICE_COMMUNICATION & MIC mode alternatively. RECORD_SOURCE = MediaRecorder.AudioSource.VOICE_COMMUNICATION; //RECORD_SOURCE = Med...

12

Solved

In the below code my audioRecord object is not initializing. I tried moving it to the onCreate method and made it a global. I've logged the state and that returns a value of 1 which means ready to ...
Amylopectin asked 30/1, 2011 at 15:40

1

Solved

We are developing live streaming video application. So we need to give secure for Audio & Video content. What I am tried I am able to restrict screenshots & video content with help of ...
Phylloid asked 3/10, 2017 at 7:2

4

Solved

My problem is simple to explain -- I am trying to create a AudioRecord object but it fails to initialize (ie after the constructor, getState returns 0, indicating failure). I am running this from E...
Pantaloons asked 19/12, 2010 at 10:6

4

Solved

I'm working on a voice recording app. In it, I have a Seekbar to change the input voice gain. I couldn't find any way to adjust the input voice gain. I am using the AudioRecord class to record voi...
Langston asked 22/8, 2014 at 6:52

8

I'm trying to figure out what sampling rates are supported for phones running Android 2.2 and greater. We'd like to sample at a rate lower than 44.1kHz and not have to resample. I know that all pho...
Hsinking asked 7/11, 2011 at 22:15

1

I'm attempting to use AudioRecord with AudioSource.VOICE_DOWNLINK on Nexus 5X, Android 7.1 (my own build from AOSP). I'm already past the permissions stage - moved my APK to privileged apps, made ...

1

I want to record input from the microphone, attach a reverb effect, and persist the result to a file. My use-case is an app that lets you sing a song and select different preset reverb options afte...
Meyers asked 26/1, 2017 at 21:50

3

Solved

I am using audioRecord instead of mediarecorder in my app it's working fine but I have a logic that depends highly on the maxamplitude which is really hard to obtain using the audiorecord here is w...
Pisciculture asked 28/7, 2012 at 10:19

4

Solved

I'm trying to develop an aplication like iRig for android, so the first step is to capture the mic input and play it at the same time. I have it, but the problem is that i get some latency that ma...
Worldbeater asked 21/3, 2011 at 14:29

1

I want to record audio with the microphone and save the audio file. Start recording works fine, but when I try to stop recording, the emulator gives a force close error. Stack trace: 01-09 18:16:5...
Suttles asked 9/1, 2013 at 18:28

3

I use AudioRecord class to record the voice during a call. I am intererested to record only the voice of the person who owns the phone ( from the microphone). During the recording I would like to...

1

I am trying to stream voice/audio (two way) between two Android devices Tablet and Mobile (over java sockets). The Tablet can play received audio(voice) clearly, but the Mobile plays received aud...

4

How can I limit recording when using intents? I tried this code: Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); intent.putExtra("android.intent.extra.durationLimit",5); startAct...
Cockboat asked 22/3, 2013 at 9:58

1

Solved

I am recording audio using AudioRecord and playing using AudioTrack. I am recording Fm analog audio stream using this classes and simultaneously passing into Bluetooth router. Its successfully work...

© 2022 - 2024 — McMap. All rights reserved.