1 [[!meta title="mkogg"]]
3 I keep my music organized by Genre→Artist→Album→Song and try to keep
4 as much as possible in [FLAC][] format. When it comes time to wedge
5 this music onto a smaller device, I want to recode the music in [Ogg
6 Vorbis][ogg]. [SoX][] is a useful tool for converting between all
7 sorts of audio formats, but I wanted the ability to excercise a bit
8 more control over maintaning metadata (e.g. via [mutagen][]). To this
9 end, I've put together a little [[Python]] script, [[mkogg.py]], which
10 mirrors a source directory of mixed-format music as Ogg-encoded files
11 (or other formats via `--target-extension`) in a target directory.
13 You can use the [[cdrtools]] to burn CDs with your recoded music.
15 [FLAC]: http://flac.sourceforge.net/
16 [ogg]: http://www.vorbis.com/
17 [SoX]: http://sox.sourceforge.net/
18 [mutagen]: http://code.google.com/p/mutagen/