[Q] App that turns off microphone AGC (Auto-Gain Control)? - HD2 Android Q&A, Help & Troubleshooting and Genera

While playing around with some recording apps I noticed that most recordings I got were too loud and distorted. I figured it had to do with some sort of an Auto Gain Control. I was right when I tried one app called "TapeMachine" which has an option to disable AGC and also has a mic gain control which is great. Once it disabled AGC the recording sound was much better. Clear and undistorted.
I understand that AGC is important for phone calls but it's terrible for recording audio and video. It would be nice to record videos with AGC off and I can't find an option to disable it in the system settings. Can't find an app that controls it either.
Does anyone know of an app that turns AGC on/off and have manual gain control?
Thanks!

Anyone reading these questions?

argh...
I will pay for an app that can disable the microphone auto-gain control!
Come on people, haven't you noticed recording stuff sound like crap?
The sound on recorded videos is just bad. And it's not because the microphone is bad, it's because the AGC is always enabled.
Try "TapeMachine" and hear for yourself. I'm not joking.
I think I'm not the only one who would be happy about a feature like that.

I searched around the mkt, and couldn't find anything other than recording apps, paid or free, that even mention the AGC either. Kinda surprising.
Sent from my HTC HD2 using XDA App

huggs said:
I searched around the mkt, and couldn't find anything other than recording apps, paid or free, that even mention the AGC either. Kinda surprising.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
First of all I'm glad I was able to wake someone up around here. It seems like no one knows there is an AGC in Android, but "TapeMachine" definitely revealed that to me.
I did find someone mentioning the same issue on the Samsung Galaxy forum:
http://forum.xda-developers.com/showthread.php?t=896826
You can even see the difference in the waveforms pictures he attached to the post.

Well, I have some technical information, but I can't do much with it because I'm not a programmer.
The programmer of an app called "Break Speed" uses a code in his app to disable AGC and he wrote me what the code he uses is.
Maybe someone can use this information to create an app that can disable AGC. This is what he wrote me:
I found that in Android 2.2 (and higher), they introduced an undocumented flag in the AudioRecord() class, called “VoiceRecogntionQuality”. In the code, there is a note to expose and document that flag (it just hasn’t been done yet.) So I expect that it is supported (and will continue to be.) My guess is that AGC was added to 2.2 and this is the flag that disables it.
Here’s the code I used to adjust my recordings for it:
// We use our version to attempt "VoiceRecogntionQuality" recordings (to disable AGC)
int version = Integer.parseInt(android.os.Build.VERSION.SDK);
// Try to get the audio record for Android 2.2 and greater using 'voice recognition quality'
if (version >= 7)
{
recordInstance = new AudioRecord(6, m_frequency, m_channelConfiguration, m_audioEncoding, bufferSizeBytes * m_bufferCount);
}
// For older versions of Android (or failed attempts of the voice recognition quality recordings)
if (version < 7 || recordInstance.getState() == AudioRecord.STATE_UNINITIALIZED)
{
recordInstance = new AudioRecord(MediaRecorder.AudioSource.MIC, m_frequency, m_channelConfiguration, m_audioEncoding, bufferSizeBytes * m_bufferCount);
}
Click to expand...
Click to collapse

Pierrot Lunaire said:
Well, I have some technical information, but I can't do much with it because I'm not a programmer.
The programmer of an app called "Break Speed" uses a code in his app to disable AGC and he wrote me what the code he uses is.
Maybe someone can use this information to create an app that can disable AGC. This is what he wrote me:
Click to expand...
Click to collapse
can we request the programmer you'd contacted to write a small app for us to just enable/disable AGC? We can assure him of buying some beer/coffee

santu71182 said:
can we request the programmer you'd contacted to write a small app for us to just enable/disable AGC? We can assure him of buying some beer/coffee
Click to expand...
Click to collapse
heh, I already implied that in the email I wrote him, but didn't really get a response.
I posted here, because there are programmers around here also, but it seems people are ignoring this issue. If I knew how, I would make an app myself.

just use Voice_recognition as source and that's all

same problem here, I tried with your friend's solution (using 6 instead of AudioSource.MIC) but nothing changes... the waveform becomes even worse when the source produces powerful sounds.
Have you solved you problem?
ty

video, audio, mic input: solution!
:victorySP manager in CM10, no problem to control: the mic input - 4 levels. I can shoot videos with nice audio, for example a Rock Concert. :good:

Turn on the TapeMachine Recorder, minimize it and start recording on your camera while the app is running in the background. I have tried it and it works. The camera records with AGC disabled.

sejallotliker said:
Turn on the TapeMachine Recorder, minimize it and start recording on your camera while the app is running in the background. I have tried it and it works. The camera records with AGC disabled.
Click to expand...
Click to collapse
Does not work With Galaxy S7 on Android 8.

MaxLG said:
SP manager in CM10
Click to expand...
Click to collapse
What app is this I can't find

Related

Samsung Galaxy s i9000 Mic sensitivity recording

This is my first samsung. And I think i'm a bit spoiled as a nokia n900 user. But the recorded sound on my samsung galaxy is just horrible in comparison to my n900.
Last night I went to a show of cypress hill here in the Netherlands. And started recording. The video quality is super. Only the noise makes it almost impossible to distinguish any of the songs etc. I mean really horrible.
After some research i found out that users with the samsung omnia had this same issue, and they found a solution wich was adjusting some settings in the hidden menu of the phone.
Is it also possible to adjust these settings in the galaxy s i9000?
Below are the settings for the omnia hd reducing
with phonepad digit *#0002*28346#
then 3) Record
then 04) CamcordARM_AMR (this is volume gain in video record)
Go to
TxMicAmp : 24
digit 18#
and then when you go back will see
TxMicAmp : 25
Then go to
Tx Channel: 18
digit 18#
and then when you go back will see
Tx Channel: 18
To save all changes go back back
6)Backup and will show "Backup OK"
Yeah I noticed the heavy clipping (sounds like static, noise, distortion) in all of the Galaxy S recordings. I haven't really seen anyone else mention it.
However the Omina HD runs Windows Mobile does it not? Totally different OS there..
this should show that menu *#197238640#
Any luck with this? I have opened the service menu, but no idea what to do after that.
i also would like a fix for this!
izmenar said:
this should show that menu *#197238640#
Click to expand...
Click to collapse
Doesn't do anything for me.
still no idea to fix it?
dsjr2006 said:
Doesn't do anything for me.
Click to expand...
Click to collapse
Try this instead *#*#197328640#*#*
Any idea what to change these settings to?
Sent from my SGH-T959 using XDA App
I got the same problem when I try to run VOIP application. The noise is so terrible. I can enter "service mode", but I don't know how to setup them either.
Same here, video recording is quite useless like this... Went to a concert last evening and video is great but sound is ultimate crap! As in one big pile of noise.
But also when recording a video in the car, with just the radio on, is stretching it... It is at least possible to distinguish different sounds but already distorted.
Such a shame! Any fix for this would be great (and couldn't find much in the servicemode settings unfortunately).
I'm using the JM2 firmware and the sound of recorded videos is poor.
I wish we found the solution, as I had found on i8910
Meh, contacted samsung helpdesk (mail) and got a standard response
'We are currently developing a firmware update, please keep an eye out for it on the samsung website'. (translated from dutch ).
My guess is the firmware update won't fix a thing since it's still present in JM2 but we'll see.
dagrim1 said:
Meh, contacted samsung helpdesk (mail) and got a standard response
'We are currently developing a firmware update, please keep an eye out for it on the samsung website'. (translated from dutch ).
My guess is the firmware update won't fix a thing since it's still present in JM2 but we'll see.
Click to expand...
Click to collapse
In other words: keep waiting. Saying it will be fixed in next release is the best way to keep customers happy without doing anything
But on the other side maybe with 2. 2 it will be fixed.
Sent from my GT-I9000 using XDA App
matty___ said:
In other words: keep waiting. Saying it will be fixed in next release is the best way to keep customers happy without doing anything
But on the other side maybe with 2. 2 it will be fixed.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Yup, I know... But what can you do. They prolly also don't know much about the technical stuff.
At least there's a new firmware coming up, I think I'll give JP3 another shot and see if things have improved there.
Hey guys,
anyone tried playing with *#*#197328640#*#* => audio => handset => diamond solution => voice booster? or acoustic shock free? sounds like something related to me, gonna try.
Eindbaaz said:
with phonepad digit *#0002*28346#
then 3) Record
then 04) CamcordARM_AMR (this is volume gain in video record)
Go to
TxMicAmp : 24
digit 18#
and then when you go back will see
TxMicAmp : 25
Then go to
Tx Channel: 18
digit 18#
and then when you go back will see
Tx Channel: 18
To save all changes go back back
6)Backup and will show "Backup OK"
Click to expand...
Click to collapse
that's a good tip
can more people confirm if this optimization works well?
if so, then we can put this as a sticky / FAQ / wiki
Disregard my post about Diamond solution, it's for headphones. I'm pretty sure some parts of the service menu => audio => handset could be tweaked to make audio recording better, just need someone who knows what means what.
There is a way to alter the recording volume during the recording however it requires adb shell and it only lasts for the duration of the remainder of the recording.
nsgtr34 said:
There is a way to alter the recording volume during the recording however it requires adb shell and it only lasts for the duration of the remainder of the recording.
Click to expand...
Click to collapse
That's something at least, wanna share that?
Also I found a quick and dirty workaround if you wanna record some music before some kind of fix appears - just put your finger on the mic hole while recording ^^

[Q] Request for kernel/ROM developers

I'm the author of rVoix app capable of recording the calls directly from line on msm7k-based devices (see http://forum.xda-developers.com/showthread.php?t=806451).
The problem which haunted me long was that my Hero just rebooted on each incoming call when I tried to use the "Auto-answer" mode in my app.
Recently, I've located the kernel bug behind that, but before I even tried to fix it, I found that the fix is already present in some kernels (notably, HTC tattoo).
In all newer HTC kernels it re-appeared both in 2.6.29 and all later versions .
So, I'd be very grateful if you include the patch I'm attaching here. The reason is that I'm now trying to implement some advanced auto-answering features which would be a waste of time as far as they'd work on a single Hero device (and on certain others).
Hope I'm not asking for too much.
Also, please have a look at our project http://code.google.com/p/rvoix: it has a branch by seo who managed to integrate the rvoix call recording in his Espresso ROM for Magic. The in-call recording controls (which are very inconvenient in my app) are built in Phone.apk directly, app settings -- in Settings.apk, etc.
Currently, the branch includes magic-specific smali patches, but he promised to write a review on how to integrate call recording features more conveniently.
erasmux said:
FlyKernel-12pre5
- Backport of smd rpcrouter to avs333 request.
Click to expand...
Click to collapse
Can you please verify this solves your problem.
erasmux said:
Can you please verify this solves your problem.
Click to expand...
Click to collapse
Confirmed. Works like a charm.
CPUSpeed shut down after I booted your kernel, but I restarted it and it now works
Just out of interest, I remember using an app like this in 1.5 and 2.1, and it recorded the sound from the internal datastream iirc.
I can't remember the name, but this sounds interesting, though I personally don't record as many calls recently as I used to... will give it a shot though
pulser_g2 said:
Just out of interest, I remember using an app like this in 1.5 and 2.1, and it recorded the sound from the internal datastream iirc.
I can't remember the name, but this sounds interesting, though I personally don't record as many calls recently as I used to... will give it a shot though
Click to expand...
Click to collapse
Yes, in the beginning was the app called AirVoice, but its author seemed to close his project, and wouldn't respond to any pleas to share the code.
Anyhow, I used his key trick in my app.

[Q] Call Recorder

Is it possible to record voice during calling. It seems that Atrix 4G does not support this function, when i use API to record from mic,and get nothing. but
when phone is end, there is sound appears. Could anyone explain the reasons?
Thanks
Plenty of threads about this. Not possible because of privacy issues/laws. If you want to record calls, you need to have your phone on speaker and record with another device.
CaelanT said:
Plenty of threads about this. Not possible because of privacy issues/laws. If you want to record calls, you need to have your phone on speaker and record with another device.
Click to expand...
Click to collapse
Sgs2 does it out of the box
Edit: I forgot that I never ran stock on my phone, it was included in a ROM. Apparently call recorder works with stock. Should be a way for you Atrix folks.
Sent from my GT-I9100 using xda premium
From what I understand this is a hardware issue implemented by Motorola because of privacy issues/laws at state and federal levels. I don't believe it's as easy as installing any app to enable this feature.
Of course it may be/is possible on other phones, but different manufacturers have different policies regarding items like this, and Motorola takes a hard line on call recording.
Also, many phones don't route the actual call through the OS by design, so an application running in the OS has no access to the voice module.
You can record calls on Google voice, but when you enable this in call the other person is informed by an automated message that call recording has begun.

Anyone tried call recording yet?

Anyone tried any call recording software yet?
Are you root/non root?
Which app do you use?
Does it record the audio stream or just what the microphone picks up from the speaker?
I use ACR - https://play.google.com/store/apps/details?id=com.nll.acr
It works perfectly fine to record both sides of the conversation.
The incoming audio is a little on the softer side but still very audible
I paid for the licensed version as well.
What config do you use???
ElBeaner said:
I use ACR - https://play.google.com/store/apps/details?id=com.nll.acr
It works perfectly fine to record both sides of the conversation.
The incoming audio is a little on the softer side but still very audible
I paid for the licensed version as well.
Click to expand...
Click to collapse
Tp4R3g said:
What config do you use???
Click to expand...
Click to collapse
Click on Recording issue, scroll down until you see Samsung 7 and use that one
ElBeaner said:
Click on Recording issue, scroll down until you see Samsung 7 and use that one
Click to expand...
Click to collapse
Any way to kill that on going notification for ACR? I was going to disable it in the settings but it warns this might kill the app.
dansan382 said:
Any way to kill that on going notification for ACR? I was going to disable it in the settings but it warns this might kill the app.
Click to expand...
Click to collapse
I disable it in the settings and it works just fine.
Just add ACR to your unmonitored apps under battery so that Doze does not kill the app
The best app so far - https://play.google.com/store/apps/details?id=com.skvalex.callrecorder
pRo_lama said:
The best app so far - https://play.google.com/store/apps/details?id=com.skvalex.callrecorder
Click to expand...
Click to collapse
What's so much better of it that it results in the $7 extra premium over ACR licensed version?
Serious question - may switch to it
ElBeaner said:
What's so much better of it that it results in the $7 extra premium over ACR licensed version?
Serious question - may switch to it
Click to expand...
Click to collapse
1. The programmer communicates with you if you have a problem. I've written him over XDA a couple of times, and he has always helped me.
2. If the app does not support the mobile phone (new models on the market), just write to him and he looks at it right away.
3. Regular updates.
4. Many options for recording such as formats, filters etc.
5. When you start the app for the first time, the application will set itself the most suitable settings for that mobile.
6. You don't need to have root.
Look, I tried many apps, but Call Recorder is the first choice for me.
pRo_lama said:
1. The programmer communicates with you if you have a problem. I've written him over XDA a couple of times, and he has always helped me.
2. If the app does not support the mobile phone (new models on the market), just write to him and he looks at it right away.
3. Regular updates.
4. Many options for recording such as formats, filters etc.
5. When you start the app for the first time, the application will set itself the most suitable settings for that mobile.
6. You don't need to have root.
Look, I tried many apps, but Call Recorder is the first choice for me.
Click to expand...
Click to collapse
ACR does all that and I spoke with the developer when I got the S8 and he fixed the issue instantly and issued an update within hours
I may download the trial app and see how it works/looks
Wow, so might not need root after all!
Galaxy S8 / S8 Plus has more than 28 variants, some of them uses the Qualcomm MSM8998 chip, some of them uses the Samsung Eynos 8895 chip.
Boldbeast Recorder records calls crystal clear in two directions, from users' reports so far, all Galaxy S8 / S8 Plus variants work well, no root needed. Detailed information: https://www.boldbeast.com/forum/topic1438-galaxy-s8-call-recorder.html
boldbeast said:
Galaxy S8 / S8 Plus has more than 28 variants, some of them uses the Qualcomm MSM8998 chip, some of them uses the Samsung Eynos 8895 chip.
Boldbeast Recorder records calls crystal clear in two directions, from users' reports so far, all Galaxy S8 / S8 Plus variants work well, no root needed. Detailed information: https://www.boldbeast.com/forum/topic1438-galaxy-s8-call-recorder.html
Click to expand...
Click to collapse
I tried Boldbeast but it does not record properly. It asks me to remove all other recorders, which I do not have in the first place. I even removed the default voice recorder, but it still asks me to remove other recorders. Strange. I uninstalled the app.
linom said:
I tried Boldbeast but it does not record properly. It asks me to remove all other recorders, which I do not have in the first place. I even removed the default voice recorder, but it still asks me to remove other recorders. Strange. I uninstalled the app.
Click to expand...
Click to collapse
Most possibly, you enabled the OK Google app in your phone. OK Google is occupying the microphone, it is continuously picking up sound from the microphone to recognize your "voice command", and this blocks Boldbeast working. Please disable the "Settings > Google > Search > Voice > OK Google detection > From any screen" option in your phone, then it works at once.
About the "can not record any call" problem, actually there are 7 possible reasons, have a look at the [001] part in this page: http://www.boldbeast.com/android/call_recorder_troubleshooting.html
Test again, it 100% works.
Used to use this app: https://play.google.com/store/apps/details?id=com.appstar.callrecorder&hl=en
It quit working on my Galaxy S8.
I tried using Boldbeast as some people stated here but it didn't even record. No recordings where found.
I am using ACR as also indicated on here and it seems to be working for the moment.
I am using the AT&T Galaxy S8. do I have the one that doesn't support call recording? I was reasding on other forums and people are saying some S8s are blocked from recording calls.
Call rec button
vinokirk said:
Anyone tried any call recording software yet?
Are you root/non root?
Which app do you use?
Does it record the audio stream or just what the microphone picks up from the speaker?
Click to expand...
Click to collapse
Nemesis rom has call rec button in it. Can anyone take it from it and make zip for twp ?
Could only get acr to record only my voice
ElBeaner said:
Click on Recording issue, scroll down until you see Samsung 7 and use that one
Click to expand...
Click to collapse
Samsung Android 7 or Samsung S7 Android 6?
The Android Oreo update has impacted recording on some Samsung S8 and 8+ and all S9's. I've been a paid user of ACR for a year now and it's awesome, but even they are scratching their heads about this b/c it's impacting everyone.
Native call recording is the best, and free. But need root.
https://forum.xda-developers.com/galaxy-s8/themes/mod-enable-native-call-recording-s8-t3607196

"NO" automatic call recorder in mi a1

very necessary, as no playstore app works correctly...
(only supportive people response here plz)...
What kind of support are you looking for, I'll be happy to provide.
Automatic Call Recorder works without any issues. Make sure Settings -> Running -> has Ignore battery optimizations and Run in the background checked.
I've used for about 6 months play store "call recorder" (from appliquato) on nougat. Since I've changed to oreo, haven't tested.
insajd said:
Automatic Call Recorder works without any issues. Make sure Settings -> Running -> has Ignore battery optimizations and Run in the background checked.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.appstar.callrecorder
this one?
for custom roms?
harishmenace said:
What kind of support are you looking for, I'll be happy to provide.
Click to expand...
Click to collapse
thanx, custom roms dont have call recorder inbuilt....how to record both end calls, playstore apps are very weak to record descent quality
riccetto80 said:
https://play.google.com/store/apps/details?id=com.appstar.callrecorder
this one?
Click to expand...
Click to collapse
Yes, I have no issues with this app and everything gets recorded with no problem.
I'm using Call Recorder from F-Droid. You can choose the quality and format of the recording and some other settings. I have never tried other call recording apps so I don't know how good it actually is compared to the others.
Use boldbeast or total recall.
Use alsa source(root) if boldbeast, else install root patch(that probably modifies system partition) in total recall.
You'll get Cristal clear recording using any of those 2 app. Hit thanks after installing n verifying.
I dunno if this is what u are looking for but
I use flyme os and it has built in call recorder like miui

Categories

Resources