Systemd - As a user
Stop:
Code: Select all
systemctl --user stop pulseaudio.socket && systemctl --user stop pulseaudio.service
Code: Select all
systemctl stop --user pulseaudio && systemctl disable --user pulseaudio
Code: Select all
systemctl --user start pulseaudio.socket && systemctl --user start pulseaudio.service
Code: Select all
systemctl start --user pulseaudio && systemctl enable --user pulseaudio
- As a user, not as root, copy the "client.conf" into your home directory:
Code: Select all
cp /etc/pulse/client.conf ~/.config/pulse/client.conf
- Change the entry in "~/.config/pulse/client.conf" from
to
Code: Select all
; autospawn = yes
"no". The ";" out!Code: Select all
autospawn = no
==>Code: Select all
echo "autospawn = no" >> ~/.config/pulse/client.conf
pacmd - Reconfigure a PulseAudio sound server during runtime https://linux.die.net/man/1/pacmd
Code: Select all
apt-get install pulseaudio-utils
Code: Select all
pacmd suspend true
==> Route Pulseaudio to jack <==
https://github.com/brummer10/pajackconnect
qjackctl
Setup >> Options > [X] Run script after startup:
Code: Select all
/usr/bin/pajackconnect start
Code: Select all
/usr/bin/pajackconnect stop &
Code: Select all
/usr/bin/pajackconnect reset &
or
- there are several possibilities:
- PulseAudio through JACK https://wiki.archlinux.org/index.php/Pu ... rough_JACK
- How use PulseAudio and JACK? >> http://jackaudio.org/faq/pulseaudio_and_jack.html
- WalkThrough_User_PulseOnJack >> https://github.com/jackaudio/jackaudio. ... ulseOnJack
- Using Qjackctl with jackd and pulseaudio >> viewtopic.php?p=58043#p58043
- pulseaudio_and_jack >> http://marzen.de/Holger/pulseaudio_and_jack/
- KXStudio : Applications : Cadence >> https://kx.studio/Applications:Cadence
- ... <== #)
####
(Then:
# (https://linuxaudio.github.io/libremusic ... -jack.html; https://web.archive.org/web/20200811001 ... -jack.html;
https://github.com/jackaudio/jackaudio. ... -and-jack2, https://github.com/jackaudio/jackaudio.github.com/wiki
# http://bandshed.net/pdf/ AVL2018UserManual.pdf >> AUDIO & MIDI IN AV LINUX)
(https://linux.die.net/man/1/jackd, https://manpages.debian.org/buster/jackd2/, https://man.archlinux.org/man/a2jmidid.1.en, https://www.freedesktop.org/wiki/Softwa ... itymodules, #https://wiki.debian.org/PipeWire#For_JACK
==> Install "a2jmidid" https://github.com/jackaudio/a2jmidid and "pulseaudio-module-jack" https://www.freedesktop.org/wiki/Softwa ... itymodules.
In qjackctl Setup:
Jack with a2jmidid and pulseaudio:
- Setup >> Settings > Parameters > MIDI Drivers "seq" or "none"
- Setup >> Settings > Advanced > "Server Prefix" select "jackd" https://github.com/jackaudio/jack2/blob/master/README)
- Setup >> Settings > Advanced > [X] Soft Mode
- Setup >> Settings > Advanced > (RT) Priority (0 - 98)
- Setup >> Options > [X] Run script after startup: "pacmd load-module module-jack-source channels=2 && pacmd load-module module-jack-sink channels=2 && sleep 5 && a2j -e -u &" (a2j enables dbus) or "sleep 5 && a2jmidid -e -u &" (without dbus)
- Setup >> Options > [X] Execute script on Shutdown: "pulseaudio --kill"
- Setup >> Options > [X] Execute script after Shutdown: "killall jackd"
- Setup >> Misc > [X] Provide support for ALSA sequencer
Optional:
- Setup >> Settings > Advanced > [X] H/W Monitor
- Setup >> Settings > Advanced > [X] H/W Meter
Jack without pulseaudio:
- Setup >> Options > [X] Execute script at startup: "systemctl --user stop pulseaudio.socket && systemctl --user stop pulseaudio.service"
- Setup >> Options > [X] Run script after shutdown: "killall -9 jackd && systemctl --user start pulseaudio.socket && systemctl --user start pulseaudio.service")