seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://seerge.github.io/g-helper/
GNU General Public License v3.0
6.83k stars 247 forks source link

[Feature request] Microphone modes / Noise Cancelling #18

Open veronica9686 opened 1 year ago

veronica9686 commented 1 year ago

I have a G14 2022. It seems like right now I can change the Microphone modes only using the Armoury Crate app. This is the only feature holding me back from using this app. Any chance of adding this feature? image_2023-02-23_201616633

seerge commented 1 year ago

If someone will show me API or any documentation of how this modes are being set , I can try to add them. So far - it's seem proprietary between Armory and Fortemedia (the name of service that does it)

lucidnx commented 1 year ago

I see that there's some audio related settings in AMD control panel, check that out :)

vddCore commented 1 year ago

@seerge If it's indeed the Fortemedia service controlling this, then it might be worth playing around with the settings in Armoury Crate and seeing how it affects the values in HKEY_LOCAL_MACHINE\SOFTWARE\Fortemedia\ registry subkeys. HowlingDection and NoiseClassification sound pretty interesting given the context.

seerge commented 1 year ago

@vddCore good observation :) thanks. I have quickly installed armoury and tried to set AI NC on/off there, it doesn't seem to change registry values, but I will look a bit more into that

vddCore commented 1 year ago

AI Noise Suppression itself seems to be an AMD-supplied technology - given its presence in the AMD control panel, I would assume the settings for that would be stored somewhere else and facilitated by C:\Windows\System32\AMD\ANR\AMDNoiseSuppression.exe. image

seerge commented 1 year ago

@vddCore they are not happy with AMD's version of NC and want armoury :) (based on reddit / other comments)

lucidnx commented 1 year ago

I am not using any of these. I have installed OBS studio with VB audio cable (virtual audio in & out) and configured noise supression and cutout there. It's flawless so far. I have found that Fortemedia APO service is eating battery a bit, it's service is constantly using 0.5-2% CPU. I guess it's still processing audio even when it's not used.

Bukethead commented 1 year ago

In regards to the microphone modes, it would be great if G-Helper could potentially offer the ability to record only from the rear facing microphone which is not an option that is currently offered by armoury crate. This would be useful to me as I often record lectures with my z13.

Metalogic999 commented 1 year ago

So there's really two different requests here:

1) Microphone Modes

2) Noise Cancellation

Is 1) a complete non-starter? Or are you still looking into that? Microphone modes in G-Helper would be fantastic!

Sounds like 2) may be feasible (and AMD's version would be better than nothing)

seerge commented 1 year ago

Noice canceling / mic modes seem to b asus proprietary , i don't know if it is even accessible from outside.

Amd noise cancelling can be enabled via adrenaline w/o g-helper :)

Metalogic999 commented 1 year ago

Okay, thanks anyway! I haven't actually tried the mic yet on my 2023 G-14, I presume it should still work as a basic mic for Zoom calls etc?

Yes, for noise cancellation I can just use Adenaline, I wasn't going to uninstall that (although not sure I need much else that offers, as I have an Nvidia GPU).

Metalogic999 commented 1 year ago

@OneWayGamer Actually, it looks like (on my 2023 model G14 anyway) you can access and set all the different microphone modes (Unidirectional i.e. Cardiod, Omnidirectional, Stereo-enhanced) and the conference call modes (Single presenter, Multi-presenter) in the Realtek Audio Console under "Microphone Array" (I'm using Windows 11, if it makes any difference), even with Armoury Crate uninstalled (I don't have it installed). Yes it means going to a different app from G-Helper, but it is there, as far as I can tell.

2023-05-11 22_13_38-Realtek Audio Console

You can also set "AI noise reduction" (which is I presume the same thing as Armoury Crate uses), for both microphones and also for the speakers and headphone output. I'm also wondering if the second Microphone listed underneath "Microphone Array" is the rear one? It was a lower max sample rate/bit depth (32000Hz/16 bits vs 48000Hz/24 bits) than the main one:

2023-05-11 22_15_48-Realtek Audio Console

It would be useful to be able to add a tray icon for this app, but I'm not sure how to do that?

seerge commented 1 year ago

@Metalogic999 that's a good find, but it's not available on all laptops. For example om my G16 2023 - it exists, and on G14 2022 - is absent (don't know why tho)

Metalogic999 commented 1 year ago

@seerge that's weird, is it perhaps available to download from MyAsus (the website) for your model of G14?

seerge commented 1 year ago

@Metalogic999 i have it installed, it just doesn't show modes :) Screenshot 2023-05-11 234219

Metalogic999 commented 1 year ago

Ah...

veronica9686 commented 1 year ago

@Metalogic999 that's a good find, but it's not available on all laptops. For example om my G16 2023 - it exists, and on G14 2022 - is absent (don't know why tho)

I wonder if installing a different version would make those options appear on the 2022 models 🧐

Metalogic999 commented 1 year ago

I wonder if installing a different version would make those options appear on the 2022 models 🧐

Apparently not, from one of the comments on reddit

Metalogic999 commented 1 year ago

BTW it looks like the version of Realtek Audio Control installed on my 2023 G14 is a Microsoft Store app, I don't know, but maybe it's possible to get it that way?

seerge commented 1 year ago

@Metalogic999 i have same one, even more - it's being installed automatically by windows update just width drivers (so i got it even with a new windows install). I think it looks at actual hardware model and then decides on what to show / hide.

Pretty much as g-helper hides some buttons on some models :)

AudreyAP commented 1 year ago

If you've clean-installed Windows, the Realtek drivers that Windows automatically installs are the problem.

Download the Realtek drivers from the Asus site and the mic modes re-appear in the Realtek app.

Tested working on M16 2023 (GU604). Mic modes disappeared after clean install, reappeared after installing drivers from Asus site. Reproduced several times.

AudreyAP commented 1 year ago

@seerge

Do you have any interest in implementing mic mode controls in g-helper? If so, I can try playing around with them while looking for changes in the registry and report back. Let me know what you think.

seerge commented 1 year ago

@AudreyAP if you would read this topic, you would see that realtek mic mode control doesn't appear on some models :) On M16 and G16 it does, and on G14 (2022) - it doesn't

I have interest "implementing" mic modes, but as mentioned in a very first topic - there is no information of how this works :)

AudreyAP commented 1 year ago

@seerge Thanks for the reply!

@Metalogic999 i have same one, even more - it's being installed automatically by windows update just width drivers (so i got it even with a new windows install). I think it looks at actual hardware model and then decides on what to show / hide.

Per here, it seems that you have clean-installed Windows and use the auto-updated drivers - I've not seen anybody with a bone-stock Asus install have an issue with finding mic modes in the Realtek console, the issue only exists after doing a clean install and using windows update drivers. I've been working through this issue for a week, have cloud-reset my laptop like 8 times going back and forth trying to find the culprit. I do not get mic modes on my M16 2023 if I do not download the drivers directly from asus. Windows update version and asus direct version have identical version numbers, but they 100% function differently. It's very strange.

If you are at all interested in troubleshooting, try installing this:

https://dlcdnets.asus.com/pub/ASUS/GamingNB/Image/Driver/Audio/28645/Realtek_Audio_V6.0.9373.1_28645_2_2.exe?model=ROG%20Zephyrus%20G14%202022%20GA402

Link is from https://rog.asus.com/ca-en/laptops/rog-zephyrus/rog-zephyrus-g14-2022-series/helpdesk_download/ just found the right one for you for the sake of convenience :)

You may also need to reinstall the fortemedia stuff, also available from the drivers page - it may need to be re-installed after doing the realtek driver.

You should see the mic modes appear in realtek console after installing this and rebooting. I've confirmed that it works with several G14 2022 owners. Could be different for you... regional firmware is different, apparently?

seerge commented 1 year ago

@AudreyAP I have both original windows (with AC and all the bloat) and clean. And on clean I have also installed Asus'es version of Realtek drivers. It's the same. I think Realtek control panel looks at actual hardware unfortunately.

AudreyAP commented 1 year ago

@seerge

Argh. Annoying. The issue looks identical to what I get on m16 2023... It even happened once on stock asus windows when I did a cloud recovery partially on battery. I'm trying to get to the bottom of it because the mic modes do work quite well, and it would be great if g14 2022 people would not have to keep AC just for them. Will keep digging...

AnhPham1408 commented 1 year ago

image Mine 2022 zephyrus duo model doesn't setting for adjust the microphone mode in the Realtek Audio Console. However, the 2021 S17 I own before has that setting.

Twel12 commented 1 year ago

just in case someone wants to use it , i have armoury crate installed, g-helper running and ran the debloat script preety much makes armoury crate useless but ai-noise cancelling still works fine.

SeasonPhan commented 1 year ago

G14 2020 does have all Microphone effects, but only on version 1.1.370.0 (auto installed by windows update after a clean windows install) image image

if i try to reinstall it from the microsoft store, it will download the lastest version (1.44.x) which doesnt have any effects at all

use this website https://store.rg-adguard.net/ to get the older version and install it manually

AudreyAP commented 1 year ago

Great find @SeasonPhan !

astronaut701 commented 1 year ago

For anyone that needs to the url for the Realtek Audio Console to pop into https://store.rg-adguard.net, here it is https://www.microsoft.com/en-us/p/app/9p2b8mcsvpln

For me, I got an insecure download button (only from the download being HTTP from an HTTPS site, not that the file was bad.) and did have to rename the file ending of the download to .appxbundle for some reason, but after that, I uninstalled my current Realtek Audio Console though Windows Settings, enabled Developer mode under Developer settings, and was then able to right click and install the old version of the Realtek Audio Console. After that, profit.

Note - I'm on a ASUS G15 2021 (GA503QR) by the way. Thanks @SeasonPhan for the pointer!

Here's how it looks on my end.

image

This didn't give me the same options, but it gave me something at least.

Lunigorn commented 1 year ago

Flow X16 2023 (GV601VI) Armoury crate changes this settings in Realtek Audio Console (when change it in Armoury Crate, the settings are changed in Realtek Audio Console).

It would be great to have the button in G-Helper to open Realtek Audio Console.

image

image

epman100 commented 1 year ago

For anyone that needs to the url for the Realtek Audio Console to pop into https://store.re-adguard.net, here it is https://www.microsoft.com/en-us/p/app/9p2b8mcsvpln

you misspelled or mistyped that site, astronaut701. it should be store.rg-adguard.net as SeasonPhan correctly mentioned (with a g not an "e" - otherwise it will redirect to an undesirable & possibly dangerous site)

also the "insecure download" is actually from Microsoft's tlu.dl.delivery.mp.microsoft.com site which always use HTTP and not HTTPS and the download links from that site are dynamic and not static (meaning they only last for a while and change after they expire)

astronaut701 commented 1 year ago

For anyone that needs to the url for the Realtek Audio Console to pop into https://store.re-adguard.net, here it is https://www.microsoft.com/en-us/p/app/9p2b8mcsvpln

you misspelled or mistyped that site, astronaut701. it should be store.rg-adguard.net as SeasonPhan correctly mentioned (with a g not an "e" - otherwise it will redirect to an undesirable & possibly dangerous site)

also the "insecure download" is actually from Microsoft's tlu.dl.delivery.mp.microsoft.com site which always use HTTP and not HTTPS and the download links from that site are dynamic and not static (meaning they only last for a while and change after they expire)

Thanks for the heads-up! Sorry about that, it's fixed now. And thanks for the bit of insight regarding the insecure download message.

TomKing101 commented 1 year ago

I have a G14 2022. It seems like right now I can change the Microphone modes only using the Armoury Crate app. This is the only feature holding me back from using this app. Any chance of adding this feature? image_2023-02-23_201616633

Sadly, NVIDIA users can use the NVIDIA Broadcast to replace the ASUS Double AI Noise Cancelling, but you're an AMD user, that's a shame.

squee666 commented 1 year ago

Zephyrus duo 2023 also has it

o1hLTcH

1kSxszq

memojo commented 9 months ago

On ROG Flow X16 2022 it also does not work with the latest "realtek audio console". With Version 1.1.137.0 the options to control the mic array show up. Thanks @SeasonPhan!

saneksem commented 7 months ago

TUF F15 FX507ZV 2023 Audio driver version: 6.0.9590.1 Realtek Audio console version: 1.48.311.0 HAS options to control microphone without Armoury Crate and its services installed

rollercoaster commented 5 months ago

With all the people saying that the older version has these modes, has anyone tried to see if they work at all where they are officially unsupported on the latest version?

riyanshlunia commented 5 months ago

In need of this feature soo bad I hope we see it soon

mamod03 commented 3 months ago

I'm a user of TUF A15 2022 , uninstalled armoury crate , and installed GHelper , any ways to use the Noise Cancellation ? I know I have one in my AMD but it's useless , when there is a lot of noise it don't work as expected , Also I don't have realtek driver , I have C media which offer a noise cancellation but it's as AMD (not working well when there is a lot of noise ) . Any ideas ? I'm not going to install armoury crate again for that , but I hope any of you have a better solution !

seerge commented 3 months ago

@mamod03 as mentioned in this topic you can set same thing within Realtek Control Panel :)

If it's not there, you can use alternatives, like the one from Nvidia

xxwizardxx117 commented 3 months ago

Sorry might sound like a repeat but I am G15 2021 user with windows 11 and for me the mic modes have completely stopped working I have some kind of static noise that my microphone keeps on recording automatically. I have tried doing things with settings that are already there. If I turn on windows default audio enhancement all kinds of enhancement from Asus stop working and if it's off sometimes cardioid mode or something works at very low voice getting recorded any help or suggestions

adokitkat commented 1 month ago

I can help you provide more info if you instruct me a bit (I can use Wireshark if needed). I have G14 2022 version.