Linux mint моно звук

Linux Mint Forums

Forum rules
There are no such things as «stupid» questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Seeking Mono Audio Output.

Post by InkKnife » Wed Mar 16, 2016 9:37 pm

Environment: Mint/Cinnamon 17.3
Sometimes I like to work with only one ear bud in so if someone walks up to talk to me I can hear them without doing the headphones off dance. I looked into the sound control panel and found no control that would set output to mono. Is there a way to achieve mono output in software?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Re: Seeking Mono Audio Output.

Post by Mute Ant » Thu Mar 17, 2016 6:03 am

«Is there a way to achieve mono output in software?» Yes there is.

In Rosa, there are two files.
/usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf
/usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf
. each of which which contains a block of code.

[Mapping analog-stereo] device-strings = front:%f hw:%f channel-map = left,right paths-output = analog-output analog-output-speaker analog-output-desktop-speaker analog-output-headphones analog-output-headphones-2 paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic priority = 10 

If you right-click each file and Open as administrator you can change the channel map line.

. and save the changes. Next time pulse starts the left and right outputs have the same, monophonic output. You can make that happen straight away with.

pulseaudio --kill pulseaudio --start 

There may be other, better, less intrusive ways of doing this. I stopped looking when this one worked.

Re: Seeking Mono Audio Output.

Post by InkKnife » Thu Mar 17, 2016 1:24 pm

Re: Seeking Mono Audio Output.

Post by Mute Ant » Fri Mar 18, 2016 7:02 pm

The audacious package gives you a medium-competent player and tag-editor which, in Mint, comes with an ‘Effect’ plug-in called ‘Channel Mixer’. First you enable that plug-in.

Читайте также:  Pxe server linux debian

File : Preferences : Plug-ins : Effects : Channel Mixer [tick]

. and then you can set 1 or 2 channels, which will persist for all subsequent playback.

Output : Effects : Channel Mixer : Settings : Output Channels [1]

Occasionally audacious will choke on a non-standard file, or be unable to edit a file’s tags for no apparent reason, but mostly it’s okay.

phd21 Level 20
Posts: 10102 Joined: Thu Jan 09, 2014 9:42 pm Location: Florida

Re: Seeking Mono Audio Output.

Post by phd21 » Fri Mar 18, 2016 10:13 pm

There are some really nice graphical (GUI) programs for sound that start with «Qas», like the fantastic «Qasmixer», in the Software Manager or Synaptic Package Manager (SPM) that you can install and use. Sound «Mixers» can be a little confusing if you are not familiar with them. If you bring up «Qasmixer, make it full screen, on the right side you will have mixer devices where you can control your system sound. The item «sysdefault» will show all installed sound card devices and you will have various options to adjust various volume controls using «sliders» which you can turn off and on using the «dot» below the volume slider. There are also various other check boxes below that you can use. I think that «mono» is an option.

The applications included are:
— qasconfig — browser for the alsa configuration tree
— qashctl — mixer for alsa’s high level control interface
— qasmixer — desktop mixer with features similar to alsamixer
qasmixer is a desktop mixer application for alsa’s «simple mixer interface» and offers features similar to alsamixer. it also features a sytem tray icon with basic mixer functionality.

Install «libasound2-plugin-equal» which is another system wide equalizer that’s in the Software Manager or Synaptic Package Manager (SPM) that shows up in «QasMixer».

Veromix is a «superb» mixer for the Pulseaudio sound server.
Works with all editions of Linux Mint and is in the Software Manager or Synaptic Package Manager (SPM).
Features:
Media Player Controls (aka nowplaying)
per application volume control (replay & record)
global hotkeys
can be in your system tray

Phd21 : Mint 20 Cinnamon & xKDE (Mint Xfce + Kubuntu KDE) & KDE Neon 64-bit (new based on Ubuntu 20.04) Awesome OS’s , Dell Inspiron I5 7000 (7573) 2 in 1 touch screen, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics.

Источник

Pulseaudio: как переключиться на моно вместо стерео

Еще один вклад Луиса Лопеса делает его одним из победителей нашего еженедельного конкурса: «Поделитесь своими знаниями о Linux«. Поздравляю Луис!

Временное решение (до перезапуска Pulseaudio)

1.- Убедитесь, что у вас нет опции «Моно» в настройках звука (иначе это не имеет смысла).

Читайте также:  Обновить linux apt get

2.- В терминале мы выполняем следующее, чтобы получить имя нашей «раковины».

pacmd списки-приемники | имя grep

3.- Теперь мы повторно отображаем аудиовыход, загружая соответствующий модуль, передавая ему необходимые параметры. Обратите внимание, что в «master» мы должны указать имя нашей «раковины».

pacmd load-module module-remap-receiver имя_приемника = mono master = alsa_output.pci-0000_00_1f.5.analog-стерео каналы = 2 channel_map = моно, моно

4.- Готово, параметр переназначения (моно) уже должен отображаться в настройках звука.

ПРИМЕЧАНИЕ: Не оставляйте громкость (регулятора громкости) слишком высокой, так как при уходе в одно место то, что раньше оставляли на двоих, вызовет ужасные искажения.

Постоянное исправление (сохраняется даже после перезапуска Pulseaudio)

Это была часть, которая стоила мне больше всего, так как в / var / log / syslog Pulseaudio он дал мне несколько ошибок .

Чтобы сделать это постоянным, вы должны отредактировать файл /etc/pulse/default.pa

И добавьте две строки в конец файла, как показано ниже. Не забудьте освоить свою раковину, а не мою:

# Загрузить модуль и переназначить
load-module module-remap-stream master = alsa_output.pci-0000_00_1f.5.analog-stereo имя_приемника = моно каналы = 2 карта_каналов = моно, моно
# Выберите новое сопоставление по умолчанию
установить-по умолчанию-раковина моно

Готовности к этому должно быть достаточно, чтобы Pulseaudio могла использовать монофонический аудиовыход вместо стерео. Перед любой проблемой не забудьте проверить журнал вашей системы, чтобы определить причину проблемы.

ПРИМЕЧАНИЕ: эти строки должны идти в конец файла, чтобы обеспечить загрузку модуля module-udev-detect (отвечающего за автоматическую загрузку необходимых драйверов) до его выполнения. В противном случае это приведет к ошибке, поскольку при указании Pulseaudio устройства, когда мы «переназначаем» его, оно не распознает его.

Содержание статьи соответствует нашим принципам редакционная этика. Чтобы сообщить об ошибке, нажмите здесь.

Полный путь к статье: Из Linux » ФайлДавайте использовать Linux » Pulseaudio: как переключиться на моно вместо стерео

Источник

Mono sound output in Ubuntu?

It will send you the name of the stereo output used. Then you type (replacing with the name you have found):

pacmd load-module module-remap-sink sink_name=mono master=THE_NAME_FROM_THE_PREVIOUS_COMMAND channels=2 channel_map=mono,mono 
pacmd load-module module-remap-sink sink_name=mono master=alsa_output.pci-0000_00_1e.2.analog-stereo channels=2 channel_map=mono,mono 

If you open the Sound Preferences you should now have a mono output available. To have that permanently:

gksudo gedit /etc/pulse/default.pa 
#Remapping output stereo to mono load-module module-remap-sink sink_name=mono master=THE_NAME_FROM_THE_PREVIOUS_COMMAND channels=2 channel_map=mono,mono 

enter image description here

(The image is from the sound settings of Elementary OS Luna).

How do you change the name of the new sink, to change the default name ‘Remapped Built-in Audio Analog Stereo’ in the System Settings — Sound GUI?

Warning to people using PulseAudio Multiband Equalizer: this fix successfully put my sound output to mono but the equalizer stopped working.

This was extremely helpful. I’d suggest getting rid of gksudo since it’s been removed from Ubuntu though.

Yet another solution. I like command line solution and used it very long time.

Читайте также:  Linux malware detect ubuntu

But I found good application: PulseEffects and there is a way to make mono with good GUI app.

Installation:

flatpak install com.github.wwmm.pulseeffects
if u don’t have flatpak yet (on ubuntu for example), you can install it

Configuration

enter image description here

Worked like a charm. My sound card doesn’t support mono despite dozens of variants of HD this and surround sound that. has no one else used broken headphones? The other features look great too.

It does support mono. Mono is just same signal on both channels. You can always make mono sound physically: just solder left and right channel (on Jack plug) together and you will get mono output.

Thanks for the definition. After trying with Pulse Audio and Gnome Alsa Mixer and looking through all the output options, I never found any option to output mono audio. And no, physically tampering with the hardware does not mean you’re producing a mono signal. (Nor is it «support» any more than replacing the hardware is.) Consider BT headphones, Chromecast/HDMI, remote streaming, etc. This came up recently where a (single) YT video was missing one channel (the capture messed up.) Software solutions always, always come before you mess with solder.

Agree. I mean, that mono si easy deal: just mathematically add 2 signals (left right) and you get mono

This answer is a mix of the two answers, witch are not generic (channels names «left» and «right» are defined by the soundcard vendor and can vary).

The global idea is to use module-remap-sink as suggested by other answers. We will replace [skinID], [left_channel_name] and [right_channel_name] by values found later:

pacmd load-module module-remap-sink sink_name=combined-mono master=[skinID] channels=4 master_channel_map=[right_channel_name],[left_channel_name],[right_channel_name],[left_channel_name] channel_map=[left_channel_name],[left_channel_name],[right_channel_name],[right_channel_name] 

This will create a double-mono sink output that we can set to be the default one (done below).

1 — find [skinID]

In my case, only one sink is present; corresponding to the only sound card available:

=> I can use either «0» or «alsa_output.pci-0000_00_1f.3.analog-stereo» for [skinID]

2 — find [left_channel_name] and [right_channel_name]

pacmd list-sinks | grep -m1 "channel map:" 
channel map: front-left,front-right 

So, for me [left_channel_name] = «front-left» and [right_channel_name]=»front-right»

3 — Apply changes

To make changes effective, I’ll to run (in my case)

pactl load-module module-remap-sink sink_name=combined-mono master=0 channels=4 master_channel_map=front-right,front-left,front-right,front-left channel_map=front-left,front-left,front-right,front-right pactl set-default-sink combined-mono 

=> the first command’s arguments are to adapt to each case ! Read the entiere post for details

4 (optional) — Make changes permanant

To keep this settings and have them applied each time the computer starts:

  • copy /etc/pulse/default.pa => ~/.pulse/default.pa (if not already done)
  • add the two commands to the end of file, without «pactl » at the beginning => in my case, this gives:
load-module module-remap-sink sink_name=combined-mono master=0 channels=4 master_channel_map=front-right,front-left,front-right,front-left channel_map=front-left,front-left,front-right,front-right set-default-sink combined-mono 

Источник

Оцените статью
Adblock
detector