-
Notifications
You must be signed in to change notification settings - Fork 0
Audio
GradedJestRisk edited this page Apr 10, 2020
·
25 revisions
If you need audio editing, you need a:
- real-time kernel;
- using JACK instead of PulseAUdio.
ALSA: Advanced Linux Sound Architecture, API for sound card device drivers The sound servers PulseAudio work on top of ALSA and implements sound card device drivers.
General:
- restart:
sudo alsa force-reload
General:
- GUI is pavucontrol
General:
- check if running:
pulseaudio --check
- stop pulse:
pulseaudio -k | --kill
- show logs:
pulseaudio -v | --verbose
- start as service:
systemctl --user restart pulseaudio.service
- start (?):
pulseaudio -D | --daemon
- if problem persists, restarts ALSA
From here
List:
- get:
pactl list short source
- set default for current session (lost at reboot):
pactl set-default-source'<SOURCE_NAME>'
List:
- get:
pactl list short sinks
- set default for current session (lost at reboot):
pactl set-default-sink '<SINK_NAME>'
Steps:
- get input/output number using
pactl list short sinks
pactl list short sources
- edit system pulse conf
sudo vi /etc/pulse/default.pa
- uncomment the following lines
### Make some devices default #set-default-sink output #set-default-source input
- replace output/input by their values
### Make some devices default set-default-sink 1 set-default-source 2
- delete user pulse config
rm -rf ~/.config/pulse
- reboot
General:
- list modules:
pactl list short modules
- load module:
pactl load-module <MODULE_NAME>
- unload module:
pactl unload-module <MODULE_NAME>
- loopback (hear your voice>:
pactl load-module module-loopback latency_msec=1