Skip to content

Audio System

madkoding edited this page Mar 5, 2026 · 1 revision

Audio System

madOS includes a high-quality audio system powered by PipeWire with automatic hardware detection and optimization.

Architecture

PipeWire

Modern multimedia server replacing PulseAudio:

  • Low latency audio
  • Bluetooth support
  • Flat volume mode
  • Power management

WirePlumber

Session manager for PipeWire:

  • Device management
  • Policy enforcement
  • Media session control

Auto-Detection

madOS automatically detects audio hardware capabilities:

mados-audio-quality

Features:

  • Sample Rate: Up to 192kHz/32-bit (based on hardware)
  • Resampling: Quality level 10 (maximum)
  • Buffer Sizes: Optimized for your specific hardware

Applications

pavucontrol

PulseAudio volume control (works with PipeWire)

  • Device selection
  • Volume control
  • Configuration profiles

madOS Equalizer

8-band parametric equalizer:

mados-equalizer
  • Preset management
  • Custom frequency bands
  • Real-time adjustment

Commands

Check Audio Status

wpctl status        # Show all devices
wpctl get-volume @DEFAULT_AUDIO_SINK@  # Get default volume

Volume Control

wpctl set-volume @DEFAULT_AUDIO_SINK@ 80%  # Set volume
wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle  # Mute/unmute

List Devices

pactl list sinks short     # Output devices
pactl list sources short  # Input devices

Troubleshooting

No Sound

# Restart PipeWire
systemctl --user restart pipewire wireplumber

# Check default sink
wpctl status

# Set default sink
wpctl set-default-sink <sink-name>

Audio Quality Issues

# Run audio quality detection
mados-audio-quality

Supported Formats

  • Playback: All formats supported by GStreamer
  • Sample Rates: 44.1kHz, 48kHz, 88.2kHz, 96kHz, 176.4kHz, 192kHz
  • Bit Depths: 16-bit, 24-bit, 32-bit

Clone this wiki locally