Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lower master volume #40

Closed
falkenhawk opened this issue Oct 7, 2021 · 19 comments
Closed

Lower master volume #40

falkenhawk opened this issue Oct 7, 2021 · 19 comments

Comments

@falkenhawk
Copy link

Hi,
Could you perhaps give a hint how to change the master system volume, please?
I know I can lower the volume in retroarch config (I set it to -20 dB), but there are also other standalone emulators and games, which I find way too loud on the lowest volume level.
Rogue CFW has an alsasound config app, if I am not mistaken, perhaps we could have something similar in your fw? Or maybe it can be already configured manually in a config file, using Commander app? 🤔

@eduardofilo
Copy link
Owner

Hi.
Could you please give a concrete example for me to try?

@eduardofilo
Copy link
Owner

Ah, and with which console are you experiencing that issues?

@falkenhawk
Copy link
Author

I use RG280V. We may try to extract the volume control app from the rogue fw and include it here and see if it works to preserve the adjusted system volume level also after reboot, or if additional init scripts are needed.
An example is that I would like to have the master volume lowered globally for the whole system and all apps, to my preference :)

@eduardofilo
Copy link
Owner

You have luck. Next release of SimpleMenu will have access to alsasound utility throgh settings menu. I will install in next Adam version when available.

@eduardofilo
Copy link
Owner

In new 1.3 release of the image, you have access to alsamixer in Apps section of SimpleMenu and in settings section of GMenu2X. I hope it helps.

@ridsama
Copy link

ridsama commented Oct 18, 2021

Is there any documentation on how to use alsamixer utility? It doesn't seem to change my overall sound volume even with -20dB for everything. And also it resets after a reboot.

@eduardofilo
Copy link
Owner

On my machine it seems that the only item that affects volume is PCM. I can adjust it down to -30dB and it does hold the setting between reboots. The value is stored on reboot in the file /media/data/local/etc/volume.state.

@eduardofilo
Copy link
Owner

For the documentation, you have the Linux manual, but I don't think it's very helpful in this case.

https://linux.die.net/man/1/alsamixer

@danielristic
Copy link

The alsamixer does work and retain settings but it seems that even at -30dB it's still a bit loud on the RG280V.

@eduardofilo
Copy link
Owner

I understand. Unfortunately, I can only play with the options available in the programs and the system. Adjusting the correspondence of a certain value in alsamixer with the perceived volume is something that can only be adjusted by modifying the system.

@danielristic
Copy link

What's weird is that leaving the alsamixer value to the default setting and adjusting retroarch's audio gain value to -20dB seems to produce a sound that is much quieter compared to the system-wide -30dB value.

@eduardofilo
Copy link
Owner

Good workaround. That had not occurred to me. I will include it in the FAQ. Thanks.

@eduardofilo
Copy link
Owner

I see now that @falkenhawk already suggested it in first comment.

@eduardofilo
Copy link
Owner

What's weird is that leaving the alsamixer value to the default setting and adjusting retroarch's audio gain value to -20dB seems to produce a sound that is much quieter compared to the system-wide -30dB value.

Well, I understand that the -20dB in RA is accumulated over the PCM level. So, you have to put PCM to 0dB to compare RA output adjusting with alsamixer. I have compared the following:

  • RA: 0dB; PCM/alsamixer: -30dB
  • RA: -30dB; PCM/alsamixer: 0dB

and they sound similar to me.

eduardofilo added a commit that referenced this issue Nov 7, 2021
Related to issue #40.
@eduardofilo
Copy link
Owner

@danielristic
Copy link

Well, I understand that the -20dB in RA is accumulated over the PCM level. So, you have to put PCM to 0dB to compare RA output adjusting with alsamixer. I have compared the following:

  • RA: 0dB; PCM/alsamixer: -30dB
  • RA: -30dB; PCM/alsamixer: 0dB

and they sound similar to me.

Thanks for your answer, I got confused and did not realise that the PCM levels in alsamixer also changed when using the volume buttons (I thought it was an independent setting).

The FAQ is really clear and it works well, thanks!

@falkenhawk
Copy link
Author

I see now that @falkenhawk already suggested it in first comment.

yes, that works fine, but outside of RetroArch i can't find a way to lower the volume below pcm level 32 (-30dB), for example in Gambatte emulator.

@falkenhawk
Copy link
Author

falkenhawk commented Feb 13, 2022

But why do I even bother running gambatte directly, as retroarch's core is also based on Gambatte, you may ask.

I noticed that the performance of standalone's gambatte was better than retroarch's, but it turned out it was because of the default settings in retroarch - there is "color correction" enabled and set to "accurate". (And standalone had color correction disabled.)

That makes the colors look much closer to how they look on original gbc, which is very nice.

But it also causes audio (esp. music) to stutter in some games, i.a. Tomb Raider.

When color correction is disabled or set to "fast" then sound is fine, but colors are not that nice anymore. (they are darker and more saturated, which one may think that's better, but they are not how they were supposed to look on gbc.)

Is rg280v not powerful enough to run without audio issues with accurate color correction enabled? 🤔

@eduardofilo
Copy link
Owner

Well, with these machines you almost always have to find some kind of compromise. Although with GB I would have thought that the machine would be powerful enough to handle even some graphical effects. But from what you say that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants