Join Files Using Linux Sox

I was recording audio on Audacity the other day when Windows crashed unexpectedly. I never had a chance to save the recording. When Windows rebooted, the audio recording were all there, but they were all broken up in smaller files. As it turned out, they were over 100 .au files under the unsaved Audacity folder. The question is how do you piece the files together.

There’s a Linux sound utility called “SoX” that┬áruns across multiple platforms, Windows, Linux, MacOS X, that converts various formats of computer audio files into other formats. SoX can play and record audio files as well. To recover the unsaved Audacity recording, I went to the Audacity folder and executed the following statement from the command line.

sox *.au combined.au

Essentially, the sox command you see above concatenates multiple files into one big file called combined.au. After that, I created a new Audacity project and imported the combined big file into the new project. I then saved the new project. Once saved, I can then export the project to a MP3 format.

If you ever need to recover from a crashed Audacity project, you can use the sox command to recover a project.

7 Cool Linux Projects

If you are running out of things to do in Linux, (is that possible?) take a look at several Linux projects from TuxRadar. You can host a photo album through Soph, build a media server, make music with Rosegarden, write interactive fiction with Gnome Inform, access remote desktops with VNC, record a podcast with Audacity, animate graphics with Gimp. 7 Cool Linux Projects.

Record Audio From Your Computer Speakers

Are you looking for ways on how to record an audio of a streaming site, an online radio, a Youtube video or any music that is coming from an iPod attached to your computer whether it’s actually yours or your friend’s iPod? Well, you’ll need two things to record the audio: Audacity software and a 1/8 stereo jack.

First, the software. Audacity is available for Windows, Mac and Linux. Audacity is available from your standard Ubuntu repository. You can download it using the command-line: “sudo apt-get install audacity.”

Second, chances are you already have a 1/8 stereo jack. If not, you can pick up one at Radio Shack for a few measly dollars. Here’s the trick. Create a loopback connector by plugging in the output of your computer speaker to the microphone input of your computer.

Audacity will record anything that is coming from the microphone input. Play your source: whether it’s a Youtube video, online streaming, online radio, etc. Next, just click the record button and off you go. When you are done, you can save the audio in several formats: mp3, wav, ogg vorbis, aiff, au, or aup – the audacity project format. Once you have the recording, you can do anything with it.

Happy recording!

Audacity

Audacity is a free software for editing and recording sound. The software is available for the Mac OS, Microsoft Windows and in GNU/Linux operating systems. The latest software release is 1.3.5 Beta. There is a more stable version available in version 1.2.6. Audacity main features are its ability to:

  • Record live audio.
  • Convert tapes and records into digital recordings or CDs.
  • Edit Ogg Vorbis, MP3, WAV or AIFF sound files.
  • Cut, copy, splice or mix sounds together.
  • Change the speed or pitch of a recording.
  • And more! See the complete list of features.

Did I mention it is FREE. Audacity is developed by a group of volunteers and distributed under the GNU General Public License (GPL).

I have been using Audacity in my little radio show for my Yahoo Fantasy Football League. Here’s a sample of last year’s Week 11 show. I’m using a WordPress Audio Player plugin to play this recording.

Screenshot:

Give Audacity a try!