#!/bin/sh # Script Hans Schou bruger til efterbehandling af filer # der er optaget ved foredrag. set -x function dothissound { echo "File: ${IFILE}" sox ${IFILE} -c 1 -r 22050 x.${IFILE} resample normalize x.${IFILE} oggenc -q 1 x.${IFILE} -o ${OFILE} -a "${ARTIST}" -t "${TITLE}" -l "${ALBUM}" -d ${DATE} } ALBUM="SSLUG http://www.sslug.dk/" DATE="2002-02-07" ARTIST="Hans Schou" TITLE="Optage foredrag, kort udgave" IFILE=2002-02-07_19.49.wav OFILE="hans_schou.optage_foredrag_kort_udgave.ogg" dothissound ARTIST="Jens Burkal" TITLE="Ogg Vorbis" IFILE=2002-02-07_19.09.wav OFILE="jens_burkal.ogg_vorbis.ogg" dothissound ARTIST="Troels Liebe Bentsen" TITLE="Multimediaformater der kan spilles på Linux" IFILE=2002-02-07_20.10.wav OFILE="troels_liebe_bentsen.multimediaformater_paa_linux.ogg" dothissound