Interested in advertising on Intense Cogitation? Check out our advertising policy!
lanterna
   
 
Advertisement
  1. Make sure you’ve enabled recording from Capture in Volume Control/GNOME ALSA Mixer.
  2. Install lame , a MP3 encoder by entering sudo apt-get install lame in Terminal.
  3. When you are ready to record, paste arecord -f cd -t raw | lame -x – test.mp3 in Terminal and press Enter. It should save a file called test.mp3 in your current directory in Terminal.
  4. If you want to stop recording, kill the arecord process by typing killall arecord in Terminal and press Enter.
  5. If you did all this correctly and enabled Capture for recording, you should get a lovely MP3 file.
  6. If necessary, edit the MP3 file in Audacity to set the volume to the right level and cut out unnecessary data. Install audacity by entering sudo apt-get install audacity in Terminal.

Hopefully it worked for you! If it didn’t, leave a comment and I shall try to assist you. :)

If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
  1. Disable IPv6 in Ubuntu/Debian (and speed up your Internet connection?)
  2. Solutions to Debian/Ubuntu error: NB: root’s PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
  3. Get Crontab Output via Email in Ubuntu/Debian
  4. Getting a List of Installed Packages in Ubuntu/Debian
  5. Installing Fonts in Ubuntu/Debian

  2 Responses to “Record Audio via Terminal in Ubuntu/Debian”

  1. Its showing an error!
    $ arecord -f cd -t raw | lame -x – test.mp3
    Recording raw data ‘stdin’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
    Warning: unsupported audio format

    Please help

     
  2. Hey Dhruv,

    Is lame installed? Make sure the dash after lame -x is just a regular dash (in case WordPress autoformatted it or something)

     

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   

About Us

Intense Cogitation is an IB student blog designed by IB survivors for current IB students. :) We have a multitude of resources available for you, such as IB articles on topics from IB marks to all-nighters. We also have numerous samples of internal assessments for observation purposes.

Our current writers are Brian, Billy, Taras and Sarah-Jane.

Protip: Clicking on the image of the house at the top of the page to go back to the home page!

Subscribe to New Posts!

Please enter your email address below to subscribe to our latest updates:

Powered by Feedburner