# How to record and play audio in Ubuntu's terminal
Wed Jan 06 2021
Today I learned how to record and play audio using
arecord
(opens new window)
and aplay
(opens new window)
via this blog
post (opens new window)
when I was trying to test my microphone.
You probably don't need to install anything extra if you're running Ubuntu to run these commands.
To record audio, run arecord <filename>
. Press Ctrl-C
to stop the
recording. To play back the audio, run aplay <filename>
.
Newsletter
If you'd like to subscribe to my blog, please enter your details below. You can unsubscribe at any time.