home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Multimedia Classic
/
MultimediaClassic.mdf
/
audio_cd
/
cd_grab.dos
/
readme.exe
(
.txt
)
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
David's Readme Compiler Executable
|
1994-01-09
|
91.8 KB
|
1,286 lines
FcYY=
Y4YYF
5YY_^
j3YY_^
H9D0}
; A B D G H I K M O P Q R S s t u v
,uY_^]
YYG;>
A B D
<Ar ,@
_^_^]
H I K M P Q
yVY_^
H I Q.4
YYF;v
;Dz~
9+:+:!:
9+:8:
DYPV
H I K M P Q @
DF_^]
YY9|,uK
;D@ui
;DDu2
H9D0~
9D<| u
.Y;D2v
H9D0u
YY_^]
YY_^]
~-YY3
,Y)D:
C+Y;F
f)Y;D2wK
I].97t
G H I K M O P Q R S s t u w@h
hQh(gjg,h
t0Nt-
!r.RP
!r$RP
u/SQR
[[XP3
Turbo C++ - Copyright 1990 Borland Intl.
Null pointer assignment
Divide error
Abnormal program termination
$ ~ p
Courier
Do you want to overwrite
File exists
Print Settings
- Printing -
Save as what file?
Failed saving to file!
Failed!
PgUp/Dn:
<F10>
options
PgUp/Dn
Line %d of %d
Search for
Topics
ind text <F7>
find
gain <F8>
rint entry
ave entry
dit entry
Printer port :
PostScript? :
Press <Space> to change values
Created using
David's Readme Compiler v2.1
(c) 1990-93, David Harris.
e-mail: david@pmail.gen.nz
LPT1:
LPT2:
LPT3:
%!PS-Adobe-2.0
%%Creator:DRC v2.0
%%EndComments
/leftmargin { 40 } bind def
/bot { 54 } bind def /top {
} bind def
/cw { 40 } bind def
/xtab
{currentpoint exch dup cvi
leftmargin cvi sub cvi
cw cvi mod sub
cw add
exch moveto
} bind def
/ptsize { 12 } bind def /lead { 12 } bind def
/F { findfont exch scalefont setfont } bind def
/newline {
currentpoint exch pop lead sub
dup bot lt {
pop showpage restore save
top
} if
leftmargin exch moveto
} bind def
%%Endprolog
%%BeginSetup
ptsize /| F
leftmargin top moveto
%%EndSetup
%.20s (Y/N)?
%-50.50s
newline
) show newline
newline
showpage restore
David's Readme Compiler, (c) 1992, David Harris.
Readme error: no attached data.
About this Guide
MMMODE
; < = > ? @ A B C D T U V W X Y Z [ \ ]
G O w u R S s t
EAEIIOOUUYIOU
(press any key to continue)
Insert paper in printer then press
a key (<ESC> cancels print)
Printer error
The printer on LPT%d: is
confused
out of paper
off line
Correct then press a key
or hit <ESC> to cancel print
Insert Paper
<ESC>
key pressed:
Please confirm cancel/quit
Accept this data?
Insufficient disk space
There is not enough space on the target
disk to receive the file(s): please replace
the disk with another formatted disk, then
press any key to retry, or <ESC> to cancel
.,@:;
0123456789
!!!!!
@@@@@@@@@@@@@@@
@@@@@@@
@@@@@@
@@@@
(null)
Data file generated by RCOM.
AL Digital's CDGRAB Professional Edition User's Guide
Welcome to AL Digital's CDGRAB Professional Edition
Status line
Editing a topic
About CDGRAB Professional
Installing CDGRAB Professional
De-Installing CDGRAB Professional
Using CDGRAB Professional
CD Standards
CD-DA
DRed Book
CD-ROM
NYellow Book
CD-ROM XA
NYellow Book
@ Extensions
CD-I
BGreen Book
CD-R
LOrange Book
ISO-9660
High Sierra
Command-Line Help
Command Summary
Command-Line Options
a Aspi Drive List
c Close Door
d Detailed Drive Info
e Eject Disc
g Grab Tracks
h Header Info - ISO9660/High Sierra
l Lock Drive Door
m MSCDEX Info & Drive List
p Play Audio Track(s)
P Play Audio Sector
r Read Sector(s)
s Stop Audio
t Track Listing
T Test DA Transfer Capability
u UnLock Drive Door
w Watch Play Time
-2 Scale data down to 22050Hz
-8 Scale data down to 8 Bit
-b Byte swap data
-d Dejitter data
-D Dejitter data (no re-calibrate)
-l Read LEFT Channel (STEREO)
-L Read LEFT Channel (MONO)
-m Convert data to MONO
-M# Override SCSI Mode Select command
-n No TOC on disk - disable checking
-o Write old style VOC
-r Read RIGHT Channel (STEREO)
-R Read RIGHT Channel (MONO)
-s# Override sector size to #
-S Swap stereo channels
-t# Delay # ticks between reads
-T Use Toshiba/Future Domain defaults
What is CDGRAB?
CDGRAB Facilities
Limitations
Licensing
Contacting the authors
Register your copy of CDGRAB Professional...
DA Word of Warning!
CDGRAB PRO Allows digitally perfect copying of Audio CDs
to PC hard disk in Microsoft WAVE (.WAV) format, Creative
Labs VOICE (.VOC) format, and raw PCM. XA, CD-I and PhotoCD
disks can be read down to hard disk as RAW sector copies.
CDGRAB PRO will also act as a DOS CD player, and provide
low-level information about what is stored on your CD-ROMS,
and capabilities of your MSCDEX device driver.
By utilising the MSCDEX and/or ASPI device drivers, CDGRAB
provides different levels of functionality across a wide
variety of hardware platforms.
Please read the section
DA Word of Warning!
@ in this guide
before using CDGRAB PRO to capture data from any type of
Hit <RETURN> to continue...
CDGRAB Professional Edition Ver. 3.21
While you edit this topic, the following keys are
available for your use:
Arrows:
move in the indicated direction
Ctrl-Arrows:
move a word at a time
PgUp/PgDn:
move a screen at a time
moves to the next field on the screen:
a field is anything starting with a
left square bracket (
). This feature
is handy for designing forms which the
user is to complete.
Ctrl-Y:
delete the current line
Del, Bks:
delete char right, delete char left
toggle insert mode (defaults to OFF)
CDGRAB Professional is copy-protected, and requires that
you move the protection from the original floppy to your
local hard disk. If you do not use a hard disk, you can
run CDGRAB directly from a floppy, but we recommend you
follow the installation procedure outlined below, using
another floppy as the target instead of a hard disk.
To install CDGRAB Professional, copy the file CDGRABP.EXE
from the floppy disk to a sub-directory on your hard disk.
If you wish to be able to execute CDGRAB from anywhere,
this directory should be included in the PATH statement in
your AUTOEXEC.BAT. Once the file has been copied, change
directory to the original floppy drive, and enter the
following command:
CCMOVE A: C:\MYDIR
In this case, the floppy is in drive A:, and the file
CDGRABP.EXE has been copied to the sub-directory 'MYDIR' in
the root of hard disk drive C:. Substitute the approriate
drive letters and paths for your installation.
That's all there is to it! Now you are ready to run CDGRAB.
To de-install CDGRAB Professional, simply reverse the
order of the original CCMove command:
CCMOVE A: C:\MYDIR
Becomes:
CCMOVE C:\MYDIR A:
This transfers the copy protection back to drive A:, which
can then be used to re-install elsewhere. You should also
perform this function before re-formatting your hard disk
for any reason.
CD-DA or 'Red Book' (named after the colour of the cover of
the published Philips/Sony standard), is the most basic form
of CD. All other formats utilise the Red Book structure at a
low level.
Red Book specifies the data encoding and a two level Error-
Detection/Correction scheme, called C1 and C2. These are based
around processing 'EFM-Frames' (EFM - Eight to Fourteen
Modulation), containing 588 bits, which can be broken down as:
24 Sync-Bits, 33 data bytes of 14 bits each, 3 merging bits
per data byte and 3 closing merging bits.
After processing, there are essentially two parts of the data
that are avaliable to the end-user. The data content, or
Audio Sectors, and the Subcode-Channel data, P-W. The Subcode
data is usually further broken down into Q-Channel (time) and
R-W (other data - see 'CD-Midi' & 'CD+G' in this guide).
P-Channel is almost always empty, and used to be used as a
'Pause' flag.
An Audio Sector consists of 2352 bytes of PCM (Pulse Code
Modulation) data, stored as Left-Right pairs of 16-Bit
44100Hz samples. One sector is normally referred to as a
'Frame', and represents 1/75th second of audio data. This
should not be confused with a true 'Audio Frame' containing
6 Left-Right sample pairs, totalling 24 bytes.
The most common reference to Red Book is as an 'Address'.
A Red Book Address is a pointer to a specific moment in time
on the disk, in Minutes, Seconds and Frames. In this case it
is not an Audio Frame, but a Sector that is being referred to,
so a Red Book Address is defined to 1/75th second. Red Book
Addresses start at 0m 2s 0f - 2 seconds in to the disk, to
allow space for the TOC (Table of Contents) to be stored. This
2 second area is known as the 'Lead-In'.
CD-DA Red Book Sector:
2352 bytes PCM
|<-------------------CDGRAB 'RAW' sector-------------------->|
CD-ROM or 'Yellow Book', expands on the Red Book structure, to
accommodate data storage other than Audio. In order to increase
the reliability, a third layer of error correction, called C3 is
added (stored in the EDC and ECC fields), as well as a Sync and
Header. The Sync allows the decoder to latch on to the start of
a whole sector (on a Red Book disk, processing is done at Audio
Frame level, so sector positioning is not guaranteed). The Header
contains the Red Book Address, so correct positioning can be
checked.
CD-ROM Yellow Book Sectors:
Mode 1:
Sync
Header
User Data
EDC
NULL
ECC
12
4
2048
4
8
276
Bytes
Bytes
Bytes
Bytes
Bytes
Bytes
|<-------------------CDGRAB 'RAW' sector--------------------->|
|<--CDGRAB 'CDI' sector--------------------->|
|<--CDGRAB 'COOKED'->|
Mode 2:
Sync
Header
User Data
12
4
2336
Bytes
Bytes
Bytes
|<-------------------CDGRAB 'RAW' sector--------------------->|
|<--CDGRAB 'CDI' sector--------------------->|
CD-ROM XA or 'Yellow Book Extensions - XA (Extented Architecture)'
was introduced to allow 'Mixed Mode' storage. This means that ROM
data can be stored in the same track as Audio or Video, by defining
the sector type in the SubHeader. ROM sectors are 'Form 1', and all
other types are 'Form 2'. The SubHeader further defines the Audio
or Video channel, coding format, file number etc., which allows the
target application to route the data through the appropriate decoder.
It is a common misconception that a ROM drive must be 'XA Ready',
i.e. able to interpret XA sectors. ALL CD-ROM drives (with a very
few exceptions, being very early models) can read XA sectors. It is
the job of the device driver to interpret the SubHeader and act
accordingly. In the case of a MSCDEX driver, it should pass all
the User Data area of 'Form 1' sectors as if they were standard
'Yellow Book' sectors. This will make the drive able to read any
ROM disk that contains an ISO9660 image within an XA track.
A good example of this type of disk is the Kodak Photo-CD. This is
a special type of XA disk, known as a 'Bridge Disk'. A 'Bridge Disk'
uses 'Form 1' sectors to provide ISO9660 compatibility, and contains
all the standard ISO9660 structures, as well as 'Green', or 'Form 2'
sectors which can be read on a CD-I or PhotoCD player.
CD-ROM XA Sectors:
Form 1:
Sync
Header
SubHeader
User Data
EDC
ECC
12
4
8
2048
4
276
Bytes
Bytes
Bytes
Bytes
Bytes
Bytes
|<-------------------CDGRAB 'RAW' sector--------------------->|
|<--CDGRAB 'CDI' sector--------------------->|
|CDGRAB 'COOKED'-|
Note: Although a Form 1 sector appears to be a re-arranged Mode 1
sector (the NULL field has moved and become the SUBHEADER), the
EDC and ECC are calculated differently, so you cannot produce an
XA track by RAW reading a standard ROM track and moving the data
around.
Form 2:
Sync
Header
SubHeader
User Data
EDC
12
4
8
2324
4
Bytes
Bytes
Bytes
Bytes
Bytes
|<-------------------CDGRAB 'RAW' sector--------------------->|
|<--CDGRAB 'CDI' sector--------------------->|
CD-I, or 'Green Book' expands on the 'Yellow Book'. This book goes
beyond defining the sector types, as it also specifies a complete
Operating System for working with the data stored on the disk. A
'Green Book' disk will contain program data to run the machine that
is reading the disk, as well as the data to be displayed/played/
acted upon.
The structure of the sectors is identical to XA. The only difference
between an XA track and a CD-I track is that the CD-I track does
not appear in the TOC. Many ROM drives will fail to load a true
CD-I disk because the drive expects to read the TOC into it's cache
to speed up later enquiries. When it doesn't find one, it assumes
that the disk is damaged, and does not become ready.
CD-I Green Book Sectors:
Form 1:
Sync
Header
SubHeader
User Data
EDC
ECC
12
4
8
2048
4
276
Bytes
Bytes
Bytes
Bytes
Bytes
Bytes
|<-------------------CDGRAB 'RAW' sector--------------------->|
|<--CDGRAB 'CDI' sector--------------------->|
|CDGRAB 'COOKED'-|
Form 2:
Sync
Header
SubHeader
User Data
EDC
12
4
8
2324
4
Bytes
Bytes
Bytes
Bytes
Bytes
|<-------------------CDGRAB 'RAW' sector--------------------->|
|<--CDGRAB 'CDI' sector--------------------->|
CD-R, or 'Orange Book' defines the physical attributes of recordable
CD media, as well as the additional logic and recording areas required
to enable a CD to be produced electronically. Until 1992, when CD-R was
introduced, it was only possible to produce a CD by going through the
complete manufacturing process of making a 'Glass Master', and then
pressing final CDs from the resulting stamps (this is not quite true -
there were machines capable of making electronic CDs, but they were so
expensive that they were well beyond the reach of most manufacturing
plants, let alone the end-users who use CD-R technology now).
ISO-9660 : 1988 - 'Information processing - Volume and file structure
of CD-ROM for information interchange' is a document published by the
International Organization for Standards (ISO), that describes the
directory structures and naming conventions for data stored on CD-ROM
to allow a CD to be recognised and accessed by any operating system with
compliant drivers. It is identical to BS-7061 : 1989 published by
British Standards Institution.
In essence, application of this standard means that a CD formatted as
an ISO-9660 volume can be read, and the files accessed, on multiple
platforms. The same CD could contain data that is accessible by Apple
MAC, IBM PC, VAX VMS, Unix etc.
The standard itself is complicated and difficult to read, and is strictly
copyrighted, so cannot be reproduced here in any great detail. The main
thing to worry about for most people who intend to produce a CD-ROM is
the file naming conventions. The nuts and bolt of ISO-9660 will be taken
care of for you by your ISO formatting software.
The naming conventions are as follows:
Allowable character set is:
ABCDEFGHIJKLMNOPQRSTUVWXYZ (ASCII HEX 41 to 5A)
0123456789 (ASCII HEX 30 to 39)
_ (UNDERSCORE - ASCII HEX 5F)
. (FULL STOP - ASCII HEX 2E)
; (SEMI COLON - ASCII HEX 3B)
Filenames may consist of two parts - a NAME and an EXTENSION. There
must be at least one character in either the NAME or the EXTENSION
field. The NAME and EXTENSION must be seperated by a FULL STOP, and
there can be only one FULL STOP in any filename. You may use a SEMI
COLON followed by a number in the range 1 to 32767 on the end of the
filename, to represent the version number of the file (this number
and the semi-colon would normally be appended by your ISO formatting
software, and would not be visible on your source directory).
The NAME cannot be more than 8 characters for a 'Level 1' ISO-9660
disk, and not more than 30 characters for a 'Level 2' disk.
The extension cannot be more than 30 characters.
The sum of the NAME and EXTENSION fields cannot exceed 30 characters.
This does not include the FULL STOP, SEMI COLON or version number.
The total allowable filename size including all components is 37
characters.
Strictly speaking, the filename MUST contain a SEMI COLON and VERSION
NUMBER. In practice, many ISO formatting software packages do not
enforce this, and it does not seem to cause any problems if they are
excluded.
Directory conventions are as follows:
Allowable character set:
ABCDEFGHIJKLMNOPQRSTUVWXYZ (ASCII HEX 41 to 5A)
0123456789 (ASCII HEX 30 to 39)
Directory names consist of only the NAME field, and cannot exceed 31
characters.
The NAME cannot be more than 8 characters for a 'Level 1' ISO-9660
disk.
Directories cannot be nested to more than 8 levels. i.e. there cannot
be more than 7 sub-directories below a directory in the root.
High Sierra is the common name for the '28 May 1986 Working Paper for
Information Processing - Volume and File Structure of Compact Read Only
Optical Discs for Information Interchange', which was the original paper
submitted to ISO for ratification, and named after the mountain range at
the resort where the meetings took place.
High Sierra was widely implemented before ISO-9660 was released, so a
large number of CD-ROMs exist in this format. Most new disks (after 1988)
should be pressed in ISO-9660 format. Although ISO-9660 is a direct
decendant of High Sierra, there enough differences to mean that they must
be supported separately. The main differences are:
The primary and secondary volume descriptors have varying type and
quantities of fields.
ISO-9660 contains a Bibliographic Preparer field in the volume
descriptors.
High Sierra allows up to four copies of the Path Table, whereas ISO9660
allows only two.
Two fields within the directory record have exchanged position.
ISO9660 has an extra byte in the Time/Date fields to allow an offset
from GMT or UTC to be specified.
The High Sierra format is in the public domain, and can be easily obtained
from many ftp servers, or CompuServe in the CDROM STANDARDS area.
It has been converted to electronic form by:
VLS Inc.
310 S. Reynolds Rd.
Toledo, Ohio 43615
The original document (ANS Z39.60-198X) can be obtained from:
National Information Standards Organization
P.O. Box 1056
Bethesda, MD 20817
(301) 975-2814
CDGRAB Professional will give a short summary of commands avaliable if
run without any command-line arguments:
CDGRABP<RETURN>
CDGRAB can use any of the CD-ROM drives avaliable to the system. In order
to specify which drive you want to use in an environment with multiple
drives, you simply place the drive letter or SCSI ID on the command line.
Example:
CDGRABP E: t
Will give a track listing using CD-ROM drive E:. If you are not sure which
letter maps to which drive, use the command:
CDGRABP m
which will give you a list of all drives supported by MSCDEX.
In ASPI mode, you specify the drive by SCSI ID no.:
CDGRABP 6 t
will give a track listing using the CD-ROM drive at SCSI ID 6. Again,
if you are not sure which drive is where, you can ask CDGRAB to tell
CDGRABP a
gives a full listing of all ASPI supported drives on the SCSI bus.
Usage:
CDGRABP a
Summary:
The 'a' command will scan your SCSI bus via the ASPI interface, and
report all drives that it finds there. Any device that returns a SCSI
standard 'Inquiry' message should be visible, but only CD-ROM (or
drives we have implemented specifically) can be utilised by CDGRAB.
Usage:
CDGRABP [drive | SCSI ID] c
Summary:
The 'c' command issues a 'Close Door' instruction to the drive. If it
is motor driven, this will result in the tray closing.
See Also:
'e Eject Disc' in this guide.
'l Lock Drive Door' in this guide.
'u UnLock Drive Door' in this guide.
Usage:
CDGRABP [drive] d
Summary:
The 'd' command provides a listing of the MSCDEX 'Device Status'
table for the specified drive, and some details from the 'Device
Header'.
Example:
CDGRABP d
Produces output similar to:
Drive: E:
Device Handle: SONY_001
Device Type: CHARACTER
IOCTL Support: SUPPORTED
Output 'till Busy: NOT SET
OPEN/CLOSE/RM: SUPPORTED
Dev is CLOCK: NOT SET
Dev is NUL: NOT SET
Dev is STO: NOT SET
Dev is STI: NOT SET
Door Status: CLOSED & UNLOCKED (DISC IN DRIVE)
Read Support: COOKED & RAW
Write Support: WRITE NOT ALLOWED
Audio/Video Support: DATA READ & PLAY AUDIO/VIDEO
Interleaving: NOT SUPPORTED
Prefetching: SUPPORTED
Audio Manipulation: SUPPORTED
Addressing: HSG & REDBOOK
R-W Sub Channels: NOT SUPPORTED
See Also:
'm MSCDEX Info & Drive List' in this guide.
Usage:
CDGRABP [drive | SCSI ID] e
Summary:
The 'e' command issues an 'Eject Disc' instruction to the drive. If it
is motor driven, and the door is unlocked, this will result in the
tray opening.
See Also:
'c Close Door' in this guide.
'l Lock Drive Door' in this guide.
'u UnLock Drive Door' in this guide.
Usage:
CDGRABP [drive | SCSI ID] [options] <CDI|COOKED|RAW|VOC|WAV> <trkA> ...
[trkB] ... [trkZ]
Summary:
The 'g' command takes at least two arguments - the output file format,
and the track required. Multiple tracks may be specified.
The possible entries for the output file format are:
CDI Read 2336 byte sectors from a CD-I, XA or PhotoCD disc.
COOKED Read 2048 byte sectors from a ROM disc.
RAW Read 2352 byte sectors from a ROM or DA disc.
VOC As per RAW, but stored with a Creative Labs
'Creative Voice' format header.
WAV As per RAW, but stored with a Microsoft 'WAVE'
format header.
Example:
CDGRABP g WAV 3 5
Will read track 3 in WAVE format, store it in a file called 'TRACK03.WAV'
and then read track 5 and store it in 'TRACK05.WAV'.
See Also:
'r Read Sector(s)' in this guide.
'Command-Line Options' in this guide.
'CD Standards' in this guide.
Usage:
CDGRABP [drive | SCSI ID] h
Summary:
The 'h' command provides a listing of the data contained in the ISO-9660
or HSG Header (17th block of a CD-ROM).
Example:
CDGRABP h
Will produce output similar to:
Drive: D:
Format: High Sierra
Type: Standard File Structure
Version: 1
System ID: Grolier
Volume ID: STWME WINDOWS
Volume Size: 169025
Volume Set Size: 1
Volume Sequence No: 1
Logical Block Size: 2048
Path Table Size: 96
Path Table Location: 25
Volume Set ID: Electronic Encyclopedia Windows Version
Publisher ID: Grolier Electronic Publishing, Inc.,
Sherman Turnpike, Danbury, CT 06816
Preparer ID: Online Computer Systems, Inc., 20251
Century Blvd., Germantown, MD 20874
Application ID: The Electronic Encyclopedia (C) Grolier
Electronic Publishing, 1992
Copyright ID:
Abstract ID:
Creation Date: 1992120700000000
Modification Date: 1992120700000000
Expiration Date: 0000000000000000
Effective Date: 1992120700000000
File Structure Ver: 1
This is a dump from the Software Toolworks Multimedia Encyclopedia.
See Also:
'CD Standards' in this guide.
Usage:
CDGRABP [drive | SCSI ID] l
Summary:
The 'l' command issues a 'Lock Drive Door' instruction to the drive.
This disables the eject button and the 'Eject Disk' command on
motor driven drives.
See Also:
'c Close Door' in this guide.
'e Eject Disk' in this guide.
'u UnLock Drive Door' in this guide.
Usage:
CDGRABP [drive] m
Summary:
The 'm' command gives the MSCDEX version number, and the 'Handles' of all
drives currently installed.
See Also:
'd Detailed Drive Info' in this guide.
Usage:
CDGRABP [drive | SCSI ID] p [start track] [end track]
Summary:
The 'p' command takes up to two arguments - the start track, and
the end track. Defaults are first and last respectively.
Example:
CDGRABP p 3
Will play from track 3 to the end of the CD.
See Also:
'P Play Audio Sector' in this guide.
'w Watch Play Time' in this guide.
Usage:
CDGRABP [drive | SCSI ID] P <start sector> <sectors to play> [REPEAT]
Summary:
The 'P' command requires two arguments - the start sector and
the number of sectors to play. The optional 'REPEAT' command will
cause the specified section to be repeated ad infinitum.
Example:
CDGRABP P 1000 150 REPEAT
Will repeat play sector 1000 to 1150 (a two second section).
See Also:
'p Play Audio Track(s)' in this guide.
'w Watch Play Time' in this guide.
Usage:
CDGRABP [drive | SCSI ID] r [options] <COOKED|RAW|VOC|WAV> <file> ...
<start> <sectors>
Summary:
The 'r' command requires four arguments - the output file format, name,
start sector and number of sectors to read.
The possible entries for the output file format are:
CDI Read 2336 byte sectors from a CD-I, XA or PhotoCD disc.
COOKED Read 2048 byte sectors from a ROM disc.
RAW Read 2352 byte sectors from a ROM or DA disc.
VOC As per RAW, but stored with a Creative Labs
'Creative Voice' format header.
WAV As per RAW, but stored with a Microsoft 'WAVE'
format header.
Example:
CDGRABP r RAW TEST.RAW 150 4500
Will read 4500 sectors (1 minute) starting at sector 150, in RAW PCM
format, and store it in a file called 'TEST.RAW'.
See Also:
'g Grab Track(s)' in this guide.
'Command-Line Options' in this guide.
'CD Standards' in this guide.
Usage:
CDGRABP [drive | SCSI ID] s
Summary:
The 's' command issues a 'Stop Audio' instruction to the drive.
If it is currently playing, it will stop.
See Also:
'p Play Audio Track(s)' in this guide.
'P Play Audio Sector' in this guide.
Usage:
CDGRABP [drive | SCSI ID] t
Summary:
The 't' shows the 'TOC' (Table Of Contents) for the currently inserted
disc, and the lengths and types of all tracks on the disc.
Example:
CDGRABP t
Produces output similar to:
Drive: D:
UPC/EAN Code: 0123456789012
Start Track: 1
End Track: 13
Total Time: 45 minutes 27 seconds 71 frames (75th/sec)
Size (SECTORS): 204596
Size (BYTES): 481209792 RAW, 419012608 COOKED
Sector Size: 2352 RAW, 2048 COOKED
Track Data Digital Pre- Audio Start Length
No. Type Copy OK Emph Chans Red Book Sector Red Book Sectors
--------------------------------------------------------------------------
01 ROM NO 0m 2s 0f 0 1m 10s 20f 5270
02 DA NO NO 2 1m 12s 20f 5270 6m 2s 50f 27200
03 DA NO NO 2 7m 14s 70f 32470 2m 37s 54f 11829
04 DA NO NO 2 9m 52s 49f 44299 3m 2s 69f 13719
05 DA NO NO 2 12m 55s 43f 58018 2m 1s 74f 9149
06 DA NO NO 2 14m 57s 42f 67167 1m 46s 62f 8012
07 DA NO NO 2 16m 44s 29f 75179 2m 10s 26f 9776
08 DA NO NO 2 18m 54s 55f 84955 2m 37s 28f 11803
09 DA NO NO 2 21m 32s 8f 96758 4m 24s 31f 19831
10 DA NO NO 2 25m 56s 39f 116589 5m 20s 63f 24063
11 DA NO NO 2 31m 17s 27f 140652 4m 42s 3f 21153
12 DA NO NO 2 35m 59s 30f 161805 3m 42s 30f 16680
13 DA NO NO 2 39m 41s 60f 178485 5m 48s 11f 26111
^ ^ ^
| | |
Data type ---:The copyright holders ---:A 'Red Book' address is made
of each track. :of this disc have not :up of Minute/Second/Frame.
Currently only :given 'blanket' permission:A 'Frame' is 1/75 of a
ROM or DA. :to copy their data. :second.
Note that in this case we are looking at a 'MultiMedia' disc. The first
track is a 'ROM' track, containing computer data, and the rest are Audio
('DA') tracks.
The first track will always start at least 2 seconds in, to allow space
for the TOC itself to be stored. This is true for all types of CD.
The track timings are unique enough that they can be used to 'fingerprint'
a disc. Many CD 'player' programs maintain a database of CD titles,
indexed in this way, which allow them to 'recognize' a disc and display
track titles etc.
Usage:
CDGRABP [drive | SCSI ID] T
Summary:
The 'T' command provides a simple test of your equipment's DA transfer
capability. When this test is used, CDGRABP will attempt to read 100
seconds of data from the drive. If anything other than digital silence
is returned, it will report that it has succesfully read some data.
Please note, that this is not a guarantee that data read from the disc
is 'good' - i.e. that is actual music data from the CD, and not some
random rubish returned by the device driver. This facility is normally
only used in the shareware version (CDGRAB), to test the capablility
before buying the PRO version.
Usage:
CDGRABP [drive | SCSI ID] u
Summary:
The 'u' command issues an 'UnLock Drive Door' instruction to the
drive. This enable the eject button and the 'Eject Disk' command on
motor driven drives.
See Also:
'c Close Door' in this guide.
'e Eject Disk' in this guide.
'l Lock Drive Door' in this guide.
Usage:
CDGRABP [drive | SCSI ID] pw
Summary:
The 'w' command allows you to monitor the Q-Channel information, i.e.
the current play time. Note that it must be used in conjunction with
a 'p' (play) command, in order that the Q-Channel be made active.
Example:
CDGRABP pw 3
Will start playing track 3, then bring up this screen:
Commands:
< , > Rewind (1 second decrement)
< < > FastRewind (10 second decrement)
< . > Forward (1 second increment)
< > > FastForward (10 second increment)
< + > Next track
< - > Previous track
< SPACE > Mark time (Index)
< ESC > Exit
< S > Stop audio & exit
< R > Grab all index selections to RAW file
< V > Grab all index selections to VOICE file
< W > Grab all index selections to WAVE file
< 1-9 > Repeat play Index selection (see sub-menu):
< E > Adjust end of Index
< S > Adjust start of Index (default)
< ,<.> > As above
< ALT , > Rewind 1 Frame (75th/Sec)
< ALT . > Forward 1 Frame (75th/Sec)
Track: 03 37m 59s 70f
The track time will continuously update to show the current
position on the disk.
By using the command keys: ',<.>+-', it is possible to jump to
a specific portion of the disc, and then 'mark' it by hitting
the SPACE key. This will have the effect of creating an index
start point. A subsequent SPACE will create an index end point.
The time between the two points forms an index selection, and up
to ten of these can be defined in a single session. Hitting the
'R', 'V' or 'W' keys will cause these selections to be saved to
disk as 'RAW', 'VOICE' or 'WAVE' files respectively. The files
will be named 'INDEX01.RAW', 'INDEX02.RAW', 'INDEX01.WAV' etc.
When index selections are active, they can be 'auditioned' by
hitting the corresponding number key ('1' to '9' and '0' for
ten). This will cause the selected index to repeat play until
the <RETURN> key is hit, at which point play will resume at the
point before you hit the numeric key. Index selections can be
adjusted by using the sub-menu command keys: 'ES,<.> ALT, ALT.'
while they are auditioning.
See Also:
'p Play Audio Track(s)' in this guide.
'P Play Audio Sector' in this guide.
Data will be converted from the 44100Hz sample rate that is stored
on CD-DA to a rate of 22050Hz. This causes an irrevocable loss of
data (except by re-reading the CD), with the corresponding loss
in sound quality.
As with scaling data down to 22050Hz, this operation 'loses' half
the data, by converting from 16-Bit to 8-Bit. There will be a more
marked loss in quality, however.
This operation simply reverses the order of the bytes within data
words. On CD-DA, the PCM data is stored as 'LO-HI', i.e. least
significant byte first. After conversion, the data will be in 'HI-LO'
order. This can be useful if your CD-R system is expecting the data
in 'Motorola' order (such as the Philips CDD521). This option should
only be used when reading 'RAW' data, as Voice and Wave files must
be stored 'LO-HI'.
The main problem with reading audio data from CD is 'jitter'. This
is caused by the drive's inability to correctly re-position itself
between reads, causing 'gaps' or 'overlaps' in the data stream.
During normal audio play operations, there would be no re-positioning
as the drive is calibrated to output the data at a constant rate. When
reading data to disk however, the read operation must be interrupted
to output the data read so far, and this causes the drive's buffer
to overflow, and reading to stop.
The '-d' option causes CDGRAB to attempt to correct these problems
by ensuring that all data is present, and no overlaps have occured.
CDGRAB may seek the head to the start and end of the disk from time
to time, to try and get past a difficult section. If this doesn't
seem to be working, try the '-D' option instead.
This option is identical to the '-d' option, except that it will not
re-calibrate the head by seeking to start and end. You may find that
some disks work better with '-D', and others with '-d'.
This option will replace all data in the RIGHT channel with digital
silence, leaving the output as STEREO.
This option will discard all data in the RIGHT channel, converting
the output to MONO.
This option will digitally 'mix' the LEFT and RIGHT channels, producing
MONO output.
This option allows you to specifiy the Mode Select Density Code value
you wish to use when performing reads. This means you can read any type
of sector your drive supports if you know the correct Mode Select value
to specify. As SCSI commands are all documented as HEX values, this
number must always be in HEX. This option is only valid when running in
ASPI mode.
You should use the -s# option to specifiy the sector size if it is other
than 2352 (RAW) or 2048 (COOKED) for the sector type you wish to read.
This option disables pre-read checks of the TOC. Normally, CDGRAB will
read the TOC to check that the sectors you have requested are within the
recorded area of the disk, and warn (but not stop) if there seems to be
an error. This will cause the program to fail if there is no TOC on the
disk (as with a true CD-I disk).
This option forces VOC output to be according to the version 1.10
specification. As this was an 8-Bit standard, 8-Bit scaling is
automatically switched on. This option should be used to provide
compatibility with sound editors or sound cards that have difficulty
with ver 1.20 VOC headers.
This option will replace all data in the LEFT channel with digital
silence, leaving the output as STEREO.
This option will discard all data in the LEFT channel, converting
the output to MONO.
This option allows you specify the sector size you wish to read. This
will be passed directly to the drive, so must be appropriate to the
type of sector you are trying to read, or an error will occur.
Use the -M# command to specify particular Mode Select values if required
(ASPI mode only).
This option simply reverses the LEFT and RIGHT channels before outputting
the data file.
This option introduces a delay between each physical read of the CD. You
can specifiy the delay in 'timer ticks' - i.e. 1/18.2 second. This was
provided when we found it was the only way to cure a particularly bad
case of 'jitter', but far better (perfect) results can now be obtained by
using the -d and -D flags.
This option specifies an optimum value for the -t flag, based on tests
performed on Toshiba 3401/4101 and FD950 card.
CDGRAB is a utility program, designed to give you low-level
access to your CD-ROM and CD-DA discs. By utilising the
MSCDEX and/or ASPI device drivers, it will provide a variety
of facilities across a large number of hardware platforms.
CDGRAB provides the following facilies:
Digital copy of Audio data from CD-DA
Raw 'sector' copy of CD-ROM disc
Raw 'sector' copy of CD-I & CD-XA disc
Raw 'sector' copy of PhotoCD disc
Display contents of CD-ROM ISO Headers
Display track listing of Audio disc
Display capablilities of installed MSCDEX driver
DOS command-line CD player
Repeat-play sections of an Audio disc
Save sections of Audio to .WAV .VOC or .RAW (PCM) files
OPEN/CLOSE/LOCK CD drive door
In addition, CDGRAB can perform some manipulation of the Audio
data during copying, such as:
Convert data from 44100Hz to 22050Hz
Convert data from 16-Bit to 8-Bit
Convert Stereo to Mono
Mask out LEFT or RIGHT channels
Swap LEFT and RIGHT channels
Because CDGRAB relies on your MSCDEX driver software to interface
to your CD-ROM drive, it is limited not only by the capabilities
of your drive, but also by the implementation of the device driver
that is communicating between the drive and MSCDEX (this does not
apply when running a direct ASPI session, as MSCDEX is ignored - in
this case, the only limitations are within the SCSI CD-ROM drive
itself).
The most serious limitation will be the capability to pass 'raw'
Audio data to us via MSCDEX (or SCSI/ASPI). In theory, the driver
itself tells you whether it is capable of doing this, when you use
the 'd' command (MSCDEX mode only - see 'CDGRAB Commands' in this
guide). In practice, however, the actual capabilities may differ
from those reported. This may be because the device driver is capable
of passing 'raw' Audio data, but the drive is not. Alternatively,
the drive may be capable of passing 'raw' ROM sectors, but not Audio.
CDGRAB is licenced for use on a single computer. You may install
it on as many systems as you wish, but you may only run it on
one at a time. Since it is copy-protected using a 'token-passing'
system, this should be enforced automatically anyway.
CDGRAB is written by AL Digital Ltd., who can be contacted at:
A.L. Digital Ltd.
Voysey House
Barley Mow Passage
London
W4 4PT
ENGLAND
Tel: +44 (81) 742 0755
Fax: +44 (81) 994 4959
BBS: +44 (81) 994 9119
E-Mail: cdgrab@aldigital.algroup.com
Please fill in this form, using the
function
from the <F10> menu. Use <Tab> to move between fields,
and print the finished form out (again, from the <F10>
menu) and post to us to receive the latest upgrade
information, and technical support.
Name: [ ]
Company: [ ]
Address: [ ]
[ ]
[ ]
Post/Zip Code: [ ]
Country: [ ]
Phone: [ ]
Fax: [ ]
E-Mail: [ ]
Product: [CDGRABP ]
Version: [ ]
Licence No: [0010140 ]
Date Purchased: [ ]
Purchased From: [ ]
The vast majority of data that is stored on CD is subject to
international copyright law. In most cases it is an offence to
copy or manipulate this data, whether it be audio (CD-DA) or
data (CD-ROM), without the express permission of the copyright
holder.
If you are a musician, and intend to use audio samples in a
production of your own, you should contact one of the following
organisations who will help you to obtain the clearance you need.
For other types of data, please contact the originator of the CD
to establish copyright ownership.
Country: Contact:
ALGERIA ONDA
6 Boulevard Du 11 Decembre 1960
El-Biar
Alger
TEL: (21 3) 786555
ARGENTINA SADAIC
Apartado 11
Sucursal 44 (BS. AS.)
1444 Buenos Aires
TEL: (54 1) 404867
FAX: (54 1) 111985
Roberto Barry
BARRY SRL
Ayda. R. Saenz Pena 1185
1035 Buenos Aires
TEL: (54 1) 382 3230
FAX: (54 1) 383 0745
AUSTRALIA AMCOS
Private Box 2135
North Sydney
New South Wales 2059
TEL: (61 2) 9543655
FAX: (61 2) 9543664
AUSTRIA AUME
A-1031 Vienna
Baumannstrasse 10
Postfach 131
TEL: (43 1) 71787
FAX: (43 1) 7127136
BELGIUM SABAM
Rue D'Arlon 75-77
B-1040 Brussels
TEL: (32 2) 2302660
FAX: (32 2) 2311800
BRAZIL SICAM
Largo Paissando 51
CEP 01034
Sao Paolo-SP
TEL: (55 11) 2238555
C.I.S. RAIS
6a Bolshaya Bronnaya St
K-104 Moscow 103670
Russia
TEL: (70 95) 2034599
FAX: (70 95) 2001263
CANADA CMRRA
56 Wellesley Street West
Suite 320
Toronto, Ontario, M5S 2S4
TEL: (14 16) 9261966
FAX: (14 16) 9267521
CHILE SCD
San Antonio 427
2 Piso
Santiago
TEL: (56 2) 6397868
FAX: (56 2) 6393326
CZECH REPUBLIC OSA
160 56 Praha 6
Bubenec
Trida CS Armady 20
TEL: (42 2) 3121241
FAX: (42 2) 3123073
DENMARK NCB
(+NORWAY) Frederiksgade 17
(+SWEDEN) Postbox 3064
(+FINLAND) DK-1021 Copenhagen K
(+ICELAND) TEL: (45 33) 128700
FAX: (45 33) 124262
FINLAND See DENMARK
FRANCE SDRM
Cite de la Musique
16 Place de la Fontaine aux Lions
75019 Paris
TEL: (33 1) 47154900
FAX: (33 1) 47154973
GERMANY GEMA
Direktion Industrie
Postfach 80 07 67
D-8000 Munich 80
TEL: (49 89) 4 80 03 00
FAX: (49 89) 4 80 03 414
INTERNATIONALE DOKUMENTATION
Postfach 30 12 40
D-1000 Berlin 30
TEL: (49 30) 212 45 00
FAX: (49 30) 212 45 950
GREECE AEPI
14 Deliyianni Street
Athens 106 83
TEL: (30 1) 8213917
FAX: (30 1) 8219512
HONG KONG CASH
South Seas Centre, Tower 1 3/F
75 Mody Road, Tsimshatsui East
Kowloon
TEL: (852 3) 7225225
FAX: (852 3) 699625
HUNGARY ARTISJUS
Vorosmarty Ter 1
Poste: H-1364 P.B. 67
Budapest
TEL: (36 1) 329738
FAX: (36 1) 1175075
ICELAND See DENMARK
INDIA IPRS
717 Dalamal Tower
Nariman Point
Bombay 400 0021
TEL: (91 22) 232175
FAX: (91 22) 2673843
ISRAEL ACUM
PO Box 14220
Tel-Aviv 61140
TEL: (972 3) 5620115
FAX: (972 3) 5620119
ITALY SIAE
Viale Della Letteratura
N.30 (Eur)
00100 Rome
TEL: (39 6) 59901
FAX: (39 6) 5923351
Nada Giallorenzo
Via Della Divisione Torino 92
00143 Rome
TEL: (39 6) 5925774
JAPAN JASRAC
1-7-13 Nishishimbashi
Minato-ku
Tokyo 105
TEL: (81 3) 35026551
FAX: (81 3) 35088183
MEXICO FONOCENTRO
Av. Cuitlahuao 2327
Azcapotzalco
C.P. 02870, Mexico D.F.
TEL: (01 525) 3993833
SACM
Mayorazgo 129
Col. Xoco
C.P. 03330 Mexico D.F.
TEL: (52 5) 6047733
FAX: (52 5) 6047923
NETHERLANDS STEMRA
BUMA/STEMRA Huis
Postbus 725
1180 AS Amstelveen
TEL: (31 20) 5407911
FAX: (31 20) 5407509
NORWAY See DENMARK
PARAGUAY APA
Chile 850
Asuncion
TEL: (595 21) 45795
PERU FONOPERU
Casilla Postal No. 2262
Correo Central
Lima
POLAND ZAIKS
U1 Hipotecena 2
Skrytka Pocztowa P-16
00-950 Warszawa
TEL: (4822) 276061
FAX: (4822) 6351347
PORTUGAL SPA
Avenue Duque de Loule 31
1098 Lisbon
TEL: (35 11) 578320
FAX: (35 11) 530257
SLOVAKIA SOZA
Kollarovo Nam. 20
813 27 Bratislava
TEL: (42 7) 54141
FAX: (42 7) 59188
SOUTH AFRICA SARRAL
506 Heerengracht
87 De Korte Street
Braamfontein 2001
TEL: (27 11) 290627
FAX: (27 11) 294932
SPAIN SGAE
Fernando VI, 4
Apartardo 484
28080 Madrid
TEL: (34 1) 3192100
FAX: (34 1) 3102120
SWEDEN See DENMARK
SWITZERLAND SUISA
Bellariastrasse 82
8038 Zurich
TEL: (411) 485 6666
FAX: (411) 482 4333
U.K. MCPS
Elgar House
41 Streatham High Road
London SW16 1ER
TEL: (44 81) 769 4400
FAX: (44 81) 769 8792
TLX: 946792 MCPS G
U.S.A. THE HARRY FOX AGENCY
205 East 42nd Street
New York
NY 10017
TEL: (1 212) 3705330
FAX: (1 212) 9532471
ASCAP
1 Lincoln Plaza
New York
N.Y. 10023
TEL: (1212) 5953050
FAX: (1212) 7249064
BMI
320 West 57th Street
New York
N.Y. 10019
TEL: (1212) 5862000
FAX: (1212) 2462163
URUGUAY AGADU
Canelones 1122
C.P. 11.100 Montevideo
TEL: (598 2) 903188
FAX: (598 2) 913951
VENEZUELA SACVEN
Apartado Postal
5190 Carmelitas
1010 A Caracas
TEL: (58 2) 5732389
FAX: (58 2) 5736187
(FORMER)
YUGOSLAVIA SOKOJ
1100 Belgrade
Misarska 12-14
Boite-Postale 213
TEL: (38 11) 338018
FAX: (38 11) 336168