# HG changeset patch # User darius # Date 1026974279 0 # Node ID c9ade2a9c808b2e83e7fcfba374c7dc1198b6fe2 # Parent f3f2657296d2358921941a18a6df31089e5d5c60 Use dd and lame to rip and compress. diff -r f3f2657296d2 -r c9ade2a9c808 gettracks.sh --- a/gettracks.sh Thu Jul 18 06:37:12 2002 +0000 +++ b/gettracks.sh Thu Jul 18 06:37:59 2002 +0000 @@ -10,8 +10,9 @@ echo Ripping tracks $tracks -ripper="cdd -t \$num -" -comp="lame -x -b 192 - -" +#ripper="cdd -t \$num - | sox -x -t wav - -t wav -" +#ripper="cdda2wav -O wav -t \$num -D 0,6,0 -" +#comp="lame -V 1 -m j -b 160 - -" #comp="gogo -silent -offset 0 -b 192 stdin" for t in $tracks ; do @@ -22,7 +23,8 @@ continue fi echo Ripping $num to $name - eval $ripper 2>> rip.log | sox -t cdr - -t wav - | $comp > $name +# eval $ripper 2>> rip.log | $comp > $name + dd if=/dev/acd0t$t bs=2352 | lame -r -x -V 1 -b 128 -h -m j -q1 - - >$name if [ $? -ne 0 ]; then echo "Failed!" exit 1