lk/sound/basics.md

76 lines
971 B
Markdown
Raw Normal View History

2022-01-16 18:20:39 +00:00
---
2023-04-04 22:09:29 +00:00
title: "Basic Sound"
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
```bash
pactl set sink @DEFAULT_SINK@ +5%
```
2020-01-02 00:04:35 +00:00
Find working outputs:
```bash
aplay -l
```
2020-01-02 00:04:35 +00:00
#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
```bash
amixer set Master 5%-
```
2020-01-02 00:04:35 +00:00
# Restart everything
pulseaudio -k && sudo alsa force-reload
2020-03-31 02:22:59 +00:00
# Alsa
Toggle, mute, increase or decrase audio:
```bash
amixer sset Master toggle
```
2020-03-31 02:22:59 +00:00
```bash
amixer sset Master mute
```
2020-03-31 02:22:59 +00:00
```bash
amixer sset Master 5%+
```
2020-03-31 02:22:59 +00:00
```bash
amixer sset Master 5%-
```
2020-03-31 02:22:59 +00:00
2021-04-30 21:36:56 +00:00
# Finicky Sound Cards
Start with:
```bash
alsamixer
```
2021-04-30 21:36:56 +00:00
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
```bash
amixer -c PinePhone set 'Headphone' 50%
```
2020-03-31 02:22:59 +00:00