From 1cc93575156eb8a6a78c248d7204c87842f44cb5 Mon Sep 17 00:00:00 2001 From: kneutron <50146127+kneutron@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:04:10 -0600 Subject: [PATCH] Add files via upload --- wav2mp3.sh | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 wav2mp3.sh diff --git a/wav2mp3.sh b/wav2mp3.sh new file mode 100644 index 0000000..2f34499 --- /dev/null +++ b/wav2mp3.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +# Source files in /mnt/cdtemp2/dv +# Dest is /mnt/cdtemp + +#cd /mnt/cdtemp2/dv +# Curdir instead + +# toolame +for c in *.wav; +do + echo '.'$c'.' + time lame \ + --disptime 2 \ + -q 4 \ + --vbr-new \ + -V 3 \ + -B 196 \ + $c tmpfile.mp3 + +mv -v tmpfile.mp3 $c.mp3 +#/mnt/cdtemp/audio/$c.mp3 + +done +ls -alh +## --preset BLAH \