Skip to content

Instantly share code, notes, and snippets.

@JGrossholtz
Created June 7, 2019 22:04
Show Gist options
  • Save JGrossholtz/4a9a0be914ff8da5ae42917d9921b9c8 to your computer and use it in GitHub Desktop.
Save JGrossholtz/4a9a0be914ff8da5ae42917d9921b9c8 to your computer and use it in GitHub Desktop.
#!/bin/bash
# This script converts all the files in a given folder to a list a VAW files readable by the Horbert kid radio
var=0
for file in *.mp3 ; do
ffmpeg -i "$file" -acodec pcm_s16le -ac 1 -ar 32000 $var.WAV
var=$((var+1))
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment