DAT-heads Digest #470
Contents:
Re: DAT2WAV SCSI deviceid question ("Matt Sohn")
RE:DAT2WAV SCSI deviceid question ("Matt Sohn")
From: "Matt Sohn" <mahatma57@sbcglobal.net>
Subject: Re: DAT2WAV SCSI deviceid question
Date: Thu, 20 Aug 2009 18:38:21 -0500
>I have gotten DAT2WAV fired up and working, but have had a
>hard time getting the 'deviceid X:X' >command to make my
>Archive Python 01931 XXX5AC drive to work.
>I get the response:
>
>
>Configuring input drive....
>Drive didn't initialize.
>
>The ID.exe program available from www.grc.com says that the
>adapter is on ID7. Would that be my >first number in the
>deviceid command?
>Jonathan
I think it is the second number, but not sure. What I ended
up doing was trying different combinations of numbers until
I found the right one.
This is what someone else wrote me when I was in this hell..
"The input numbers of the DDS drive will show up when you
boot up the
machine ....I think if you do a Control and "A" at the same
time, you can
get into a screen that shows all SCSi devices including the
ID of your SCSI
Card. "
-Matt S
From: "Matt Sohn" <mahatma57@sbcglobal.net>
Subject: RE:DAT2WAV SCSI deviceid question
Date: Thu, 20 Aug 2009 19:01:03 -0500
Another bit of wisdom that helped me get DAT2WAV going:
You don't actually run the .exe file from dos.
You need to have a folder called DAT2WAV directly in your C
drive and not
within another folder. You can create this in windows and
you should have
the DAT2WAV.exe and a .dll file in there. I have a few other
things but I
don't think they may be needed. This folder is where your
wav file will end
up.
Look at the attached cmd.txt (which is what I use)
First: You need to be in the C:\DAT2WAV> directory
Second (sample command): DAT2WAV /dat2wav dataud /inputid
1:2 /rewind
/errorcorrect
Your inputid numbers will be different (but the will always
be the same for
you).
The text below lists all the additional parameters you can
add.
If it encounters an error on your DAT tape it may start
another .wav file so
you may need to edit them together. It really depends on how
error free your
tapes are. Most of mine seem to have some errors. When You
merge the wav
files U don't hear any error.
Mode types:
/DAT2WAV FILENAME - the mode to extract the audio to wav
files using the
filename FILENAME as the base for each
of the files written
to disk. When using /STARTID, each file
will be given a
sequential name starting with 01. eg.
FILENAME01.WAV
/WAV2DAT CUEFILE - the mode to write a number of files to
tape using the file
called CUEFILE.CUE. The software will
automatically add
the .CUE to the file name so no file
extension should be used.
/DAT2IMG IMGFILE - the mode to copy an entire tape to disk
as a single image file
called IMGFILE
/IMG2DAT IMGFILE - the mode to copy a single image file to
tape using the file
called IMGFILE
/DAT2DAT - the mode to copy an entire tape directly to
another tape when using
two tape drives
Tape drive specification:
/INPUTID HostAdapter:TargetID - when using DAT2WAV, DAT2IMG,
and DAT2DAT you have
to define the ASPI host adapter number
and SCSI target ID
/OUTPUTID HostAdapter:TargetID - when using WAV2DAT,
IMG2DAT, and DAT2DAT you have
to define the ASPI host adapter number
and SCSI target ID
The host adapter number is the one assigned by the ASPI
drivers. The target id
is the actual SCSI id of the tape drive. If you don't know
what these values are
for your system, you may be helped by getting the program
ID.EXE from www.grc.com.
Optional settings:
/WAVEOUT - specify to send the audio to the soundcard
instead of a wave file
/REWIND - specify if you want the tape to be rewound before
starting.
/STARTID - specify if you want the wav files created to be
split when
start id's are found on the tape - not specifying
this option
will only change wav files when a new sample rate
is found
/MRSOFF - the Archive 4326/8000 drives have a feature to
detect if a tape is
audio vs DDS and will prevent writing to audio
tapes without setting
the MRS mode to off. This is done by the software
automatically, but
can be ignored if necessary
/STOPEOT - the software normally uses the end of tape
markers to identify when to
stop reading. Some times there are all kinds of
wierd things written
to the tape that can confuse the software. One
case is when a tape has
been recorded a whole bunch of times. By using
the /STOPEOT option the
software will only stop reading when the physical
end of tape is reached.
/SEEK - allows seeking to a specific point on the tape
before writing. The position
can be defined by:
Program number (PROGNUM)
Absolute time (ABSTIME)
Running time (RUNTIME)
Program time (PROGTIME)
The PROGNUM is just the integer number of the program
number
The other times are defined in the form of HH:MM:SS:FF
/ERRORCORRECT - this turns on error correction of read
errors from the
tape. The errors are only corrected when the drive
reports that
it has encountered problems with a particular
frame. There
tend to be many more errors at the points in the
tape where
the DAT recorder has been either paused or
stopped.
Here's a whole bunch of examples of how to use the varous
options
DAT2WAV /dat2wav dataud /inputid 1:5
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc, only changing
wav files
when a new sample rate is found
DAT2WAV /dat2wav dataud /inputid 1:5 /rewind
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - this will
rewind the
tape before extracting the audio - will change wav files
only when
a new sample rate is found
DAT2WAV /dat2wav /inputid 1:5 /waveout
this will play the audio to the sound card instead of
writing to disk
DAT2WAV /dat2wav dataud /inputid 1:5 /startid
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - it will change
wav files
when either a new sample rate or a start id is found
DAT2WAV /wav2dat CUEFILE /outputid 1:5 /rewind
this will write to tape a number of files based on the
cuefile.cue file. It will
also rewind the tape prior to writing
DAT2WAV /dat2dat /inputid 1:5 /outputid 1:6
this will copy a tape from 1:5 to 1:6
DAT2WAV /dat2img IMGFILE /inputid 1:5 /rewind
this will copy an entire tape from 1:5 to a file called
IMGFILE
DAT2WAV /img2dat IMGFILE /outputid 1:5 /rewind
this will copy to tape 1:5 from a tape image file called
IMGFILE
DAT2WAV /dat2wav dataud /inputid 1:5 /startid /seek PROGNUM
4
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - it will change
wav files
when either a new sample rate or a start id is found - it
will seek to
the start of Program Number 4 before starting to read data
DAT2WAV /dat2wav dataud /inputid 1:5 /startid /seek ABSTIME
02:15:22:07
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - it will change
wav files
when either a new sample rate or a start id is found - it
will seek to
the Absolute time 2h15m22s07f
DAT2WAV /dat2wav dataud /inputid 1:5 /startid /seek RUNTIME
02:15:22:07
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - it will change
wav files
when either a new sample rate or a start id is found - it
will seek to
the Running time 2h15m22s07f
DAT2WAV /dat2wav dataud /inputid 1:5 /startid /seek PROGTIME
02:15:22:07
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - it will change
wav files
when either a new sample rate or a start id is found - it
will seek to
the Program time 2h15m22s07f
DAT2WAV /wav2dat CUEFILE /outputid 1:5 /rewind /mrsoff
this will write to tape a number of files based on the
cuefile.cue file - it will
rewind the tape prior to writing - it will not turn off the
Media Recognition System
on 4326/8000 drives when real audio DAT tapes are used
(normally MRS is configured
in the drive automatically by DAT2WAV)
DAT2WAV /dat2wav dataud /inputid 1:5 /startid /stopeot
this will dump from tape drive at 1:5 to wav files called
dataud1.wav, dataud2.wav, dataud3.wav etc - it will change
wav files
when either a new sample rate or a start id is found - it
will read from the
tape until the physical end of tape is reached instead of
stopping at the logical
end of tape
Cuefile structure
=================
The cuefile is comprised of two parts, the configuration
section and
the track list section.
SCMS - this allows setting what SCMS bits should be written
to the tape
00 - copy permit
01 - one copy remaining
10 - copy prohibit
11 - reserved
STARTID - ON/OFF - write start ids for each track
ABS_TIME - ON/OFF - write the Absolute Time (ABSTIME) to the
tape
PROGRAM_NUMBER - ON/OFF - write the program numbers for each
track
32KHZ_LP = ON/OFF - write the 32khz tracks in long play
mode - the software will
not do the sample rate conversion from
either 44.1khz or 48khz
LEADIN_SILENCE - write x number of seconds to the start of
the tape
LEADOUT_SILENCE - write x number of seconds to the end of
the tape
INTERTRACK_SILENCE - write x number of seconds between the
tracks of the tape (written
as silence at the end of each track)
FILE - this identifies each of the file names to be written
to the tape
each entry needs to identify the track number and needs to
be 3 characters
used for each number eg. FILE_001, FILE_002, FILE_003
each file can be any of the following types:
- 32khz 16bit stereo WAV
- 44.1khz 16bit stereo WAV
- 48khz 16bit stereo WAV
- 32khz 16bit stereo MP3
- 44.1khz 16bit stereo MP3
- 48khz 16bit stereo MP3
Here's an example of the contents of a good cuefile:
[CONFIG]
SCMS=00
STARTID=ON
ABS_TIME=ON
PROGRAM_NUMBER=ON
32KHZ_LP=OFF
LEADIN_SILENCE=10
LEADOUT_SILENCE=10
INTERTRACK_SILENCE=10
[FILES]
FILE_001=d:\music\All you need is love.mp3
FILE_002=d:\music\A hard day's night.mp3
FILE_003=d:\music\track03.wav
** FOR YOUR REFERENCE **
To unsubscribe from this digest, please send email to
dat-heads-unsubscribe@datheads.phish.net
If your email address has changed, you may (optionally)
send the message to
dat-heads-unsubscribe-oldaddress=olddomain@datheads.phish.net
and the old address will be removed.
Problems or questions about a subscription should be addressed
via these avenues and then if needed to
dat-heads-owner@datheads.phish.net
or
postmaster@datheads.phish.net
never the list itself
You can submit a message for inclusion in the next digest via this address:
Internet: dat-heads@datheads.phish.net
Archives of DAT-Heads digests and related files are available on
the DAT-Heads home page:
http://www.solorb.com/dat-heads/
End of DAT-Heads Digest
******************************