changeset 10:c9ade2a9c808

Use dd and lame to rip and compress.
author darius
date Thu, 18 Jul 2002 06:37:59 +0000
parents f3f2657296d2
children c122160e07da
files gettracks.sh
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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