Show pagesourceBack to top Share via Share via... Twitter LinkedIn Telegram Yammer RedditRecent ChangesSend via e-MailPrintPermalink × Table of Contents Music server PulseAudio Pipewire Commands ALSA Commands Scripts Troubleshooting suddenly no sound with USB sound card bad audio quality / crackling / lag Linux Sound i3-volume – script to change volume and display OSD. Music server Mopidy: Mopify (Spotify für Mopidy, Webinterface) PulseAudio NoiseTorch – virtual microphone that suppresses noise Pipewire Next generation sound server, meant to succeed PulseAudio's janky architecture. PulseEffects – Effects GUI for Pipewire, older versions support PulseAudio as well. Helvum – GTK-based patchbay for pipewire, inspired by the JACK tool catia. qpwgraph – graph manager for PipeWire, very similar to QjackCtl. pw-viz – visualise Pipewire inputs/outputs/routing. Commands # toggle mute mode pactl set-sink-mute 0 toggle # increase volume of default sink (=sound target) in 1% steps # warning: can exceed 100%. pactl set-sink-volume @DEFAULT_SINK@ +1% ALSA Commands # lower volume and unmute amixer set Master 5%- unmute # raise volume and unmute amixer set Master 5%+ unmute Scripts automute.sh #!/bin/sh # check auto-mute state amixer -c 1 sget "Auto-Mute Mode" | grep "Item0: 'Disabled'" # $? is 0 if auto-mute is disabled # $? is 1 if auto-mute is enabled if [ "$?" -eq "0" ]; then amixer -c 1 sset "Auto-Mute Mode" Enabled else amixer -c 1 sset "Auto-Mute Mode" Disabled fi Troubleshooting suddenly no sound with USB sound card $ alsamixer cannot open mixer: No such file or directory /etc/modprobe.d/alsa-base.conf # Keep snd-usb-audio from beeing loaded as first soundcard options snd-usb-audio index=-2 -2 → 0 bad audio quality / crackling / lag audiophile settings for pulseaudio ~/.config/pulse/daemon.conf resample-method = soxr-mq flat-volumes = no default-sample-format = s24le default-sample-rate = 96000 Last modified: 2023-01-28 20:33