# How to record and play audio in Ubuntu's terminal

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.

Powered by Buttondown.

Last Updated: 11/20/2023, 10:04:51 AM