Skip to content

Instantly share code, notes, and snippets.

@kolen
Created February 21, 2009 23:07
Show Gist options
  • Save kolen/68220 to your computer and use it in GitHub Desktop.
Save kolen/68220 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Convert all AMRs in current directory to WAVs
for amrfile in *.amr;
do
outfile=`basename $amrfile .amr`.wav
mplayer $amrfile -ao pcm:file=$outfile
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment