Date: Sun, 20 Feb 2000 15:59:11 +0000 (GMT) From: Pedro Almeida <pedro@qui.uc.pt> To: freebsd-questions@freebsd.org Subject: Burning Audio files! Message-ID: <Pine.BSF.4.05.10002201540380.48706-100000@qui.uc.pt>
next in thread | raw e-mail | index | archive | help
Hi all!
I have bought a HP 9100i ATAPI CDRW and I'm testing it!
There is no problem burnig cd9660 iso files, but there is a problem when I
try to burn audio files.
I'm using the sample scripts that are distributed with FreeBSD.
The burndata script worked well, but the burnaudio script did not!
I am using wav files as input. this wav files were extracted from a CD
with "tosha" using a SCSI CDROM.
####### Initial burnaudio script ##########
device=/dev/r$1
wormcontrol -f$device prepdisk double
shift
for f in $*
do
echo Burning file $f
wormcontrol -f $device track audio
wormcontrol -f $device nextwriteable
dd if=$f of=$device bs=2352
done
wormcontrol -f $device fixate 1 onp
############################################
After the first desaster and after a read on the wormcontrol man page, I
decided to modify the script in two things.
########## burnaudio script modified ######
device=/dev/r$1
wormcontrol -f$device prepdisk single dummy
shift
for f in $*
do
echo Burning file $f
wormcontrol -f $device track audio
wormcontrol -f $device nextwriteable
dd if=$f of=$device bs=2352
done
wormcontrol -f $device fixate 0 onp
###########################################
the first modification was change the prepdisk option from double to
single as the wormcontrol man page sugests.
the dummy option was to prevent the second disaster!!! :)
the third modification was change the fixate parameter from 1 to 0 as says
the wormcontrol man page.
after this the results were the same:
===================== output =====================
me@somewhere wavs-dir# /path-to-scripts/burnaudio wcd1c *
Burning file track01.wav
0
dd: /dev/rwcd1c: Input/output error
5051+0 records in
5050+0 records out
11877600 bytes transferred in 15.283139 secs (777170 bytes/sec)
Burning file track02.wav
0
=====================================================
Am I doing something wrong?
Is the wav format supported as audio format by wormcontrol?
Thanks in advance,
Pedro Almeida
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10002201540380.48706-100000>
