lk/sound/sound_basics.md

58 lines
876 B
Markdown
Raw Normal View History

2022-01-16 18:20:39 +00:00
---
title: "basics"
2022-01-26 22:35:07 +00:00
tags: [ "Documentation", "Sound" ]
2022-01-16 18:20:39 +00:00
---
2020-03-31 02:22:59 +00:00
# Pulse
2022-01-26 22:35:07 +00:00
2020-03-31 02:22:59 +00:00
If you have pulse, use pulse.
Check with `which pulseaudio`. No output means you need to use alsa (below).
2020-01-02 00:04:35 +00:00
# Volume Control
> pactl set sink @DEFAULT_SINK@ +5%
Find working outputs:
> aplay -l
#Sound Settings
Surround.5 seems best.
2022-01-26 22:35:07 +00:00
# Find what Sound settings exist
2020-01-02 00:04:35 +00:00
amixer scontrols
2022-01-26 22:35:07 +00:00
# Change a Sound setting
2020-01-02 00:04:35 +00:00
> amixer set Master 5%-
# Restart everything
pulseaudio -k && sudo alsa force-reload
2020-03-31 02:22:59 +00:00
# Alsa
Toggle, mute, increase or decrase audio:
> amixer sset Master toggle
> amixer sset Master mute
> amixer sset Master 5%+
> amixer sset Master 5%-
2021-04-30 21:36:56 +00:00
# Finicky Sound Cards
Start with:
> alsamixer
2022-01-26 22:35:07 +00:00
Then press `F6` to see available Sound cards.
If you find a Sound card called 'PinePhone', then you can select an audio source there, and adjust with:
2021-04-30 21:36:56 +00:00
> amixer -c PinePhone set 'Headphone' 50%
2020-03-31 02:22:59 +00:00