Converting .ogg to .mp3

I had a dilemma where I left my voice recorder at my office while going to teach in another building.  I had to improvise.

With the use of a standard microphone-in port and the boom mic plugged into that port, I knew I could record voice.  Further, after I downloaded <a href=”http://audacity.sourceforge.net/”>Audacity</a&gt;.  Audacity took microphone input flawlessly and recorded at a frequency of 44100Hz and a rate of 16 kbs.  Audacity will also save to .ogg (and it did!).

From there, I followed advice from the link <a href=”http://liquidat.wordpress.com/2007/12/03/short-tip-convert-ogg-file-to-mp3/”>http://liquidat.wordpress.com/2007/12/03/short-tip-convert-ogg-file-to-mp3/</a&gt; and used a simplified version of the oggdecode command.  I simply used

oggdecode myfile.ogg

The oggdecode command exports to a .wav format natively.  i was then able to use the command

lame –preset phone myfile.wav newfilename.mp3

Now, I have exactly the file I wanted–smaller than both the original .ogg-file and the .wav-file.

Enjoy!

Converting Ogg to MP3

Introduction

I had a dilemma where I left my voice recorder at my office while going to teach in another building.  I had to improvise.  What was I going to do?

Converting Ogg to MP3

With the use of a standard microphone-in port on a desktop computer and, with the boom mic plugged into that port, I knew I could record voice.  Further, afterwards, I downloaded Audacity.  Audacity took microphone input flawlessly and recorded at a frequency of 44100Hz and a rate of 16 kbs.  Audacity will also save to .ogg (and it did!).

Once back in the office on my Linux computer, I followed advice from the link http://liquidat.wordpress.com/2007/12/03/short-tip-convert-ogg-file-to-mp3/ and used a simplified version of the oggdecode command.  I simply used

oggdecode myfile.ogg

The oggdecode command exports to a .wav format natively.  I was then able to use the command

lame --preset phone myfile.wav newfilename.mp3

Now, I have exactly the file I wanted–smaller than both the original .ogg-file and the .wav-file.

Conclusion

Why did I go through all of this trouble?  I did it so I could upload podcasts for my students to the course LMS.  I was very glad that I learned to do this.

If you have any questions or comments, leave them below!

 

Convert RCA .VOC files to .WAV

After recording audio with an RCA recorder (which I couldn’t mount in Linux, btw), I moved audio form my WinXP partition to my /home space. At

http://thismightbehelpful.blogspot.com/2008/07/how-to-convert-voc-files-and-how-to-run.html

there is a piece of code to convert these files to .wav format. I can then use

lame filename.wav filename.mp3

and have no problems listening.