📄 cdda2wav.man
字号:
----VVVV --------vvvveeeerrrrbbbboooosssseeee----SSSSCCCCSSSSIIII enable SCSI command logging to the console. This is mainly used for debugging. ----QQQQ --------ssssiiiilllleeeennnntttt----SSSSCCCCSSSSIIII suppress SCSI command error reports to the console. This is mainly used for guis. ----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鰎g Schilling's cdrecord package.SunOS 5.4 Last change: 1CDDA2WAV(1) User Commands CDDA2WAV(1)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. 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.SunOS 5.4 Last change: 2CDDA2WAV(1) User Commands CDDA2WAV(1) 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. 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.SunOS 5.4 Last change: 3CDDA2WAV(1) User Commands CDDA2WAV(1) 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. 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. In order to specify the duration in frames (sectors) also, the argument can have an appended 'f'. Then the numerical argument is to be taken as frames (sectors) rather than seconds. Please note that if track ranges are being used they define the recording time as well thus overriding any ----SunOS 5.4 Last change: 4CDDA2WAV(1) User Commands CDDA2WAV(1) 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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -