- Настройка качества звука в Linux Mint 19.3 через Pulseaudio.
- Стандартные значения.
- Редактирование значений.
- Улучшение звука.
- Параметр resample-method.
- Параметр default-sample-format .
- 2 отзыва к статье “Настройка качества звука в Linux Mint 19.3 через Pulseaudio.”
- Как установить pulseaudio в Ubuntu / Debian
- Установка:
- Подробная информация о пакете:
- Зависимости:
- How to Install and Use PulseAudio-Equalizer on Linux Mint 20
- Installing PulseAudio on Linux Mint 20 from the standard repositories
- Installing PulseAudio-Equalizer on Linux Mint 20 from the PPA repository
- Step 1: Add PulseAudio PPA repository
- Step 2: Update apt-cache
- Step 3: Install PulseAudio
- Getting started and configuring the PulseAudio-Equalizer
- How to remove PulseAudio-Equalizer
- Conclusion
- About the author
- Kamran Sattar Awaisi
- Pulseaudio linux mint ���������
- Pulseaudio linux mint ���������
Настройка качества звука в Linux Mint 19.3 через Pulseaudio.
В Linux Mint по умолчанию для Pulseaudio установлен режим производительности, который является режимом низкого качества звука с минимальными накладными расходами для процессора. В обычном случае это работает хорошо и не создаёт никаких проблем, но если целью является получить наилучший звук, который способно выдать имеющееся оборудование, то для такого стандартные настройки не годятся.
Стандартные значения.
Настройка Pulseaudio производится через простой конфигурационный файл:
Вывести список параметров и их значения в терминал:
Значения по умолчанию в Linux Mint 19.3:
Редактирование значений.
Редактировать этот конфигурационный файл можно любым текстовым редактором с правами суперпользователя. Рекомендую nano.
Текстовые комментарии закомментированы знаком #
Перечисленные в файле параметры закомментированы знаком ;
Чтобы изменить значение параметра, его нужно раскомментировать, убрав ;
Чтобы изменённые параметры вступили в силу, нужно применить конфигурацию Pulseaudio:
Альтернативный метод через уничтожение процесса и его запуск:
pulseaudio —kill && pulseaudio —start
Может быть достаточно просто pulseaudio —kill и дальше демон (сервис) запустится автоматически.
Улучшение звука.
Основными параметрами, влияющими на качество звучания, являются resample-method и default-sample-format.
Вывести поддерживаемые оборудованием значения параметров:
aplay —device hw /dev/urandom —dump-hw-params
Параметр resample-method.
У resample-method значение по умолчанию auto, что, скорее всего, означает resample-method = speex-float-1, то есть высокая производительность, но низкое качество. Поэтому оптимальнее выбрать конкретный метод. Так же это может помочь решить проблему с «хрипами».
resample-method = speex-float-n — это компромиссный высокопроизводительный метод, где n означает целое число от 1 до 9. Чем выше значение, тем лучше качество звучание, но выше накладные расходы для производительности. В качестве компромиссного варианта рекомендуется значение в диапазоне от 5 до 7. Для максимального качества значение 9.
resample-method = src-sinc-n-quality — [устаревший параметр] — метод предназначенный для звука высокого качества, где n означает best, medium и fastest варианты. Метод создаёт значительную нагрузку на процессор.
resample-method = soxr-n — [актуальный параметр] — метод предназначенный для звука высокого качества, является заменой rc-sinc. Здесь n означает mq, hq и vhq. Метод создаёт значительную нагрузку на процессор.
resample-method = copy — самое высокое качество, но при высокой нагрузке на процессор.
Примечание: При загрузке процессора, близкой к 100%, на высоком уровне качества может появляться «треск».
Параметр default-sample-format .
Значение по умолчанию s16le, что является качеством ниже среднего, но с низкой нагрузкой на процессор.
Для высокого качества, нужно указать следующее значение:
После завершения редактирования конфигурационного файла с сохранением изменений необходимо применить новые значения для параметров:
После выполнения команды изменения тут же вступят в силу. Теперь можно наслаждаться высококачественным звучанием.
2 отзыва к статье “Настройка качества звука в Linux Mint 19.3 через Pulseaudio.”
Непонятно почему, но при speex-float-8 у меня pulseaudio жрет 6% цп, а при copy и soxr-vhq только 1
Для speex-float рекомендованы значения до 7 включительно. Если нужно самое высокое качество, то оптимальнее использовать copy.
Источник
Как установить pulseaudio в Ubuntu / Debian
Установка:
Для установки pulseaudio в Ubuntu / Linux Mint / Debian, введите в Терминал :
Подробная информация о пакете:
Звуковой сервер PulseAudio
Зависимости:
Добавлять и удалять пользователей и группы
Changehat Библиотека AppArmor
Общая библиотека для приложений ALSA
Дополнительные модули библиотеки ALSA
Библиотека GNU C: общие библиотеки
Возможности POSIX 1003.1e (библиотека)
Простая межпроцессная система обмена сообщениями (библиотека)
Библиотека поддержки GCC
Библиотека межконтентной библиотеки X11
Независимая от системы dlopen-обертка для GNU libtool
Библиотека оптимизированных внутренних циклов Компилятор времени выполнения
Клиентские библиотеки PulseAudio
Библиотека управления сеансом X11
Библиотека для чтения / записи аудиофайлов
Расширенная библиотека времени исполнения Speex
Стандартная библиотека GNU GNU v3
Системная библиотека systemd
Тривиальная база данных — общая библиотека
Модуль AudioProcessing из проекта WebRTC.
X11 клиентская библиотека
Библиотека интерфейса Xlib/XCB
X11 Testing — библиотека расширений записи
Функциональность базового сценария Linux Standard Base
Средства командной строки для звукового сервера PulseAudio
Источник
How to Install and Use PulseAudio-Equalizer on Linux Mint 20
The PulseAudio is an open-source volume control and audio effects tool. It allows us to control and tune the audio settings. The PulseAudio Equalizer has a multi-band interface. Therefore, you can easily adjust the slider when the audio is playing.
As PulseAudio is a popular open-source tool, it is included in Linux Mint 20 standard repositories installed from there. Moreover, it can also be installed on Linux Mint 20 from the external PPA repository.
This post explains the installation of PulseAudio-Equalizer on Linux Mint.
Installing PulseAudio on Linux Mint 20 from the standard repositories
Open the terminal window, and first, update the apt listing with the command:
Type the below-given command to install PulseAudio on Linux Mint 20 from the standard repositories:
Press ‘y’ to continue installing PulseAudio.
Once the PulseAudio is installed, verify the installation with the command:
The Pulseaudio 13.99.1 is successfully installed on my Linux Mint 20.
The PulseAudio offers many extra modules included in Linux Mint 20 standard repositories and can be installed easily with apt command.
Installing PulseAudio-Equalizer on Linux Mint 20 from the PPA repository
The PPA repositories are created and maintained by the developers. Fire up the terminal and perform the following steps to install PulseAudio from the PPA repository:
Step 1: Add PulseAudio PPA repository
First, add the PulseAudio PPA repository using the command:
The PulseAudio PPA repository will be added successfully.
Step 2: Update apt-cache
Once the PPA repository is added successfully, update the apt cache with the command:
Step 3: Install PulseAudio
Next, install the PulseAudio with the command:
Press ‘y’ to continue installing PulseAudio.
Getting started and configuring the PulseAudio-Equalizer
Once you have installed PulseAudio using any recommended method, open the PulseAudio tool with the command:
While opening the PulseAudio tool, you may encounter the error stating that some modules are missing. In this case, open the PulseAudio’s configuration file with the command:
Add the below-given lines at the bottom of the/etc/pulse/default.pa file.
Save the file and exit the nano editor by pressing ctrl+x.
Next, kill the PulseAudio service and restart it:
Now, open the PulseAudio with the command:
The PulseAudio-Equalizer is ready for use.
How to remove PulseAudio-Equalizer
At any point, if you wish to remove PulseAudio from Linux Mint 20, then type the below-given command to do so:
Press ‘y’ to continue removing PulseAudio Equalizer.
The PulseAudio Equalizer will be removed successfully.
Conclusion
PulseAudio Equalizer is a free and open-source tool for volume control. It is part of Linux Mint 20 standard repositories and can be installed with apt command. Moreover, it is also available from an external PPA repository. This article shows the PulseAudio Equalizer installation on Linux Mint 20 system from the standard and PPA repositories.
About the author
Kamran Sattar Awaisi
I am a software engineer and a research scholar. I like to write article and make tutorial on various IT topics including Python, Cloud Computing, Fog Computing and Deep Learning. I love to use Linux based operating systems.
Источник
Pulseaudio linux mint ���������
15 дек 2018, 09:01
Здравствуйте!
Linux использую в качестве домашней ОС. Давно.
Но, никак не могу найти хоть какую-то понятную простому «юзверю» инструкцию по настройке звука.
На моей Linux Mint, начиная с той версии, которую я установил первоначально (17-я помоему) из обновления в обновление сохраняется один и тот-же эффект со звуком.
Когда в браузере FireFox, к примеру с Яндекс.музыка играет музычка, а я, к примеру, во второй вкладке открываю Яндекс.Переводчик, то звук ломается. Начинает хрипеть, трещать и т.д.
Открываю Микшер, переключаю тип выхода (к примеру, с «Аналоговый объемный 2.1 выход», на «Аналоговый объемный 5.1 выход»), треск и шипение исчезают, но не надолго.
Помогает только перезапуск FireFox.
Однако, такая картина может наблюдаться и при совместном запуске и других приложений.
Пожалуйста, подскажите.
Как с этим бороться?
# default settings: daemonize = no
daemonize = yes
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no
;high-priority = yes
; nice-level = -11
;realtime-scheduling = yes
; realtime-priority = 5
# default settings: exit-idle-time = 20
exit-idle-time = 99999999
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa
; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0
# default settings: resample-method = speex-float-1
resample-method = copy
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; enable-lfe-remixing = no
; lfe-crossover-freq = 0
; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000
# default settings: default-sample-format = s16le
default-sample-format = float32le
# default settings: default-sample-rate = 44100
default-sample-rate = 96000
# default settings: alternate-sample-rate = 48000
alternate-sample-rate = 192000
; default-sample-channels = 2
; default-channel-map = front-left,front-right
; default-fragments = 4
; default-fragment-size-msec = 25
; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0
$ pulseaudio —kill
hitkliv@Home-PC
Другим решением является установка emerald версии 0.9.5 через PPA :
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install emerald
Что еще можно поковырять?
Ну, кроме в носу конечно-же. Там я уже ковырял.
Источник
Pulseaudio linux mint ���������
PulseAudio, previously known as Polypaudio, is a sound server for POSIX and WIN32 systems. It is a drop in replacement for the ESD sound server with much better latency, mixing/re-sampling quality and overall architecture.
These are some of PulseAudio’s features:
* High quality software mixing of multiple audio streams with support for
more than one sink/source. May be used to combine multiple sound cards
into one (with sample rate adjustment).
* Wide range of supported client libraries. ESD, ALSA, oss, libao and
GStreamer client applications are supported as-is. Native PulseAudio
plug-ins are also available for xmms and mplayer.
* Good low latency behaviour and very accurate latency measurement for
playback and recording. Ability to fully synchronize multiple playback
streams.
* Network transparency, allowing an application to play back or record
audio on a different machine than the one it is running on.
* Extensible plug-in architecture with plug-ins for jackd, multicast-rtp
lirc and avahi, just to name a few.
This package contains the daemon and basic module set.
Latest reviews
MINT 19.3: While not perfect, I’ve come to configure it so it work flawlessly for medias thru browser, VLC, recording mic, piano wav, piano midi, loopback to sing, etc.
Unusual to see pulseaudio consuming less than 20% cpu even when there is nothing active on the computer.
Coming back to Linux after 5 years or so and I can see that PulseAudio is still the number one cause of issues for me. Mumble is eating up CPU like crazy with it, VLC has no audio today, the default player has no audio either.
Pulseaudio 8.0 Compiled with lib 6.0 — very nice system for LINUX . I am very fond of its development. I use combine sink to 2 sound card in the whole OS
Bug régulièrement. Depuis que je suis retourné a alsamixer, plus de problème.
Lots of features (I like features), but audio crashes and/or it delivers white noise instead of mic input at random intervals. But when (and as long) as it works, it does a good job of delivering low latency audio. Doesn’t seem like a 100% mature package though. Note: Take care that you install modules that match your version of Mint (MATE contra Cinnamon), or else you could be installing yourself into a cesspool of trouble.
i removed pulseAUdio and it fixed all my sound problems
It just bugs out way too often, requiring a reinstall. It surprises me something that buggy was allowed in a final version of any OS.
It works perfectly: vlc, youtube, even some older games running under wine.
This is the reason why multimedia in Linux is not as good as it should be. This thing is still as buggy as hell after several years, and nobody has bothered to fix it.
PA speeds my audio up system-wide every few minutes, making me go into the terminal and kill it CONSTANTLY. It’s been this way for years on multiple machines, so it’s not like it’s a new bug. The only reason this thing is in use is because nobody wants to write an alternative.
Pulseaudio crashed everytime I paused when watching youtube, regardless of the web browser. I have to replace it with gnome alsa mixer. the worse is that you have to restart your laptop everytime pulseaudio crashed! restarting in linux. cmon.
Its cool if you wanna watch the video without music. :PPP
Loathe it or ignore it. You can’t like it.
Uninstalling this solved the problem with VLC losing sound after pausing.
Источник