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

How to unmute, muted middle speakers with 5.1 config? #131

Closed
deathxxx123 opened this issue Jul 13, 2020 · 8 comments
Closed

How to unmute, muted middle speakers with 5.1 config? #131

deathxxx123 opened this issue Jul 13, 2020 · 8 comments

Comments

@deathxxx123
Copy link

My sound card have alwayis muted middle sound with any distro by default. So I need unmute in alsamixer, but in this OS, does not have alsamixer. How to do that?

@deathxxx123
Copy link
Author

Don't have amixer too.
Only have pulsemixer, but this program do not have ability to mute/unmute only Center speaker. Only can do that on all speakers, but that will not unmute the Center speaker.
Only Alsamixer and Amixer can do this.
Sound Card: Auzentech Prelude 7.1 (with Creative X-Fi [20K1] chipset)

@deathxxx123
Copy link
Author

deathxxx123 commented Jul 16, 2020

I search for some help in the web and find something that can help:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/677067/comments/4

I need add the:

[Element Center/LFE]
switch = mute
volume = merge
override-map.1 = center,lfe

To analog-output.conf , so i can mute/unmute just center/lfe from pulsemixer i guess.

But i do not see the:
/src/modules/alsa/mixer/paths/analog-output.conf

@deathxxx123
Copy link
Author

deathxxx123 commented Jul 16, 2020

I found how to clear this bug(enable alsamixer):
sudo pacman -S alsa-utils
Then i can open alsamixer in terminal and unmute my center speaker!
Also i found the analog-output.conf
in
/frzr_root/deployments/gameros-18_a89413e/usr/share/pulseaudio/alsa-mixer/paths
and add the

[Element Center/LFE]
switch = mute
volume = merge
override-map.1 = center,lfe

as root, save and exit. (because for my card, center channel is not called Center, LFE or CLFE like other cards, but it's Center/LFE instead. So, because that is missing in analog-output.conf , the center sound are always muted after clean install.)

After edit, analog-output.conf looks like this:

`
[General]
priority = 99

[Element Hardware Master]
switch = mute
volume = merge
override-map.1 = all
override-map.2 = all-left,all-right

[Element Master]
switch = mute
volume = merge
override-map.1 = all
override-map.2 = all-left,all-right

[Element Master Mono]
switch = off
volume = off

[Element Front]
switch = mute
volume = merge
override-map.1 = all-front
override-map.2 = front-left,front-right

[Element Rear]
switch = mute
volume = merge
override-map.1 = all-rear
override-map.2 = rear-left,rear-right

[Element Surround]
switch = mute
volume = merge
override-map.1 = all-rear
override-map.2 = rear-left,rear-right

[Element Side]
switch = mute
volume = merge
override-map.1 = all-side
override-map.2 = side-left,side-right

[Element Center/LFE]
switch = mute
volume = merge
override-map.1 = center,lfe

[Element Center]
switch = mute
volume = merge
override-map.1 = all-center
override-map.2 = all-center,all-center

[Element LFE]
switch = mute
volume = merge
override-map.1 = lfe
override-map.2 = lfe,lfe

[Element CLFE]
switch = mute
volume = merge
override-map.1 = all-center
override-map.2 = all-center,lfe

.include analog-output.conf.common`

Now i have center sound in 5.1 sound configuration!
SOLVED by Me! Hehe :)

@deathxxx123
Copy link
Author

deathxxx123 commented Jul 16, 2020

I guess, you can include this:

[Element Center/LFE]
switch = mute
volume = merge
override-map.1 = center,lfe

in analog-output.conf by default, to fix muted center speaker for others who have Creative X-FI cards.
And also include alsa-utils package, so others can use alsamixer.
This will be great and unique update, because there are no other Linux distro, that have this!

@alkazar
Copy link
Member

alkazar commented Sep 1, 2020

I will include alsa-utils in the next release, but I am not sure how the proposed configuration will impact other users.

@deathxxx123
Copy link
Author

deathxxx123 commented Sep 2, 2020

I will include alsa-utils in the next release, but I am not sure how the proposed configuration will impact other users.

I think that will not harm anyone. If you edit the analog-output.conf to fix X-Fi cards Center, to get sound with 2.1, 4.1, 5.1, 7.1 and any configuration that uses Center/Subwoofer.
That is just miss mapping Center speaker for X-fi cards. Maybe the devs can finally add this in analog-output.conf by default, like other cards.
I can report the bug to Alsa-devs by myself, but i don't know where exactly i need to report.

@deathxxx123
Copy link
Author

Great news. Looks like they will merge this change to pulseaudio or whatever.. So this cards will finally have a better support!
https://gitlab.freedesktop.org/tanuk/pulseaudio/-/commit/8e04a72f06365c7bd442508d8c5b3fc12bb13f00

@alkazar
Copy link
Member

alkazar commented Sep 20, 2020

Closing since there is no further action to take. Thanks!

@alkazar alkazar closed this as completed Sep 20, 2020
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

2 participants