Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Linux CLI Audio Cheatsheet

Related Posts

Manage Volume

Increase Volume

amixer -D pulse sset Master 2%+

Decrease Volume

amixer -D pulse sset Master 2%-

Set Specific Volume

Set volume to a specific amount:

amixer -D pulse sset Master 50%

Manage Microphone

Listen To Microphone

If you want to hear what your microphone sounds like, then do the following:

arecord -f cd - | aplay -

Listen To Microphone And Record

If you wish to record the microphone whilst listening to it, do the following:

arecord -f cd - | tee output.wav | aplay -

References

Last updated: 21st February 2022
First published: 21st February 2022