Skip to content
GradedJestRisk edited this page Apr 10, 2020 · 25 revisions

Table of Contents

General

If you need audio editing, you need a:

  • real-time kernel;
  • using JACK instead of PulseAUdio.

ALSA

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.

overview here

General:

  • restart: sudo alsa force-reload

Pulse

General:

  • GUI is pavucontrol

Heatheck

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

Set device

From here

Input (source)

List:

  • get: pactl list short source
  • set default for current session (lost at reboot): pactl set-default-source'<SOURCE_NAME>'

Output (sink)

List:

  • get: pactl list short sinks
  • set default for current session (lost at reboot): pactl set-default-sink '<SINK_NAME>'

default

Steps:

  • get input/output number using
    • pactl list short sinks
    • pactl list short sources
  • edit system pulse confsudo 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

Modules

General:

  • list modules: pactl list short modules
  • load module: pactl load-module <MODULE_NAME>
  • unload module: pactl unload-module <MODULE_NAME>
Modules:
  • loopback (hear your voice>: pactl load-module module-loopback latency_msec=1
Clone this wiki locally