Created
November 10, 2024 14:08
-
-
Save steevhise/ba930f81e346ffa5d5f97021bae46339 to your computer and use it in GitHub Desktop.
saving how to deal with sound devices on CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get the list of audio devices | |
pactl list | |
pactl set-defaut-sink <device name> # set the output device | |
pactl list sources|sinks # list the outputs or inputs | |
pactl load-sample <sound file> | |
pactl list-samples # get list of loaded sound samples | |
pactl play-sample <sample name> | |
# pipe from input to output | |
arecord | aplay | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment