home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- NNNNAAAAMMMMEEEE
- cdda2wav - a sampling utility that dumps CD audio data into
- wav sound files
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ccccddddddddaaaa2222wwwwaaaavvvv [----cccc _c_h_a_n_s] [----ssss] [----mmmm] [----bbbb _b_i_t_s] [----rrrr _r_a_t_e] [----aaaa
- _d_i_v_i_d_e_r] [----tttt _t_r_a_c_k[+_e_n_d_t_r_a_c_k]] [----iiii _i_n_d_e_x] [----oooo _o_f_f_s_e_t] [----dddd
- _d_u_r_a_t_i_o_n] [----xxxx] [----qqqq] [----wwww] [----vvvv] [----VVVV] [----JJJJ] [----RRRR] [----PPPP _s_e_c_t_o_r_s]
- [----FFFF] [----GGGG] [----TTTT] [----eeee] [----pppp _p_e_r_c_e_n_t_a_g_e] [----nnnn _s_e_c_t_o_r_s] [----llll
- _b_u_f_f_e_r_s] [----NNNN] [----JJJJ] [----HHHH] [----BBBB] [----DDDD _d_e_v_i_c_e] [----AAAA _a_u_x_d_e_v_i_c_e] [----IIII
- _i_n_t_e_r_f_a_c_e] [----OOOO _a_u_d_i_o_t_y_p_e] [----CCCC _i_n_p_u_t-_e_n_d_i_a_n_e_s_s] [----EEEE _o_u_t_p_u_t-
- _e_n_d_i_a_n_e_s_s] [----MMMM _c_o_u_n_t] [----SSSS _s_p_e_e_d] [_a_u_d_i_o._w_a_v]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ccccddddddddaaaa2222wwwwaaaavvvv can retrieve audio tracks from CDROM drives (see
- README for a list of drives) that are capable of reading
- audio data digitally to the host (CCCCDDDDDDDDAAAA). Other drives may
- have been added as well when you read this.
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----DDDD _d_e_v_i_c_e --_d_e_v_i_c_e
- uses ddddeeeevvvviiiicccceeee as the source for CDDA reading: For exam-
- ple /dev/cdrom for the ccccooooooookkkkeeeedddd____iiiiooooccccttttllll interface and
- Bus,ID,Lun for the ggggeeeennnneeeerrrriiiicccc____ssssccccssssiiii interface. This has to
- correspond with the interface setting (see below). The
- setting of the environment variable CCCCDDDDDDDDAAAA____DDDDEEEEVVVVIIIICCCCEEEE is
- overridden by this option.
-
- ----AAAA _a_u_x_d_e_v_i_c_e --_a_u_x_d_e_v_i_c_e
- uses aaaauuuuxxxxddddeeeevvvviiiicccceeee as CDROM drive for ioctl usage.
-
- ----IIII _i_n_t_e_r_f_a_c_e --_i_n_t_e_r_f_a_c_e
- specifies the interface for CDROM access: ggggeeeennnneeeerrrriiiicccc____ssssccccssssiiii
- or (on Linux systems) ccccooooooookkkkeeeedddd____iiiiooooccccttttllll.
-
- ----cccc _c_h_a_n_n_e_l_s --_c_h_a_n_n_e_l_s
- uses 1111 for mono, or 2222 for stereo recording, or ssss for
- stereo recording with both channels swapped.
-
- ----ssss --------sssstttteeeerrrreeeeoooo
- sets to stereo recording.
-
- ----mmmm --------mmmmoooonnnnoooo
- sets to mono recording.
-
- ----xxxx --------mmmmaaaaxxxx
- sets maximum (CD) quality.
-
- ----bbbb _b_i_t_s --_b_i_t_s-_p_e_r-_s_a_m_p_l_e
- sets bits per sample per channel: 8888, 11112222 or 11116666.
-
- ----rrrr _r_a_t_e --_r_a_t_e
-
-
-
- SunOS 5.4 Last change: 1
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- sets rate in samples per second. Possible values are
- listed with the ----RRRR option.
-
- ----aaaa _d_i_v_i_d_e_r --_d_i_v_i_d_e_r
- sets rate to 44100Hz / divider. Possible values are
- listed with the ----RRRR option.
-
- ----RRRR --------dddduuuummmmpppp----rrrraaaatttteeeessss
- shows a list of all sample rates and their dividers.
-
- ----PPPP sssseeeeccccttttoooorrrrssss --------sssseeeetttt----oooovvvveeeerrrrllllaaaapppp
- sets the initial number of overlap _s_e_c_t_o_r_s for jitter
- correction.
-
- ----nnnn _s_e_c_t_o_r_s --_s_e_c_t_o_r_s-_p_e_r-_r_e_q_u_e_s_t
- reads _s_e_c_t_o_r_s per request.
-
- ----llll _b_u_f_f_e_r_s --_b_u_f_f_e_r_s-_i_n-_r_i_n_g
- uses a ring buffer with _b_u_f_f_e_r_s total.
-
- ----tttt _t_r_a_c_k+_e_n_d_t_r_a_c_k --_t_r_a_c_k
- selects the start track and optionally the end track.
-
- ----iiii _i_n_d_e_x --_i_n_d_e_x
- selects the start index.
-
- ----oooo _o_f_f_s_e_t --_o_f_f_s_e_t
- starts _o_f_f_s_e_t sectors behind start track (one sector
- equivalents 1/75 seconds).
-
- ----OOOO aaaauuuuddddiiiioooottttyyyyppppeeee --------oooouuuuttttppppuuuutttt----ffffoooorrrrmmmmaaaatttt
- can be _w_a_v (for wav files) or _a_i_f_f (for apple/sgi aiff
- files) or _a_i_f_c (for apple/sgi aifc files) or _a_u or _s_u_n
- (for sun .au PCM files) or _c_d_r or _r_a_w (for headerless
- files to be used for cd writers).
-
- ----CCCC _e_n_d_i_a_n_e_s_s --_c_d_r_o_m-_e_n_d_i_a_n_e_s_s
- sets endianess of the input samples to 'little', 'big'
- or 'guess' to override defaults.
-
- ----EEEE _e_n_d_i_a_n_e_s_s --_o_u_t_p_u_t-_e_n_d_i_a_n_e_s_s
- sets endianess of the output samples to 'little' or
- 'big' to override defaults.
-
- ----dddd _d_u_r_a_t_i_o_n --_d_u_r_a_t_i_o_n
- sets recording time in seconds or 0000 for whole track.
-
- ----BBBB --------bbbbuuuullllkkkk
- copies each track into a seperate file.
-
- ----wwww --------wwwwaaaaiiiitttt
- waits for signal, then start recording.
-
-
-
- SunOS 5.4 Last change: 2
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- ----FFFF --------ffffiiiinnnndddd----eeeexxxxttttrrrreeeemmmmeeeessss
- finds extrem amplitudes in samples.
-
- ----GGGG --------ffffiiiinnnndddd----mmmmoooonnnnoooo
- finds if input samples are in mono.
-
- ----TTTT --------ddddeeeeeeeemmmmpppphhhhaaaassssiiiizzzzeeee
- undo the effect of pre-emphasis in the input samples.
-
- ----eeee --------eeeecccchhhhoooo
- copies audio data to sound device e.g. ////ddddeeeevvvv////ddddsssspppp.
-
- ----pppp ppppeeeerrrrcccceeeennnnttttaaaaggggeeee --------sssseeeetttt----ppppiiiittttcccchhhh
- changes pitch of audio data copied to sound device.
-
- ----vvvv lllleeeevvvveeeellll --------vvvveeeerrrrbbbboooosssseeee----lllleeeevvvveeeellll
- prints verbose information about the CD. LLLLeeeevvvveeeellll is a
- sum of powers of two in the range 0 up to 63. Each
- power of two controls the type of information to be
- reported. center box ; r| l|.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SunOS 5.4 Last change: 3
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- Power Description _ 1 show table of contents
- 2 show a summary of the recording parameters 4 deter-
- mine and display index offsets 8 retrieve and display the
- media catalog number MCN 16 retrieve and display all
- Intern. Standard Recording Codes ISRC 32 show the table of
- contents in start sector notation 64 show the table of
- contents with track titles (when available)
-
- ----NNNN --------nnnnoooo----wwwwrrrriiiitttteeee
- does not write to a file, it just reads (for debugging
- purposes).
-
- ----JJJJ --------iiiinnnnffffoooo----oooonnnnllllyyyy
- does not write to a file, it just gives information
- about the disc.
-
- ----HHHH --------nnnnoooo----iiiinnnnffffooooffffiiiilllleeee
- does not write an info file and a cddb file.
-
- ----MMMM ccccoooouuuunnnntttt --------mmmmdddd5555
- enables calculation of MD-5 checksum for 'count' bytes
- from a beginning of a track.
-
- ----SSSS ssssppppeeeeeeeedddd --------ssssppppeeeeeeeedddd----sssseeeelllleeeecccctttt
- sets the cdrom device to one of the selectable speeds
- for reading.
-
- ----qqqq --------qqqquuuuiiiieeeetttt
- quiet operation, no screen output.
-
- ----VVVV --------vvvveeeerrrrbbbboooosssseeee----SSSSCCCCSSSSIIII
- enable SCSI command logging to the console. This is
- mainly used for debugging
-
- ----JJJJ --------vvvveeeerrrrssssiiiioooonnnn
- display version of cdda2wav on standard output.
-
- Defaults depend on the
- MMMMaaaakkkkeeeeffffiiiilllleeee and eeeennnnvvvviiiirrrroooonnnnmmmmeeeennnntttt vvvvaaaarrrriiiiaaaabbbblllleeee settings (currently
- CCCCDDDDDDDDAAAA____DDDDEEEEVVVVIIIICCCCEEEE ).
-
- EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
- CCCCDDDDDDDDAAAA____DDDDEEEEVVVVIIIICCCCEEEE is used to set the device name. The device nam-
- ing is compatible with J÷rg Schilling's cdrecord package.
-
- DDDDIIIISSSSCCCCUUUUSSSSSSSSIIIIOOOONNNN
- ccccddddddddaaaa2222wwwwaaaavvvv is able to read parts of an aaaauuuuddddiiiioooo CD or mmmmuuuullllttttiiiimmmmeeeeddddiiiiaaaa
- CDROM (containing audio parts) directly digitally. These
- parts can be written to a file, a pipe, or to a sound dev-
- ice.
-
-
-
-
-
- SunOS 5.4 Last change: 1
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- ccccddddddddaaaa2222wwwwaaaavvvv stands for CCCCDDDDDDDDAAAA to WWWWAAAAVVVV (where CCCCDDDDDDDDAAAA stands for com-
- pact disc digital audio and WWWWAAAAVVVV is a sound sample format
- introduced by MS Windows). It allows copying CCCCDDDDDDDDAAAA audio
- data from the CDROM drive into a file on your ram-, hard-,
- floppy- or whatever-disk in WWWWAAAAVVVV or other formats.
-
- The latest versions try to get higher real-time scheduling
- priorities to ensure smooth (uninterrupted) operation. These
- priorities are available for super users and are higher than
- those of 'normal' processes. Thus delays are minimized.
- Please note that you need newer kernels and c libraries to
- take advantage of this feature.
-
- If your CDROM (not yet for SCSI drives) is on device
- ////ddddeeeevvvv////ccccddddrrrroooommmm and it is loaded with an audio CD, you may simply
- invoke ccccddddddddaaaa2222wwwwaaaavvvv and it will create the sound file aaaauuuuddddiiiioooo....wwwwaaaavvvv
- recording the whole track beginning with track 1 in stereo
- at 16 bit at 44100 Hz sample rate, if your file system has
- enough space free. Otherwise recording time will be lim-
- ited. SCSI drives have to use different devices (see files
- RRRREEEEAAAADDDDMMMMEEEE and RRRREEEEAAAADDDDMMMMEEEE....IIIINNNNSSSSTTTTAAAALLLLLLLL for details).
-
- HHHHIIIINNNNTTTTSSSS OOOONNNN OOOOPPPPTTTTIIIIOOOONNNNSSSS
- Options
- Most of the options are used to control the format of
- the WAV file. In the following text all of them are
- described.
-
- Select Device
- ----DDDD _d_e_v_i_c_e selects the CDROM drive device to be used.
- The specifier given should correspond to the selected
- interface (see below). CCCCHHHHAAAANNNNGGGGEEEE!!!! For the cooked_ioctl
- interface this is the cdrom device descriptor as
- before. TTTThhhheeee SSSSCCCCSSSSIIII ddddeeeevvvviiiicccceeeessss uuuusssseeeedddd wwwwiiiitttthhhh tttthhhheeee aaaaddddddddrrrreeeesssssssseeeedddd wwwwiiiitttthhhh
- tttthhhheeeeiiiirrrr SSSSCCCCSSSSIIII----BBBBuuuussss,,,, SSSSCCCCSSSSIIII----IIIIdddd,,,, aaaannnndddd SSSSCCCCSSSSIIII ddddeeeevvvviiiicccceeee ddddeeeessssccccrrrriiiippppttttoooorrrr!!!!!!!!!!!!
- One example for a SCSI CDROM drive on bus 0 with SCSI
- ID 3 and lun 0 is -D0,3,0.
-
- Select Auxiliary device
- ----AAAA _a_u_x_d_e_v_i_c_e is necessary for CD-Extra handling. For
- Non-SCSI-CDROM drives this is the same device as given
- by -D (see above). For SCSI-CDROM drives it is the
- CDROM drive (SCSI) device (i.e. ////ddddeeeevvvv////ssssrrrr0000 ) correspond-
- ing to the SCSI device (i.e. 0000,,,,3333,,,,0000 ). It has to match
- the device used for sampling.
-
- Select Interface
- ----IIII _i_n_t_e_r_f_a_c_e selects the CDROM drive interface. For
- SCSI drives use generic_scsi (cooked_ioctl may not yet
- be available for all devices): ggggeeeennnneeeerrrriiiicccc____ssssccccssssiiii and
- ccccooooooookkkkeeeedddd____iiiiooooccccttttllll. The first uses the generic SCSI inter-
- face, the latter uses the ioctl of the CDROM driver.
-
-
-
- SunOS 5.4 Last change: 2
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- The latter variant works only when the kernel driver
- supports CCCCDDDDDDDDAAAA reading. This entry has to match the
- selected CDROM device (see above).
-
- Enable echo to soundcard
- ----eeee copies audio data to the sound card while recording,
- so you hear it nearly simultaneously. The soundcard
- gets the same data that is recorded. This is time crit-
- ical, so it works best with the ----qqqq option. To use
- ccccddddddddaaaa2222wwwwaaaavvvv as a pseudo CD player without recording in a
- file you could use ccccddddddddaaaa2222wwwwaaaavvvv ----qqqq ----eeee ----tttt2222 ----dddd0000 ----NNNN to play
- the whole second track. This feature reduces the
- recording speed to at most onefold speed. You cannot
- make better recordings than your sound card can play
- (since the same data is used).
-
- Change pitch of echoed audio
- ----pppp ppppeeeerrrrcccceeeennnnttttaaaaggggeeee changes the pitch of all audio echoed to
- a sound card. Only the copy to the soundcard is
- affected, the recorded audio samples in a file remain
- the same. Normal pitch, which is the default, is given
- by 100%. Lower percentages correspond to lower
- pitches, i.e. -p 50 transposes the audio output one
- octave lower. See also the script ppppiiiittttcccchhhhppppllllaaaayyyy as an
- example. This option was contributed by Raul Sobon.
-
- Select mono or stereo recording
- ----mmmm or ----cccc 1111 selects mono recording (both stereo channels
- are mixed), ----ssss or ----cccc 2222 or ----cccc ssss selects stereo recording
- (doubles file size). Parameter s will swap both sound
- channels.
-
- Select maximum quality
- ----xxxx will set stereo, 16 bits per sample at 44.1 KHz
- (full CD quality). Note that other format options
- given later can change this setting.
-
- Select sample quality
- ----bbbb 8888 specifies 8 bit (1 Byte) for each sample in each
- channel; ----bbbb 11112222 specifies 12 bit (2 Byte) for each sam-
- ple in each channel; ----bbbb 11116666 specifies 16 bit (2 Byte)
- for each sample in each channel (Ensure that your sam-
- ple player or sound card is capable of playing 12-bit
- or 16-bit samples). Selecting 12 or 16 bits doubles
- file size. 12-bit samples are aligned to 16-bit sam-
- ples, so they waste some disk space.
-
- Select sample rate
- ----rrrr _s_a_m_p_l_e_r_a_t_e selects a sample rate. _s_a_m_p_l_e_r_a_t_e can be
- in a range between 44100 and 900. Option ----RRRR lists all
- available rates.
-
-
-
-
- SunOS 5.4 Last change: 3
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- Select sample rate divider
- ----aaaa _d_i_v_i_d_e_r selects a sample rate divider. _d_i_v_i_d_e_r can
- be minimally 1 and maximally 50.5 and everything
- between in steps of 0.5. Option ----RRRR lists all available
- rates.
-
- To make the sound smoother at lower sampling rates,
- ccccddddddddaaaa2222wwwwaaaavvvv sums over _n samples (where _n is the specific
- dividend). So for 22050 Hertz output we have to sum
- over 2 samples, for 900 Hertz we have to sum over 49
- samples. This cancels higher frequencies. Standard
- sector size of an audio CD (ignoring additional infor-
- mation) is 2352 Bytes. In order to finish summing for
- an output sample at sector boundaries the rates above
- have to be choosen. Arbitrary sampling rates in high
- quality would require some interpolation scheme, which
- needs much more sophisticated programming.
-
- List a table of all sampling rates
- ----RRRR shows a list of all sample rates and their dividers.
- Dividers can range from 1 to 50.5 in steps of 0.5.
-
- Select start track and optionally end track
- ----tttt _n+_m selects nnnn as the start track and optionally mmmm as
- the last track of a range to be recorded. These tracks
- must be from the table of contents. This sets the
- track where recording begins. Recording can advance
- through the following tracks as well (limited by the
- optional end track or otherwise depending on recording
- time). Whether one file or different files are then
- created depends on the ----BBBB option (see below).
-
- Select start index
- ----iiii _n selects the index to start recording with.
- Indices other than 1 will invoke the index scanner,
- which will take some time to find the correct start
- position. An offset may be given additionally (see
- below).
-
- Set recording time
- ----dddd nnnn sets recording time to _n seconds or set recording
- time for whole track if _n is zero. Please note that if
- track ranges are being used they define the recording
- time as well thus overriding any ----dddd option specified
- times.
-
- Recording time is defined as the time the generated
- sample will play (at the defined sample rate). Since
- it's related to the amount of generated samples, it's
- not the time of the sampling process itself (which can
- be less or more). It's neither strictly coupled with
- the time information on the audio CD (shown by your
-
-
-
- SunOS 5.4 Last change: 4
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- hifi CD player). Differences can occur by the usage of
- the ----oooo option (see below). Notice that recording time
- will be shortened, unless enough disk space exists.
- Recording can be aborted at anytime by pressing the
- break character (signal SIGQUIT).
-
- Record a complete audio CD in one go in different files
- ----BBBB copies each track into a seperate file. A base name
- can be given. File names have an appended track number
- and an extension corresponding to the audio format. To
- record all audio tracks of a CD, use a sufficient high
- duration (i.e. -d99999).
-
- Set start sector offset
- ----oooo _s_e_c_t_o_r_s increments start sector of the track by _s_e_c_-
- _t_o_r_s. By this option you are able to skip a certain
- amount at the beginning of a track so you can pick
- exactly the part you want. Each sector runs for 1/75
- seconds, so you have very fine control. If your offset
- is so high that it would not fit into the current
- track, a warning message is issued and the offset is
- ignored. Recording time is not reduced. (To skip
- introductory quiet passages automagically, use the ---- wwww
- option see below.)
-
- Wait for signal option
- ----wwww Turning on this option will suppress all silent out-
- put at startup, reducing possibly file size. ccccddddddddaaaa2222wwwwaaaavvvv
- will watch for any signal in the output signal and
- switches on writing to file.
-
- Find extrem samples
- ----FFFF Turning on this option will display the most nega-
- tive and the most positive sample value found during
- recording for both channels. This can be useful for
- readjusting the volume. The values shown are not reset
- at track boundaries, they cover the complete sampling
- process. They are taken from the original samples and
- have the same format (i.e. they are independent of the
- selected output format).
-
- Find if input samples are in mono
- ----GGGG If this option is given, input samples for both
- channels will be compared. At the end of the program
- the result is printed. Differences in the channels
- indicate stereo, otherwise when both channels are equal
- it will indicate mono.
-
- Undo the pre-emphasis in the input samples
- ----TTTT Some older audio CDs are recorded with a modified
- frequency response called pre-emphasis. This is found
- mostly in classical recordings. The correction can be
-
-
-
- SunOS 5.4 Last change: 5
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- seen in the flags of the Table Of Contents often. But
- there are recordings, that show this setting only in
- the subchannels. If you know you have a pre-emphasized
- recording and want cdda2wav to undo this, you have to
- specify this option. A reverse filtering is done before
- the samples are written into the audio file.
-
- Set audio format
- ----OOOO aaaauuuuddddiiiioooottttyyyyppppeeee can be _w_a_v (for wav files) or _a_u or _s_u_n
- (for sun PCM files) or _c_d_r or _r_a_w (for headerless files
- to be used for cd writers). All file samples are coded
- in linear pulse code modulation (as done in the audio
- compact disc format). This holds for all audio formats.
- Wav files are compatible to Wind*ws sound files, they
- have lsb,msb byte order as being used on the audio cd.
- The default filename extension is '.wav'. Sun type
- files are not like the older common logarithmically
- coded .au files, but instead as mentioned above linear
- PCM is used. The byte order is msb,lsb to be compati-
- ble. The default filename extension is '.au'. The AIFF
- and the newer variant AIFC from the Apple/SGI world
- store their samples in bigendian format (msb,lsb). In
- AIFC no compression is used. Finally the easiest 'for-
- mat', the cdr aka raw format. It is done per default in
- msb,lsb byte order to satisfy the order wanted by most
- cd writers. Since there is no header information in
- this format, the sample parameters can only be identi-
- fied by playing the samples on a soundcard or similiar.
- The default filename extension is '.cdr' or '.raw'.
-
- Select cdrom drive reading speed
- ----SSSS ssssppppeeeeeeeedddd allows to switch the cdrom drive to a certain
- level of speed in order to reduce read errors. The
- actual speed factor can generally be given completely
- freely, since there are often less settings than fac-
- tors possible. Details depend very much on the cdrom
- drives. An argument of 0 for example is often the
- default speed of the drive, a value of 1 often selects
- single speed.
-
- Enable MD5 checksums
- ----MMMM ccccoooouuuunnnntttt enables calculation of MD-5 checksum for
- 'count' bytes from the beginning of a track. This was
- introduced for quick comparisons of tracks.
-
- Do linear or overlapping reading of sectors
- ----PPPP sssseeeeccccttttoooorrrrssss sets the given number of sectors for ini-
- tial overlap sampling for jitter correction. Two cases
- are to be distinguished. For nonzero values, some sec-
- tors are read twice to enable cdda2wav's jitter correc-
- tion. If an argument of zero is given, no overlap sam-
- pling will be used. NNNNEEEEWWWWSSSS!!!! For nonzero overlap sectors
-
-
-
- SunOS 5.4 Last change: 6
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- cdda2wav dynamically adjusts the setting during sam-
- pling (like cdparanoia does). If no match can be
- found, cdda2wav retries the read with an increased
- overlap. If the amount of jitter is lower than the
- current overlapped samples, cdda2wav reduces the over-
- lap setting, resulting in a higher reading speed. The
- argument given has to be lower than the total number of
- sectors per request (see option -_n below). Cdda2wav
- will check this setting and issues a error message oth-
- erwise. The case of zero sectors is nice on low load
- situations or errorfree (perfect) cdrom drives and per-
- fect (not scratched) audio cds.
-
- Set the transfer size
- ----nnnn sssseeeeccccttttoooorrrrssss will set the transfer size to the specified
- sectors per request.
-
- Set number of ring buffer elements
- ----llll bbbbuuuuffffffffeeeerrrrssss will allocate the specified number of ring
- buffer elements.
-
- Set endianess of input samples
- ----CCCC eeeennnnddddiiiiaaaannnneeeessssssss will override the default settings of the
- input format. Endianess can be set explicitly to "lit-
- tle" or "big" or to the automatic endianess detection
- based on voting with "guess".
-
- Set endianess of output samples
- ----EEEE eeeennnnddddiiiiaaaannnneeeessssssss (endianess can be "little" or "big") will
- override the default settings of the output format.
-
- Verbose option
- ----vvvv lllleeeevvvveeeellll prints more information. A binary mask allows
- selection of different information.
-
- 0000 keeps quiet
-
- 1111 displays the table of contents
-
- 2222 displays a summary of recording parameters
-
- 4444 invokes the index scanner and displays start posi-
- tions of indices
-
- 8888 retrieves and displays a media catalog number
-
- 11116666 retrieves and displays international standard
- recording codes
-
- 33332222 displays track start positions in absolute sector
- notation
-
-
-
-
- SunOS 5.4 Last change: 7
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- To combine several requests just add the numbers and
- give the sum as argument.
-
- The table of contents
- The display will show the table of contents with number
- of tracks and total time (displayed in _m_m:_s_s._h_h format,
- _m_m=minutes, _s_s=seconds, _h_h=rounded 1/100 seconds). The
- following list displays track number and track time for
- each entry. The summary gives a line per track
- describing the type of the track.
-
- ttttrrrraaaacccckkkk pppprrrreeeeeeeemmmmpppphhhhaaaassssiiiissss ccccooooppppyyyyppppeeeerrrrmmmmiiiitttttttteeeedddd ttttrrrraaaacccckkkkttttyyyyppppeeee cccchhhhaaaannnnssss
-
- The ttttrrrraaaacccckkkk column holds the track number. pppprrrreeeeeeeemmmmpppphhhhaaaassssiiiissss
- shows if that track has been given a non linear fre-
- quency response. NOTE: You can undo this effect with
- the ----TTTT option. ccccooooppppyyyy----ppppeeeerrrrmmmmiiiitttttttteeeedddd indicates if this track
- is allowed to copy. ttttrrrraaaacccckkkkttttyyyyppppeeee can be data or audio. On
- multimedia CDs (except hidden track CDs) both of them
- should be present. cccchhhhaaaannnnnnnneeeellllssss is defined for audio
- tracks only. There can be two or four channels.
-
- No file output
- ----NNNN this debugging option switches off writing to a
- file.
-
- No infofile generation
- ----HHHH this option switches off creation of an info file
- and a cddb file.
-
- Verbose SCSI logging
- ----VVVV this option switches on logging of SCSI commands.
- This will produce a lot of output, which is needed for
- debugging purposes. The format is the same as being
- used with the cdrecord package from J÷rg Schilling. I
- will not describe it here.
-
- Quiet option
- ----qqqq suppresses all screen output except error messages.
- Further it avoids any sub q channel requests for posi-
- tion reports in the recording display. That reduces cpu
- time resources and allows feeding a soundcard with
- audio data on the fly.
-
- Just show information option
- ----JJJJ does not write a file, it only prints information
- about the disc (depending on the ----vvvv option). This is
- just for information purposes.
-
- HHHHIIIINNNNTTTTSSSS OOOONNNN UUUUSSSSAAAAGGGGEEEE
- Don't create samples you cannot read. First check your sam-
- ple player software and sound card hardware. I experienced
-
-
-
- SunOS 5.4 Last change: 8
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- problems with very low sample rates (stereo <= 1575 Hz, mono
- <= 3675 Hz) when trying to play them with standard WAV
- players for sound blaster (maybe they are not legal in WWWWAAAAVVVV
- format). Most CD-Writers insist on audio samples in a bigen-
- dian format. Now cdda2wav supports the ----EEEE eeeennnnddddiiiiaaaannnneeeessssssss option
- to control the endianess of the written samples.
-
- If your hardware is fast enough to run cdda2wav uninter-
- rupted and your CD drive is one of the 'perfect' ones, you
- will gain speed when switching all overlap sampling off with
- the ----PPPP 0000 option. Further fine tuning can be done with the ----
- nnnn sssseeeeccccttttoooorrrrssss option. You can specify how much sectors should
- be requested in one go.
-
- Cdda2wav supports ppppiiiippppeeeessss now. Use a filename of ---- to let
- cdda2wav output its samples to standard output.
-
- Conversion to other sound formats can be done using the ssssooooxxxx
- program package (although the use of ssssooooxxxx ----xxxx to get byte
- swaps should be no more necessary; see option ----EEEE to change
- the output byteorder).
-
- If you really want to sample more than one track in one go
- into different files, this is currently possible with the ----BBBB
- option. When recording time exceeds the track limit a new
- file will be opened for the next track.
-
- WWWWAAAARRRRNNNNIIIINNNNGGGG
- IIIIMMMMPPPPOOOORRRRTTTTAAAANNNNTTTT:::: it is prohibited to sell copies of copyrighted
- material by noncopyright holders. This program may not be
- used to circumvent copyrights.
-
- BBBBUUUUGGGGSSSS
- A kernel bug (version < 1.1.20) prevented successful opera-
- tion of mode select commands.
-
- Performance may not be optimal on slower systems.
-
- The index scanner may give timeouts.
-
- The resampling (rate conversion code) uses polynomial inter-
- polation, which is not optimal.
-
- Enhanced CD extra information gathering is incomplete due to
- lack of documentation. Donations for purchase of a copy of
- the Blue Book might help.
-
- CD Text extra information gathering is incomplete due to
- lack of the latest Red Book additions. Donations for pur-
- chase of a copy of the Red Book are welcome.
-
- Cdda2wav should use threads.
-
-
-
- SunOS 5.4 Last change: 9
-
-
-
-
-
-
- CDDA2WAV(1) User Commands CDDA2WAV(1)
-
-
-
- The paranoia code is currently disabled.
-
- When using jitter correction with ATAPI cdrom drives, track
- endings are not handled correctly.
-
- AAAACCCCKKKKNNNNOOOOWWWWLLLLEEEEDDDDGGGGEEEEMMMMEEEENNNNTTTTSSSS
- Thanks goto Project MODE (http://www.mode.net/) and
- Fraunhofer Institut f ⁿr integrierte Schaltungen (FhG-IIS)
- (http://www.iis.fhg.de/) for financial support. Rammi has
- helped a lot with the debugging and showed a lot of stamina
- when hearing 100 times the first 16 seconds of the first
- track of the Krupps CD. Paranoia patches contributed by
- Monty xiphmont@mit.edu.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Heiko Eissfeldt heiko@colossus.escape.de
-
- DDDDAAAATTTTEEEE
- 25 Mar 1999
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SunOS 5.4 Last change: 10
-
-
-
-