april 29, 1992

Monday, Nov 29. 2004  –  Category: Musings

i’m humming along at work to Sublime…. what an awesome group. they manage to hit some pretty hard-hitting topics in some pretty funky tunes. Date Rape is both a hilarious, and serious song. anyway, right now, my favourite Sublime tune is probably April 29, 1992 - a song about the LA riots that happened after the Rodney King beatings.

it pushed me to go onto Google and read some more info about it…found a great article published by the Los Angeles Times and hosted at LAFire. it gives a really good breakdown of the timeline of the events that happened during one of America’s craziest riots (in modern history, anyway).

converting m4a to mp3

Monday, Nov 29. 2004  –  Category: Code

ripped a bunch of CDs on Wendy’s laptop with iTunes, which saved them in m4a format. i see gStreamer supports the m4a format, but i’d rather have it in mp3 just for uniformity.

i know i know, “you should just switch to ogg”

anyway:

perl -e ‘foreach $file (ls *.m4a) { chomp $file; $newfile = $file; $newfile =~ s/.m4a/.mp3/; faad -w "$file" | lame -b 192 - "$newfile"; }’

i know this could be written as a much shorter shell script, but i know perl better than shell scripting, and this works under my linux system - so i’ll stick with it.


Recent posts