From owner-freebsd-questions Sun Feb 20 7:56:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from qui.uc.pt (qui.uc.pt [192.84.13.26]) by hub.freebsd.org (Postfix) with ESMTP id 57B8B37BDE5 for ; Sun, 20 Feb 2000 07:56:26 -0800 (PST) (envelope-from pedro@qui.uc.pt) Received: from qui.uc.pt (qui.uc.pt [192.84.13.26]) by qui.uc.pt (8.9.3/8.9.3) with ESMTP id PAA48799 for ; Sun, 20 Feb 2000 15:59:11 GMT (envelope-from pedro@qui.uc.pt) Date: Sun, 20 Feb 2000 15:59:11 +0000 (GMT) From: Pedro Almeida To: freebsd-questions@freebsd.org Subject: Burning Audio files! Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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