Reducing mic output gain on video record. Why? Cause its too loud & distorts - Touch Pro2 CDMA

I'm looking to reduce the mic gain level while recording video. I notice it doesn't take too loud of a noise to cause distortion when you play it back. I also notice it picks up even the tinniest of sounds. Eg... its very sensitive. It picks up a small fan 20 feet away and on the video it sounds like you are standing next to it. In a way, this can be good, but in most ways it's not. What is the exact setting to adjust to ruduce the mic output gain level? I'm sure it's in the Audiopara file, but if someone knows exactly which setting so I wont have to be tweaking 2 or 3 of them to find it, it would be helpful. Thank you guys n gals

Related

AudioPara_.csv file -- columns of adjustments

Does anyone know what the different parameters in the columns adjust in the AudioPara_.csv file? Seems like this file, if tweaked properly can fix several sound issues. Some seem fairly obvious but others not.
There also seems to be some kind of compression/limiting going on, loud noises in the receiver will bring volume too far down and then I can barely hear the other person. HTC is probably protecting the tiny speakers, but it seems it's not adjusted properly. Sometimes even first outgoing ring is nice and loud, but the next is soft. Go figure!
This is also true for the outgoing mic. I have had some people say it's too loud from my phone. Sometimes I can even hear my own background noise loud through my earpiece, similar to the mic sensitivity thread. If I talk fairly loud then sometimes the overall volume drops, including my receiver, regardless of the microphone AGC setting.
With recording there seems to be some control from the AGC enable switch setting, but even when it's turned off, there is some sort of limiting. I've tried a few different audio programs to record and they respond similar. The gain controls offered in these programs don't seem to do much. Recording music easily clips the sound! The AudioPara file has controls for CE_REC_INC_MIC and CE_REC_EXT_MIC, which seem like this might control some of this. Again there are many columns of adjustments.
Seems like this file can fix a lot, but it would be beneficial to have a better understanding before blindly trying this and that as many have. Does anyone know where to get replacement speakers if we blow one from the wrong settings? Please share any knowledge you have about these settings and suggestions of where to find out more. It seems like more than just gain and volume that needs adjustment.
Thanks!

[Q] Microphone bad quality

Dear all,
I did the most silly thing I've ever done in my life with trying to reset my transformer by setting a pin in the... microphone entry. I've had to many wmobile phones and I hadn't read the manual.
Hopefully I didn't push like a donkey and the microphone is still working.
But I'm quite a paranoid and I'd like to check if my microphone has been damaged because now that I'm paying attention to its quality, I noticed that the sss sounds look more like "sh" sounds.
Could someone please kindly upload a microphone sample with some speaking with some "sss" in order for me to compare?
Thank you!
Regards
Excalius
Boy,
nobody wants to take 30 secs to help? I posted here the sound sample I take when speaking really low.
I just cant send you the file because I'm too new on this website.
just hit filedropper.com and follow by
/recording-20110519-031504_1
Please tell me if you see a similar problem on your device and send a sample from it.
Yours has a kind of background whirring noise to it, don't know if thats a pc fan in the background or the mic broken, but mine isnt like that.
And you also sound very quiet, but you may just be further away from your device than I was from mine when I tested it.
I couldnt find where the default recording app saved the files so I used an app called PCM recorder to record it at 48000Hz. Whatever app you used to record your clip, created it in a very poor audio quality. It has a kind of 'underwater' sound quality, which is common with low bitrate recordings.
Oh and you'll have to take my word for it as I'm not posting an audio clip.
Ok thank you.
And there,
filedropper.com
/recording-20110519-173337
do you still hear an anormal buzzing sound? You really can't send me a recording without speaking just to hear your sound?
And the shh are present with you too?
Thanks
Excalius

Audio recording level in G2X video camera

I've been quite pleased with the camera in the G2X, but when I record video I can barely hear anything. Is there any way to boost the input level? There's no settings accessible from the camera and I'm not finding anything in the system settings.
The mic is located on the bottom right of the phone, to the right of the micro usb port. Be sure you're not covering it up.
Stock?
I noticed that too when I was on it. I could hear myself just fine, but anything even like 3 feet away was too quiet.
Just talking out of my ass, but I'm guessing it has something to do with noise cancellation.
Yeah, stock. Next step will be to try it with an external mic.
Plugging in an earbud/microphone set from my Samsung made immense difference. Next trick is to figure out whether the earphone port can accommodate a regular microphone input, or if I have to find some sort of signal combiner cable.

Delete

Delete
Huge thx to rocker00 and Cirra92. We worked on this for weeks, it was an adventure starting from scratch trying to reverse engineer this what Xiaomi did. A lot of frustration, hours of testing and comparing and finally getting to this point that for me, us, we have the sound that we want.
I am a huge fan of 'what you hear is what you get ' recordings. This has been done with the changes... BUT ... read below for further technical information and limitations.
Also to be precise, Xiaomi messed up the left and right microphone. Easily tested in recordings and a headphones, so that was changed in the config files.
As I already wrote in the other (original) topic, AGC can be a good thing. AGC stands for automatic gain control which makes all the sounds sound at the same level.
Most people will like that you hear birds in the background really well and that conversations will always be at the 'good' level. Now our human ear can hear the slightest noise and still cope with loud things. Our brain adjusts the volume in a sort of way. If you technically translate the difference in sound levels this means an unbelievable dynamic range. Now some of us remember a VU-meter and that ideally peaks will go to 0dB to avoid distortion and get the best signal to noise ratio. AGC normally regulates this ... but due to the huge levels in our environments it is almost technically impossible to always do this. There is always a technical limit. You can look at it like HDR, it can be fantastic but useless in a complete dark environment were the sensor doesn't get light or gets way to much light.
AGC is switched off in the modded files so what you hear in dynamics is what your ears hear . BUT!!!! there is the technical limit of 0dB and the opposite side of the scale which is almost silence. The goal is to keep within these two and to aim at the 0dB. That setting can easily be controlled by DEC1 and DEC2 levels in the files which are easily modifiable.
There is another technical thing which you cannot control and which are the microphones themselves. They might have a hardware limitation to how loud they might record without distortion. Even in a professional environment microphones have limits.
The microphones that we have in our devices are really excellent and the difference between original and modded is day and night, no magnifying glasses or angel dust needed to hear it with headphones.
To bad Android hasn't got a recording mixer to set the level like the playback mixer. For the moment I found 1 application which can change the level and which is called Footej camera. It also has a VU meter which is a must, especially in loud environments.
So people give it a go and please provide feedback. Without positive or negative feedback there is no progress.
Now let me get back to my coffee.
Thanks for this module. But I wonder, why no one has noticed the rubbish quality xiaomi has implemented in the camcorder video recording. Don't know if it's only with the Indian variant or others too.
The issue is that the quality is very bad even at 20mbps bit rate. The video has artefacts all over. I also own a Samsung galaxy note 3. Quite old device but with a great camera. Although note 5 Pro still camera beats it's old sensor, but videos come out great on my oldy Galaxy note 3.
Another biggest bug is that the continuous auto focus in camcorder works like in photo mode. Quick auto focus ruining all the video. I am talking about the lack of smooth continuous auto focus. The lens focuses back and forth quickly instead of slow smooth focusing. This ruins the whole quality and is quite irritating. I have tried many camera apps but the same bug. That means it's in the libs and nobody seems to notice it. The dynamic range is also very poor.
Such a great sensor, crippled by xiaomi's bad software. Can you guys fix it? It will make this already great camera greater. Thanks.
All the videos I took with this phone were ruined because of this issue .. I'm surprised to know there were minds working on it in the background.
I've never edited the build.prop on the vendor folder so I was digging through the lines in the /system version at first before double checking your note.
I've tested before and after the mod and I can confirm this is working with Pie pr1..
Huge thanks.
Thanks bro i installed miui version, all excelent good audio quiality but with earphones for test the module, i hear more loud in right ear, and the left ear the sound is low, it's only perceptible with earphones, it's normal?
fed_xD said:
Thanks bro i installed miui version, all excelent good audio quiality but with earphones for test the module, i hear more loud in right ear, and the left ear the sound is low, it's only perceptible with earphones, it's normal?
Click to expand...
Click to collapse
Normally the volume should be the same. One way to easily tell is to export the file to your pc (if it is a windows one) and use this meter during playback.(VLC player or so) http://www.vuplayer.com/other.php
If you play the file it shows the left and right output from the file to the amplifier (end stage) of the pc. Should show about the same values at once.
lukesan said:
Normally the volume should be the same. One way to easily tell is to export the file to your pc (if it is a windows one) and use this meter during playback.(VLC player or so) http://www.vuplayer.com/other.php
If you play the file it shows the left and right output from the file to the amplifier (end stage) of the pc. Should show about the same values at once.
Click to expand...
Click to collapse
i made a test with both mics the inferior and superior (superior is beside IR)
1.-without the module the inferior mic sound is the left ear, and superior mic is the right
2.- with the module installed, ocurs a inversion of mic, the inferior mic is the right ear, and the superior is the left ear
i'm going to faculty, and don't have time to test with vumeter right now bro, sorry
when i back from the faculty i will check with vu meter
edit: the module works fine bro, the quality is better than stock audio
fed_xD said:
i made a test with both mics the inferior and superior (superior is beside IR)
1.-without the module the inferior mic sound is the left ear, and superior mic is the right
2.- with the module installed, ocurs a inversion of mic, the inferior mic is the right ear, and the superior is the left ear
i'm going to faculty, and don't have time to test with vumeter right now bro, sorry
when i back from the faculty i will check with vu meter
edit: the module works fine bro, the quality is better than stock audio
Click to expand...
Click to collapse
The mod changes left and right modules since they are wrong in the roms. Might be that a case is messing up the levels in recordings. Try without I would say.
If not fixed it might be your phone itself. We tried on 3 phones here (mine, rocker00 and Cirra92) and all were good. Quality of left and right mic should be the same ... so if volumes are not equal then you might need to change the DEC1 or DEC2 value, we'll say the correct location where they are if it doesn't work for you.
@lukesan I really wished to have half of your patience! Great explanation man!
@unisol107 I don't think we've that kind of bug on the global version, or maybe i didn't notice it! and if it's really about libs then unfortunately i can't do anything about it, you need a programmer (C++), Thanks for your kind words
@Half Alive It's good to hear that buddy.Enjoy it
@fed_xD NOOOOOOWAAAAAAAY , this part exactly you can ask luksan how much time i spent on fixing it! the top microphone was the main one from Xiaomi's genius engineers..lol!! but i think those bugs are intended..this is how to run the business! i tested this module on MIUI 9.5.19.0 and Masik 2.3 and it's bug free, so again noway especially in this part
Thanks for these fixes.I tried it on miui 9.5.14 and the difference is huge.The video's background noise has significantly reduced which I think Xiaomi should do from the start though.Anyways excellent writeup @lukesan and thanks for the awesome work @rocker00
unisol107 said:
Thanks for this module. But I wonder, why no one has noticed the rubbish quality xiaomi has implemented in the camcorder video recording. Don't know if it's only with the Indian variant or others too.
...
Such a great sensor, crippled by xiaomi's bad software. Can you guys fix it? It will make this already great camera greater. Thanks.
Click to expand...
Click to collapse
Not really audio related and haven't really played with video yet. I was about to ask to put a small clip on Youtube but they compress video so I would not see the issue.
The global version also has different cam modules.
Thinking as I type:
EIS : crops picture and uses sensors to define shakiness. Could cause less sharp images. Try without anti-shake to determine that issue.
Default video bitrate : 20mbit/s. Could be too little for a real time simple encoder. Check with green grass, like a football (soccer) field, and pan the video. If low bitrate grass will be like blocks and not sharp. Solution would be simple and even trying H.265 in Aranova's gcam (developer settings and activate) might fix that. 13.3mbit/s but H.265
Dynamic range. I have a S7 which is worse I think. Taking pictures sometimes clouds not visible in the sky while my whyred (lets call it that way) shows everything. Might be because of the Sony sensor in your devices. Use of Masik rom. which has HDR recording might mask this issue.
The fast AF, yes it can be an issue but I guess it is a compromise for taking pictures fast. People love a fast camera ... mm Masik rom also has object tracking.
@rocker00 I've found how to change the prop from magisk... Just add:
Code:
resetprop ro.vendor.audio.sdk.fluencetype none
in common/post-fs-data.sh and enable it in module.prop with
Code:
POSTFSDATA=true
Attached my modified version of yours module.
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
fed_xD said:
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
Click to expand...
Click to collapse
Just disable module and check if still same happen
fed_xD said:
This module affects mic for calls? I talked and I have to talk in the top mic hahahaha the other person don't heard when I talk in the inferior mic maybe is my phone? Haha
Click to expand...
Click to collapse
I noticed the same too.I'm in miui ROM and the other person has difficulty in hearing my voice.So ,even though this fixes video problem,but it creates another problem
@fed_xD @Subhashis Now I am confused! i don't have that bug!
Please try this one, now mics are the same like before, please report back!
Edit: You are right guys, looks like i didn't test the call in a proper way since i was focus on the camera but i've found a quick fix for this issue , now the mics adjustments are on the path which is being used by camcorder only without touching the calls, tested with 2 calls and camcorder audio quality is the same
Sorry guys but it was really a tough job.
Thread updated.
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
rocker00 said:
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
Click to expand...
Click to collapse
@fed_xD @Subhashis @Subhashis
Fixed, give rocker00 new files in the openingpost a try.
rocker00 said:
@scricccettoni Thanks, i will add to the OP and the credit is for you of course but first lets see this weird issue!
Click to expand...
Click to collapse
I have my own miui camera v2 port and I've added your fix in it. It's working good on LineageOS. The background noise has a really big difference. In few days I'll back home and so will share the module with also your fix if you are OK with that. I've already put link to this thread in the module and will add also in the post.
Thanks for the share, I'll just suggest you to use a unique name for the module in module.prop (see the one I've posted previously) to avoid problems with other modules.
In your new one you changed only mixer_paths.xml right?
rocker00 said:
@fed_xD @Subhashis
, now the mics adjustments are on the path which is being used by camcorder only without touching the calls, tested with 2 calls and camcorder audio quality is the same
Sorry guys but it was really a tough job..
Click to expand...
Click to collapse
Thanks for the fixes.Now everything is working perfectly.:good:

Question Sound dies down when the bass drops.

When playing songs at full volume with outdoor mode on at full volumes the vocals die down when the bass hits, it sounds like a cheap Bluetooth speaker. Anyone else facing the same issue?
Please try it and let me know if the vocals get dim when the base hits.
Try the Song Glass House by MGK or any of the drake songs.
Thank you
Your sure it's not a sound system issue?
If the device performs well with quality headphones it's likely not the cause.
You should be coming out in the 24bit digital realm if possible otherwise it will degrade the sound quality if the source is high fidelity.
Hi.
So I noticed this issue early on and I tried the song you mentioned and have replicated the problem.
Except, I don't think it's a bug. In outdoor mode, the volume is boosted but at that volume the bass would be distorting in these speakers and therefore it lowers the overall sound.
You can replicate this even without outdoor mode on but with bass slider at max in audiowizard. You will get the same problem.
So, it works this way because that's how it's designed. Unfortunately.
Nasty_z said:
Hi.
So I noticed this issue early on and I tried the song you mentioned and have replicated the problem.
Except, I don't think it's a bug. In outdoor mode, the volume is boosted but at that volume the bass would be distorting in these speakers and therefore it lowers the overall sound.
You can replicate this even without outdoor mode on but with bass slider at max in audiowizard. You will get the same problem.
So, it works this way because that's how it's designed. Unfortunately.
Click to expand...
Click to collapse
Alright thank you, but that's the thing I mean the speakers are good but you cannot use them to their full potential, the front camera is absolutely terrible for video calls, Snapchat is just a blurred face, I mean what's the point of this phone when it cannot get the basics right it overheats but 40C is acceptable. But thank you for confirming, I thought there is some hardware issue with my phone.
I think that's just the audio processing trying to compensate for the bass and prevent speaker over-excursion with soft clipping or dynamic range compression. The speakers are inherently limited in size and as far as I know, the phone doesn't use the entire back or front to improve bass response (like LG's Boombox feature).
You can try to EQ the bass down or disable the DTS processing.
dennis96411 said:
I think that's just the audio processing trying to compensate for the bass and prevent speaker over-excursion with soft clipping or dynamic range compression. The speakers are inherently limited in size and as far as I know, the phone doesn't use the entire back or front to improve bass response (like LG's Boombox feature).
You can try to EQ the bass down or disable the DTS processing.
Click to expand...
Click to collapse
Use Poweramp for complete equalizer control.
It's limiter works flawlessly.
If the phone 24 bit digital output and you use it there should be no issues on the phone side.

Categories

Resources