


User Commands                                         CDDA2WAV(1)



NNAAMMEE
     cdda2wav - dumps CD audio data into sound files  with  extra
     data verification

SSYYNNOOPPSSIISS
     ccddddaa22wwaavv [ _o_p_t_i_o_n_s ][ ddeevv==_d_e_v_i_c_e ] [_f_i_l_e(_s) or _d_i_r_e_c_t_o_r_i_e_s]

DDEESSCCRRIIPPTTIIOONN
     ccddddaa22wwaavv can retrieve audio tracks from  CDROM  drives  that
     are  capable of reading audio data digitally to the host via
     SCSI (CCDDDDAA).

     As ccddddaa22wwaavv implements strategies  to  work  around  typical
     defects on audio CDs it reads many disks that cannot be read
     by other software.  As ccddddaa22wwaavv may  be  told  to  use  lliibb--
     ppaarraannooiiaa  (see  -ppaarraannooiiaa  option  below) to verify the data
     that has been read from the  medium,  it  delivers  superior
     quality  even  if the medium is dusty, scratched or if other
     problems occur.

     As ccddddaa22wwaavv may be directed  to  write  the  audio  data  to
     stdout, it writes all it's informational output to stderr by
     default. See oouutt-ffdd==_d_e_s_c_r_i_p_t_o_r option below.

  DDeeffaauulltt sseettttiinnggss
     CCddddaa22wwaavv defaults to reead the first audio  track  from  the
     medium   and   the   default   verbose   level   is  set  to
     -vvttoocc,,ssuummmmaarryy,,sseeccttoorrss,,ttiittlleess and ccddddaa22wwaavv by default  writes
     **..iinnff  files.   To  extract  all  audio  tracks with quality
     verification, it is recommended to call:

     ccddddaa22wwaavv --vvaallll ccddddbb==00 --ppaarraannooiiaa --BB

  DDeevviiccee nnaammiinngg
     Most users do not need to care about device naming  at  all.
     If  no  ddeevv==  option was specified, ccddddaa22wwaavv implements aauuttoo
     ttaarrggeett support and automagically finds  the  drive  in  case
     that  exactly one CD-ROM type drive is available in the sys-
     tem.  In case that more than one CD-ROM type drive exists on
     the system, a list of possible device name parameters may be
     retrieved with ccddddaa22wwaavv -ssccaannbbuuss or from the target  example
     from  the output of ccddddaa22wwaavv ddeevv==hheellpp, then the ddeevv== parame-
     ter may be set based on the device listing.

     The _d_e_v_i_c_e parameter to  the  ddeevv==  option  explained  below
     refers  to _s_c_s_i_b_u_s/_t_a_r_g_e_t/_l_u_n of the CD/DVD/BluRay-Recorder.
     If a file /etc/default/cdrecord exists, the parameter to the
     ddeevv== option may also be a drive name label in said file (see
     FILES section).






SunOS 5.10          Last change: Version 3.0                    1






User Commands                                         CDDA2WAV(1)



OOPPTTIIOONNSS
  IInnffoorrmmaattiivvee ooppttiioonnss
     -hh

     -hheellpp
          display version information for  cdda2wav  on  standard
          output.

     -vveerrssiioonn
          display version and Copyright information.

  AAuuddiioo ooppttiioonnss
     -aa _d_i_v_i_d_e_r

     -ddiivviiddeerr _d_i_v_i_d_e_r
          sets rate to 44100Hz / _d_i_v_i_d_e_r.   Possible  values  are
          listed with the -RR option.

          The default divider value is 1.

     -BB

     -bbuullkk

     -aallllttrraacckkss
          copies each track into a separate file.

          The default is not to extract all tracks.

     -bb _b_i_t_s

     -bbiittss-ppeerr-ssaammppllee _b_i_t_s
          sets _b_i_t_s per sample per channel:  88, 1122 or 1166.

          The default is 16 bits per sample.

     -cc _c_h_a_n_n_e_l_s

     -cchhaannnneellss _c_h_a_n_n_e_l_s
          use:

          11    for mono recording

          22    for stereo recording

          ss    for stereo recording with both channels swapped

          The default is to do stereo recording.

     -CC _e_n_d_i_a_n_e_s_s

     -ccddrroomm-eennddiiaanneessss _e_n_d_i_a_n_e_s_s



SunOS 5.10          Last change: Version 3.0                    2






User Commands                                         CDDA2WAV(1)



          sets endianess of the input samples to 'little', 'big',
          'machine'  or  'guess' to override defaults.  The value
          'machine' or 'host' is evaluated  as  the  actual  byte
          order of the host CPU in the current OS.

          The default is to detect cdrom endianess automatically.

     -ccuueeffiillee
          Create a CDRWIN compatible CUE file.  A CUE  file  that
          completely follows the CDRWIN documentation can only be
          used to create 1:1 copies if there  is  a  single  file
          with  audio  data  for  the whole disk.  The *.inf file
          format implements  more  audio  CD  features  than  the
          CDRWIN CUE format and it allows to create 1:1 copies if
          there is one audio data file per track.   Use  the  CUE
          file  format for meta data only if you really need this
          format.

          To allow ccddddaa22wwaavv to create CUE files,  you  must  also
          specify  -tt  aallll  to  switch  ccddddaa22wwaavv into a mode that
          creates a single audio data file for the whole CD.

     -TT

     -ddeeeemmpphhaassiizzee
          undo the effect of pre-emphasis in the input samples.

          The default is to keep the audio data in the same state
          as  on the medium and to mark the pre-emphasis state in
          the **..iinnff files.

     -LL _c_d_d_b _m_o_d_e

     -ccddddbb _c_d_d_b _m_o_d_e
          does a cddbp album- and track title lookup based on the
          cddb  id.  The parameter cddb mode defines how multiple
          entries shall be handled.
  _______________________________________________________________________
 | Parameter|  Description                                              |
 |___________|____________________________________________________________|
 |        -1|  disable cddb queries. This is the default.               |
 |         0|  interactive mode. The user selects the entry to use.     |
 |         1|  first fit mode. The first entry is taken unconditionally.|
 |___________|____________________________________________________________|

     ccddddbbpp-sseerrvveerr==_s_e_r_v_e_r_n_a_m_e
          sets the server to be contacted for title lookups.

     ccddddbbpp-ppoorrtt==_p_o_r_t_n_u_m_b_e_r
          sets the port number to be used for title lookups.

     -dd _d_u_r_a_t_i_o_n



SunOS 5.10          Last change: Version 3.0                    3






User Commands                                         CDDA2WAV(1)



     -dduurraattiioonn _d_u_r_a_t_i_o_n
          sets recording time in seconds or frames.  Frames (sec-
          tors)  are  indicated  by a 'f' suffix (like 75f for 75
          sectors).  00 sets the time for whole track.

          The default is to extract the whole track.

     -EE _e_n_d_i_a_n_e_s_s

     -oouuttppuutt-eennddiiaanneessss _e_n_d_i_a_n_e_s_s
          sets endianess of the output samples to 'little', 'big'
          or  'machine' to override the default which is 'network
          byte order'  (big  endian).   The  value  'machine'  or
          'host'  is  evaluated  as  the actual byte order of the
          host CPU in the current OS.

     -FF

     -ffiinndd-eexxttrreemmeess
          finds extreme amplitudes in samples.

     -GG

     -ffiinndd-mmoonnoo
          finds if input samples are in mono.

     -gg

     -gguuii formats the output to be better parsable by  gui  fron-
          tends.

     -HH

     -nnoo-iinnffooffiillee
          does not write an info file, a cddb file and no  cdtext
          file.

     -ii _i_n_d_e_x

     -iinnddeexx _i_n_d_e_x
          selects the start index.

     -JJ

     -iinnffoo-oonnllyy
          does not write to a file,  it  just  gives  information
          about the disc.

     -MM

     -mmdd55 enables calculation of  MD-5  checksum  for  all  audio
          bytes  from  the beginning of a track. The audio header



SunOS 5.10          Last change: Version 3.0                    4






User Commands                                         CDDA2WAV(1)



          is skipped when calculating the MD-5 checksum to  allow
          to  compare  MD-5  sums  even  for files with different
          header type.

     -mm

     -mmoonnoo
          sets to mono recording.

     -nnoo-hhiiddddeenn-ttrraacckk
          Ignore hidden tracks on the CD.  By  default,  ccddddaa22wwaavv
          checks  whether  there  might  be a hidden track before
          track 1.  This check may take a few  seconds  and  thus
          can be disabled with -nnoo-hhiiddddeenn-ttrraacckk.

     -NN

     -nnoo-wwrriittee
          does not write to a  file,  it  just  reads  (e.g.  for
          debugging  purposes).   If this option is used together
          with the -ee option, the CD is read and the  audio  con-
          tent  is played back to the sound device without creat-
          ing output files with audio data.

     -nnoo-tteexxttddeeffaauullttss
          By default, ccddddaa22wwaavv replaces empty CD-Text fields from
          tracks  by the related CD-Text fiel for the whole CD in
          case this is defined. If the option -nnoo-tteexxttddeeffaauullttss is
          used,  ccddddaa22wwaavv leaves the track related CD-Text fields
          empty in such a case.

     -nnoo-tteexxttffiillee
          If ccddddaa22wwaavv encounters useful  CD-Text  information  on
          the   CD,   it  writes  a  .cdtext  file.   The  option
          -nnoo-tteexxttffiillee allows to suppress  the  creation  of  the
          .cdtext file.

     -oo _o_f_f_s_e_t

     -ooffffsseett _o_f_f_s_e_t
          starts _o_f_f_s_e_t sectors behind start  track  (one  sector
          equivalents 1/75 seconds).

     -OO _a_u_d_i_o_t_y_p_e

     -oouuttppuutt-ffoorrmmaatt _a_u_d_i_o_t_y_p_e
          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).

          The default output format is now wwaavv for all  platforms



SunOS 5.10          Last change: Version 3.0                    5






User Commands                                         CDDA2WAV(1)



          as  this file format has become the most common format.
          Note that former versions of ccddddaa22wwaavv made an exception
          and by default did create aauu type files on Solaris.

     -pp _p_e_r_c_e_n_t_a_g_e

     -ppllaayybbaacckk-rreeaallttiimmee _p_e_r_c_e_n_t_a_g_e
          changes pitch of audio data copied to sound device.

     -PP _s_e_c_t_o_r_s

     -sseett-oovveerrllaapp _s_e_c_t_o_r_s
          sets the initial number of overlap _s_e_c_t_o_r_s  for  jitter
          correction  in  non-paranoia mode. Note that overlapped
          reads re handled differently in paranoia mode.

          The default overlap in non-paranoia mode is 1.

     -ppaarraannooiiaa
          use  the  paranoia  library  as  a  filter  on  top  of
          cdda2wav's routines for reading.  In ppaarraannooiiaa mode, the
          latency time for the -iinntteerraaccttiivvee mode is increased  to
          typically  5..10  seconds.  This  is caused by the fact
          that the ppaarraannooiiaa code reads anything  at  least  twice
          and in between needs to take care of emptying the cache
          RAM of the CD-ROM drive.

          If the ppaarraannooiiaa mode is used,  ccddddaa22wwaavv  displays  some
          quality  statistics for each extracted track.  The fol-
          lowing items appear in the list:
    ___________________________________________________________________
   |   Value|  Description                                            |
   |_________|__________________________________________________________|
   |   rderr|  Number of hard read errors                             |
   |    skip|  Number of sectors skipped due to exhausted retries     |
   |    atom|  Number of intra sector jitters (frame jitters) detected|
   |    edge|  Number of jitters between sectors detected             |
   |    drop|  Number of dropped bytes fixed                          |
   |     dup|  Number of duplicate bytes fixed                        |
   |   drift|  Number of drifts detected                              |
   | overlap|  Number of dynamic overlap size raises                  |
   |_________|__________________________________________________________|













SunOS 5.10          Last change: Version 3.0                    6






User Commands                                         CDDA2WAV(1)



     -ppaarraaooppttss==_l_i_s_t
          _L_i_s_t is a comma separated list of suboptions passed  to
          the paranoia library.
_______________________________________________________________________________
|        Option|  Description                                                 |
_|_______________|_______________________________________________________________|
|          help|  lists all paranoia options.                                 |
|       disable|  disables paranoia mode. Libparanoia is still being used     |
|     no-verify|  switches verify off, and static overlap on                  |
|retries=amount|  set the number of maximum retries per sector                |
|overlap=amount|  set the number of sectors used for statical paranoia overlap|
|minoverlap=amt|  set the min. number of sectors for dynamic paranoia overlap |
|maxoverlap=amt|  set the max. number of sectors for dynamic paranoia overlap |
|         proof|  set maxoverlap=_s_e_c_t_o_r_s-_p_e_r-_r_e_q_u_e_s_t-1,retries=200            |
_|_______________|_______________________________________________________________|

     -qq

     -qquuiieett
          quiet operation, no screen output.

     -rr _r_a_t_e

     -rraattee _r_a_t_e
          sets _r_a_t_e in samples per second.  Possible  values  are
          listed with the -RR option.

     -RR

     -dduummpp-rraatteess
          shows a list of all sample rates and their dividers.

     -SS _s_p_e_e_d

     -ssppeeeedd _s_p_e_e_d
          sets the cdrom device to one of the  selectable  speeds
          for  reading.   For  maximum  extraction quality, it is
          recommended to use speed values of 8 or below.

          The default is to extract at maximum speed.

     -ss

     -sstteerreeoo
          sets to stereo recording.

     -ssttaarrtt-sseeccttoorr _s_e_c_t_o_r
          set an absolute start sector. This option  is  mutually
          exclusive to -ttrraacckk and -ooffffsseett.






SunOS 5.10          Last change: Version 3.0                    7






User Commands                                         CDDA2WAV(1)



     -tt _t_r_a_c_k[+_e_n_d_t_r_a_c_k]

     -ttrraacckk _t_r_a_c_k[+_e_n_d_t_r_a_c_k]

     -ttrraacckk _t_r_a_c_k++mmaaxx

     -ttrraacckk aallll
          selects the start track and optionally the  end  track.
          If  -tt aallll  is used, all audio tracks are selected.  If
          -tt 22++mmaaxx is used, all audio tracks starting with  track
          2 are selected.

     -vv _i_t_e_m_l_i_s_t

     -vveerrbboossee-lleevveell _i_t_e_m_l_i_s_t
          Retrieves and prints verbose information about the  CD.
          LLeevveell  is  a  list  of comma separated suboptions. Each
          suboption  controls  the  type  of  information  to  be
          reported.




































SunOS 5.10          Last change: Version 3.0                    8






User Commands                                         CDDA2WAV(1)



_______________________________________________________________________________
|   Suboption|  Description                                                   |
_|_____________|_________________________________________________________________|
|           !|  invert the meaning of the following string                    |
|         not|  invert the meaning of the following string                    |
|     disable|  no information is given, warnings appear however              |
|         all|  all information is given                                      |
|         toc|  show table of contents                                        |
|     summary|  show a summary of the recording parameters                    |
|     indices|  determine and display index offsets                           |
|     catalog|  retrieve and display the media catalog number MCN             |
|         mcn|  retrieve and display the media catalog number MCN             |
|     trackid|  retrieve and display all Intern. Standard Recording Codes ISRC|
|        isrc|  retrieve and display all Intern. Standard Recording Codes ISRC|
|     sectors|  show the table of contents in start sector notation           |
|      titles|  show the table of contents with track titles (when available) |
|audio-tracks|  list the audio tracks and their start sectors                 |
_|_____________|_________________________________________________________________|

          The   default   value   for   the   verbose-level    is
          ttoocc,,ssuummmmaarryy,,sseeccttoorrss,,ttiittlleess .

     -ww

     -wwaaiitt
          waits for signal, then start recording.

     -xx

     -mmaaxx sets maximum (CD) quality.

  SSCCSSII ooppttiioonnss
     ddeevv==_d_e_v_i_c_e

     -DD _d_e_v_i_c_e

     -ddeevviiccee _d_e_v_i_c_e
          uses _d_e_v_i_c_e as the source for CDDA reading.  For  exam-
          ple  /dev/cdrom  for  the  ccooookkeedd__iiooccttll  interface  and
          Bus,ID,Lun for the ggeenneerriicc__ssccssii interface.  The  _d_e_v_i_c_e
          has  to  correspond with the interface setting if given
          (see -II and -iinntteerrffaaccee option below).

          If no -II or -iinntteerrffaaccee option has been  specified,  the
          interface  setting is derived from the device name syn-
          tax. A device name that is in the  form  Bus,ID,Lun  or
          contains  a  colon  (':')  defaults to the ggeenneerriicc__ssccssii
          interface.

          Using the ccooookkeedd__iiooccttll is not recommended as this makes
          ccddddaa22wwaavv  mainly depend on the audio extraction quality
          of the operating system which is usually extremely bad.



SunOS 5.10          Last change: Version 3.0                    9






User Commands                                         CDDA2WAV(1)



          For   this   reason,   avoid   using   parameters  like
          ddeevv==/dev/cdrom for the device.

          The setting of the environment variable CCDDDDAA__DDEEVVIICCEE  is
          overridden by this option.

          If no ddeevv== option is present, or  if  the  ddeevv==  option
          only  contains  a  transport  specifyer but no address,
          ccddddaa22wwaavv tries to scan the SCSI address space  for  CD-
          ROM  drives.   If exactly one is found, this is used by
          default.

          For more information, see the description of  the  ddeevv==
          option from ccddrreeccoorrdd(1).

     ddeebbuugg==#

     ddeebbuugg--ssccssii==#
          Set the debug level for the lliibbssccgg SCSI OS  abstraction
          layer.

     kkddeebbuugg==#

     kkddeebbuugg--ssccssii==#

     kkdd==# Set the kernel debug level for the kernel driver called
          by the lliibbssccgg SCSI OS abstraction layer. This option is
          not supported on all platforms.

     -ssccaannbbuuss
          Scan all SCSI devices on all SCSI busses and print  the
          inquiry  strings.  This option may be used to find SCSI
          address  of  the  CD/DVD-Recorder  on  a  system.   The
          numbers  printed  out  as labels are computed by: bbuuss **
          110000 ++ ttaarrggeett

     ttss==# Set the maximum transfer size for a single SCSI command
          to #.  The syntax for the ttss== option is the same as for
          cdrecord fs=# or sdd bs=#.

          If no ttss== option has been specified, ccddddaa22wwaavv  defaults
          to a transfer size of 3 MB. If libscg gets lower values
          from the operating system, the value is reduced to  the
          maximum value that is possible with the current operat-
          ing system.  Sometimes, it may help to  further  reduce
          the  transfer  size  or to enhance it, but note that it
          may take a long time to find a better value by  experi-
          menting with the ttss== option.

          Some operating systems return wrong values for the max-
          imum  transfer  size.  If the transfer totally hangs or
          resets occur, it  may  be  appropriate  to  reduce  the



SunOS 5.10          Last change: Version 3.0                   10






User Commands                                         CDDA2WAV(1)



          transfer  size  to less than 64 kB or even less than 32
          kB.

     -VV

     -vveerrbboossee-ssccssii
          enable SCSI command logging to  the  console.  This  is
          mainly used for debugging.

     -QQ

     -ssiilleenntt-ssccssii
          suppress SCSI command error  reports  to  the  console.
          This is mainly used for guis.


  OOSS IInntteerrffaaccee ooppttiioonnss
     -AA _a_u_x_d_e_v_i_c_e

     -aauuxxddeevviiccee _a_u_x_d_e_v_i_c_e
          uses _a_u_x_d_e_v_i_c_e as CDROM drive  to  allow  to  send  the
          CDROMMULTISESSION   ioctl   on   Linux   although   the
          ggeenneerriicc__ssccssii interface is in use.

     -II _i_n_t_e_r_f_a_c_e

     -iinntteerrffaaccee _i_n_t_e_r_f_a_c_e
          specifies the _i_n_t_e_r_f_a_c_e to use for accessing the CDROM:


          ggeenneerriicc__ssccssii
               for sending SCSI commands directly to the drive.

          ccooookkeedd__iiooccttll
               for using the programming  interface  supplied  by
               the OS kernel.

          The latter is not recommended as it gives lower quality
          and only works on a limited number of platforms.
















SunOS 5.10          Last change: Version 3.0                   11






User Commands                                         CDDA2WAV(1)



     -iinntteerraaccttiivvee
          Go into interactive mode that reads commands from ssttddiinn
          and  writes  the textual replies to ssttddeerrrr, or the file
          descriptor  that  has  been  specified  by  the  oouutt-ffdd
          option.   This mode has been introduced mainly to allow
          cdrecord to be called by gstreamer plugins.

          If ccddddaa22wwaavv was called with the option -iinntteerraaccttiivvee, it
          reads  the  TOC from the medium and then waits for com-
          mand input as if it has been issued a ssttoopp command.  If
          the  next  command  is  a  ccoonntt  command, then ccddddaa22wwaavv
          extracts the whole audio part of the  medium.   If  the
          next  command  is  a rreeaadd command, then ccddddaa22wwaavv starts
          extracting from the position that was indicated by  the
          rreeaadd command parameter.
____________________________________________________________________________
|Command|  Parameters           |  Description                             |
_|________|________________________|___________________________________________|
| cont  |                       |  continue processing at current position |
| exit  |                       |  exit processing                         |
| help  |                       |  print command help and wait for input   |
| quit  |                       |  exit processing                         |
| read  |  sectors _s_e_c_t_o_r _n_u_m_b_e_r|  read sectors starting from _s_e_c_t_o_r _n_u_m_b_e_r|
| read  |  tracks _t_r_a_c_k _n_u_m_b_e_r  |  read sectors starting from _t_r_a_c_k _n_u_m_b_e_r |
| stop  |                       |  stop processing and wait for new input  |
_|________|________________________|___________________________________________|

     oouutt-ffdd==_d_e_s_c_r_i_p_t_o_r
          Redirect informational output to  the  file  descriptor
          named  by  ddeessccrriippttoorr.  The parameter ddeessccrriippttoorr speci-
          fies  a  UNIX  file  descriptor  number.   By  default,
          ccddddaa22wwaavv   sends   informational   output   to  ssttddeerrrr.
          Redirecting the informational  output  to  a  different
          file  descriptor  helps  gui's  and other programs that
          call ccddddaa22wwaavv via pipes.

     aauuddiioo-ffdd==_d_e_s_c_r_i_p_t_o_r
          In case that the file name for the audio data  file  is
          "-", redirect audio output to the file descriptor named
          by ddeessccrriippttoorr.  The parameter  ddeessccrriippttoorr  specifies  a
          UNIX  file  descriptor  number.   By  default, ccddddaa22wwaavv
          sends audio  data  to  ssttddoouutt  if  the  output  is  not
          directed  into a file.  Redirecting the audio output to
          a different file descriptor helps gui's and other  pro-
          grams that call ccddddaa22wwaavv via pipes.

     -nnoo--ffoorrkk
          Do not fork for extended buffering. If -nnoo--ffoorrkk is used
          and ccddddaa22wwaavv is used to play back audio CDs in ppaarraannooiiaa
          mode, the playback is not always uninterrupted  due  to
          lack   of  buffering.   On  the  other  side,  allowing
          ccddddaa22wwaavv to fork will increase the latency time for the



SunOS 5.10          Last change: Version 3.0                   12






User Commands                                         CDDA2WAV(1)



          -iinntteerraaccttiivvee mode.

     -ee

     -eecchhoo
          copies audio data to sound device  from  the  operating
          system e.g.  //ddeevv//ddsspp.

     ssoouunndd-ddeevviiccee==_s_o_u_n_d_d_e_v_i_c_e
          set an alternate sound device to use for -ee.

     -nn _s_e_c_t_o_r_s

     -sseeccttoorrss-ppeerr-rreeqquueesstt _s_e_c_t_o_r_s
          reads _s_e_c_t_o_r_s per request.

     -ll _b_u_f_f_e_r_s

     -bbuuffffeerrss-iinn-rriinngg _b_u_f_f_e_r_s
          uses a ring buffer with _b_u_f_f_e_r_s total.


EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
     Some defaults for ccddddaa22wwaavv are compiled in and depend on the
     MMaakkeeffiillee others on the eennvviirroonnmmeenntt vvaarriiaabbllee settings.

     CCDDDDAA__DDEEVVIICCEE
          is used to set the device name. The  device  naming  is
          compatible with ccddrreeccoorrdd(1).

     CCDDDDBBPP__SSEERRVVEERR
          is used for cddbp title lookups when supplied.

     CCDDDDBBPP__PPOORRTT
          is used for cddbp title lookups when supplied.

     RRSSHH  If the RRSSHH environment variable is present, the  remote
          connection  will not be created via rrccmmdd(3) but by cal-
          ling  the  program  pointed  to  by  RRSSHH.    Use   e.g.
          RRSSHH==/usr/bin/ssh to create a secure shell connection.

          Note that this forces ccddddaa22wwaavv to create a pipe to  the
          rrsshh((11))  program  and  disallows  ccddddaa22wwaavv  to  directly
          access the network socket to the remote  server.   This
          makes  it  impossible  to set up performance parameters
          and slows down the connection compared to a  rroooott  ini-
          tiated rrccmmdd((33)) connection.

     RRSSCCSSII
          If the  RRSSCCSSII  environment  variable  is  present,  the
          remote   SCSI   server   will   not   be   the  program
          //oopptt//sscchhiillyy//ssbbiinn//rrssccssii but the program  pointed  to  by



SunOS 5.10          Last change: Version 3.0                   13






User Commands                                         CDDA2WAV(1)



          RRSSCCSSII.   Note  that the remote SCSI server program name
          will be ignored if you log in using an account that has
          been created with a remote SCSI server program as login
          shell.

EEXXIITT SSTTAATTUUSS
     ccddddaa22wwaavv uses the following exit codes to  indicate  various
     degress of success:
_______________________________________________________________________________
|Exitcode|  Description                                                       |
_|_________|_____________________________________________________________________|
|       0|  no errors encountered, successful operation.                      |
|       1|  usage or syntax error. cdda2wav got inconsistent arguments.       |
|       2|  permission (un)set errors. permission changes failed.             |
|       3|  read errors on the cdrom/burner device encountered.               |
|       4|  write errors while writing one of the output files encountered.   |
|       5|  errors with soundcard handling (initialization/write).            |
|       6|  errors with stat() system call on the read device (cooked ioctl). |
|       7|  pipe communication errors encountered (in forked mode).           |
|       8|  signal handler installation errors encountered.                   |
|       9|  allocation of shared memory failed (in forked mode).              |
|      10|  dynamic heap memory allocation failed.                            |
|      11|  errors on the audio cd medium encountered.                        |
|      12|  device open error in ioctl handling detected.                     |
|      13|  race condition in ioctl interface handling detected.              |
|      14|  error in ioctl() operation encountered.                           |
|      15|  internal error encountered. Please report back!!!                 |
|      16|  error in semaphore operation encountered (install / request).     |
|      17|  could not get the scsi transfer buffer.                           |
|      18|  could not create pipes for process communication (in forked mode).|
_|_________|_____________________________________________________________________|

DDIISSCCUUSSSSIIOONN
     ccddddaa22wwaavv is able to read parts of an aauuddiioo CD or  mmuullttiimmeeddiiaa
     CDROM  (containing  audio  parts)  directly digitally. These
     parts can be written to a file, a pipe, or to a  sound  dev-
     ice.

     ccddddaa22wwaavv stands for CCDDDDAA to WWAAVV (where CCDDDDAA stands for  com-
     pact  disc  digital  audio  and WWAAVV is a sound sample format
     introduced by MS Windows).  It  allows  copying  CCDDDDAA  audio
     data  from  the CDROM drive into a file in WWAAVV or other for-
     mats.

     Some versions of ccddddaa22wwaavv may 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.

     If you only have one CDROM and it is loaded  with  an  audio
     CD,  you  may  simply invoke ccddddaa22wwaavv and it will create the



SunOS 5.10          Last change: Version 3.0                   14






User Commands                                         CDDA2WAV(1)



     sound file aauuddiioo..wwaavv 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  limited.  For  details  see files RREEAADDMMEE and
     RREEAADDMMEE..IINNSSTTAALLLL.

     If you have more then one CD-ROM type drive in  the  system,
     you need to specify the ddeevv== option.

HHIINNTTSS OONN OOPPTTIIOONNSS
     Most of the options are used to control the  format  of  the
     WAV  file.  In the following text most of them are discussed
     in a more verbose way.

  SSeelleecctt DDeevviiccee
     ddeevv==_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).  For the ccooookkeedd__iiooccttll  interface  this  is  the
     cdrom  device  descriptor.   TThhee  SSCCSSII ddeevviicceess uusseedd wwiitthh tthhee
     ggeenneerriicc SSCCSSII iinntteerrffaaccee  hhoowweevveerr  aarree  aaddddrreesssseedd  wwiitthh  tthheeiirr
     SSCCSSII--BBuuss,,  SSCCSSII--IIdd,, aanndd SSCCSSII--LLuunn iinnsstteeaadd ooff tthhee ggeenneerriicc SSCCSSII
     ddeevviiccee ddeessccrriippttoorr.. One example for a SCSI CDROM drive on bus
     0 with SCSI ID 3 and lun 0 is ddeevv==00,,33,,00.

  SSeelleecctt AAuuxxiilliiaarryy ddeevviiccee
     -AA _a_u_x_d_e_v_i_c_e may be needed in some rare cases  for  CD-Extra
     handling.   CCddddaa22wwaavv  usually  has  no  problem  to  get the
     multi-session information for CD-Extra using raw  SCSI  com-
     mands.  For Non-SCSI-CDROM drives this is the same device as
     given by ddeevv== (see above). For SCSI-CDROM drives it  is  the
     CDROM  drive (SCSI) device (i.e. //ddeevv//ssrr00 ) corresponding to
     the SCSI device (i.e.  00,,33,,00 ). It has to match  the  device
     used for sampling.

  SSeelleecctt IInntteerrffaaccee
     -II _i_n_t_e_r_f_a_c_e selects the CDROM drive  communication  method.
     This  interface  method  is typically automatically selected
     from the device name.  For SCSI drives ggeenneerriicc__ssccssii is  used
     (cooked_ioctl  may not be available for all devices).  Valid
     names are ggeenneerriicc__ssccssii and ccooookkeedd__iiooccttll.  The first uses the
     generic  SCSI  interface,  the  latter uses the ioctl of the
     CDROM driver. The latter variant works only when the  kernel
     driver  supports  CCDDDDAA  reading. This entry has to match the
     selected CDROM device (see above).

  EEnnaabbllee eecchhoo ttoo ssoouunnddccaarrdd
     -ee 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  critical,  so  it
     works  best with the -qq option.  To use ccddddaa22wwaavv as a pseudo
     CD player without recording in a file you could use




SunOS 5.10          Last change: Version 3.0                   15






User Commands                                         CDDA2WAV(1)



     ccddddaa22wwaavv -qq -ee -tt22 -dd00 -NN

     to play the whole second track or

     ccddddaa22wwaavv -qq -ee -BB -NN

     to play the whole disk.  This feature reduces the  recording
     speed to at most onefold speed.

  CChhaannggee ppiittcchh ooff eecchhooeedd aauuddiioo
     -pp ppeerrcceennttaaggee 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 per-
     centages correspond to lower pitches, i.e.  -p 50 transposes
     the  audio  output  one  octave  lower.  See also the script
     ppiittcchhppllaayy as an example. This option was contributed by Raul
     Sobon.

  SSeelleecctt mmoonnoo oorr sstteerreeoo rreeccoorrddiinngg
     -mm or -cc 11 selects mono recording (both stereo channels  are
     mixed), -ss or -cc 22 or -cc ss selects stereo recording. Parame-
     ter s will swap both sound channels.

  SSeelleecctt mmaaxxiimmuumm qquuaalliittyy
     -xx 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.

  SSeelleecctt ssaammppllee qquuaalliittyy
     -bb 88 specifies 8 bit (1 Byte) for each sample in each  chan-
     nel; -bb 1122 specifies 12 bit (2 Byte) for each sample in each
     channel; -bb 1166 specifies 16 bit (2 Byte) for each sample  in
     each  channel  (Ensure that your sample 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 samples, so they waste some disk space.

  SSeelleecctt ssaammppllee rraattee
     -rr _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 -RR lists all available
     rates.

  SSeelleecctt ssaammppllee rraattee ddiivviiddeerr
     -aa _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 -RR lists all available rates.

     To make the sound smoother at lower sampling rates, ccddddaa22wwaavv
     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



SunOS 5.10          Last change: Version 3.0                   16






User Commands                                         CDDA2WAV(1)



     higher frequencies. Standard sector  size  of  an  audio  CD
     (ignoring additional information) is 2352 Bytes. In order to
     finish summing for an output sample at sector boundaries the
     rates  above have to be chosen.  Arbitrary sampling rates in
     high quality would require some interpolation scheme,  which
     needs much more sophisticated programming.

  LLiisstt aa ttaabbllee ooff aallll ssaammpplliinngg rraatteess
     -RR shows a list of all  sample  rates  and  their  dividers.
     Dividers can range from 1 to 50.5 in steps of 0.5.

  SSeelleecctt ssttaarrtt ttrraacckk aanndd ooppttiioonnaallllyy eenndd ttrraacckk
     -tt _n+_m selects nn as the start track and optionally mm 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 follow-
     ing 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  -BB  option
     (see below).

  SSeelleecctt ssttaarrtt iinnddeexx
     -ii _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).

  SSeett rreeccoorrddiinngg dduurraattiioonn
     -dd  nn sets recording time to _n seconds or set recording time
     for  whole track if _n is zero. In order to specify the dura-
     tion 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 -dd 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 hifi CD player).  Differences can
     occur by the usage of the -oo 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).

  RReeccoorrdd aallll ttrraacckkss ooff aa ccoommpplleettee aauuddiioo CCDD iinn sseeppaarraattee ffiilleess
     -BB copies each track into a separate 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.



SunOS 5.10          Last change: Version 3.0                   17






User Commands                                         CDDA2WAV(1)



     -d99999).

  SSeett ssttaarrtt sseeccttoorr ooffffsseett
     -oo _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 -ww
     option see below.)

  WWaaiitt ffoorr ssiiggnnaall ooppttiioonn
     -ww Turning on this option will suppress all silent output at
     startup,  reducing  possibly file size.  ccddddaa22wwaavv will watch
     for any signal in the output signal and switches on  writing
     to file.

  FFiinndd eexxttrreemmee ssaammpplleess
     -FF Turning on this option will display the most negative 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).

  FFiinndd iiff iinnppuutt ssaammpplleess aarree iinn mmoonnoo
     -GG 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, other-
     wise when both channels are equal it will indicate mono.

  UUnnddoo tthhee pprree--eemmpphhaassiiss iinn tthhee iinnppuutt ssaammpplleess
     -TT Some older audio CDs are recorded with  a  modified  fre-
     quency response called pre-emphasis. This is found mostly in
     classical recordings. The correction  can  be  seen  in  the
     flags  of the Table Of Contents often. But there are record-
     ings, that show this setting only  in  the  subchannels.  If
     this  option  is  given,  the index scanner will be started,
     which reads the q-subchannel of each track. If  pre-emphasis
     is  indicated in the q-subchannel of a track, but not in the
     TOC, pre-emphasis will be assumed to be present, and  subse-
     quently  a  reverse  filtering is done for this track before
     the samples are written into the audio file.

  SSeett aauuddiioo ffoorrmmaatt
     -OO  aauuddiioottyyppee 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



SunOS 5.10          Last change: Version 3.0                   18






User Commands                                         CDDA2WAV(1)



     format). This holds for all audio formats.   Wav  files  are
     compatible  to  Wind*ws  sound files, they have lsb,msb byte
     order which is the opposite byte order to the  one  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  compatible.  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 'format', 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 informa-
     tion in this format, the sample parameters can only be iden-
     tified by playing the samples on a soundcard or similar. The
     default filename extension is '.cdr' or '.raw'.

  SSeelleecctt ccddrroomm ddrriivvee rreeaaddiinngg ssppeeeedd
     -SS  ssppeeeedd allows to switch the  cdrom  drive  to  a  certain
     level  of speed in order to reduce read errors. The argument
     is transferred verbatim to the drive.  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.

  EEnnaabbllee MMDD55 cchheecckkssuummss
     -MM  ccoouunntt enables calculation of MD-5 checksum  for  'count'
     bytes from the beginning of a track. This was introduced for
     quick comparisons of tracks.

  UUssee MMoonnttyy''ss lliibbppaarraannooiiaa ffoorr rreeaaddiinngg ooff sseeccttoorrss
     -ppaarraannooiiaa selects an alternate way of extracting audio  sec-
     tors.  Monty's  library  is  used with the following default
     options:

     PARANOIA_MODE_FULL, but without PARANOIA_MODE_NEVERSKIP

     for details see Monty's libparanoia documentation.  In  this
     case the option -PP has no effect.

  DDoo lliinneeaarr oorr oovveerrllaappppiinngg rreeaaddiinngg ooff sseeccttoorrss
     (This applies unless option -ppaarraannooiiaa is used.)  -PP  sseeccttoorrss
     sets  the  given  number of sectors for initial overlap sam-
     pling for jitter  correction.  Two  cases  are  to  be  dis-
     tinguished.  For nonzero values, some sectors are read twice
     to enable cdda2wav's jitter correction.  If an  argument  of
     zero  is  given,  no  overlap  sampling  will  be used.  For
     nonzero overlap sectors  cdda2wav  dynamically  adjusts  the
     setting during sampling (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  overlap  setting,



SunOS 5.10          Last change: Version 3.0                   19






User Commands                                         CDDA2WAV(1)



     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 otherwise.  The case of zero  sectors
     is  nice on low load situations or errorfree (perfect) cdrom
     drives and perfect (not scratched) audio cds.

  SSeett tthhee ttrraannssffeerr ssiizzee
     -nn  sseeccttoorrss will set the transfer size to the specified sec-
     tors per request.

  SSeett nnuummbbeerr ooff rriinngg bbuuffffeerr eelleemmeennttss
     -ll  bbuuffffeerrss will  allocate  the  specified  number  of  ring
     buffer elements.

  SSeett eennddiiaanneessss ooff iinnppuutt ssaammpplleess
     -CC  eennddiiaanneessss will override  the  default  settings  of  the
     input  format.  Endianess can be set explicitly to "little",
     "big" or "machine" or to the automatic  endianess  detection
     based on voting with "guess".

  SSeett eennddiiaanneessss ooff oouuttppuutt ssaammpplleess
     -EE   eennddiiaanneessss  (endianess  can  be   "little",   "big"   or
     "machine")  will override the default settings of the output
     format.

  VVeerrbboossee ooppttiioonn
     -vv  iitteemmlliisstt prints more information. A list  allows  selec-
     tion of different information items.


     hheellpp      Print a summary of possible members  of  the  dif-
               fopts list.

     !!         Invert the meaning of  the  following  string.  No
               comma is needed after the exclamation mark.

     nnoott       Invert the meaning of all members in the  diffopts
               list i.e. exclude all present options from an ini-
               tially complete  set  compare  list.   When  using
               ccsshh(1) you might have problems to use !! due to its
               strange parser.  This is why the nnoott alias exists.

     ddiissaabbllee   disables verbosity

     aallll       all information is given

     ttoocc       displays the table of contents

     ssuummmmaarryy   displays a summary of recording parameters

     iinnddiicceess   invokes  the  index  scanner  and  displays  start



SunOS 5.10          Last change: Version 3.0                   20






User Commands                                         CDDA2WAV(1)



               positions of indices

     ccaattaalloogg   retrieves and displays a media catalog number

     ttrraacckkiidd   retrieves  and  displays  international   standard
               recording codes

     sseeccttoorrss   displays track start positions in absolute  sector
               notation

     To  combine  several  requests  just  list  the   suboptions
     separated with commas.

  TThhee ttaabbllee ooff ccoonntteennttss
     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 fol-
     lowing  list  displays  track number and track time for each
     entry.  The summary gives a line per  track  describing  the
     type of the track.

         ttrraacckk pprreeeemmpphhaassiiss ccooppyyppeerrmmiitttteedd ttrraacckkttyyppee cchhaannss

     The ttrraacckk column holds the track number.  pprreeeemmpphhaassiiss  shows
     if  that  track  has  been  given  a  non  linear  frequency
     response.  NOTE: You  can  undo  this  effect  with  the  -TT
     option.   ccooppyy-ppeerrmmiitttteedd  indicates if this track is allowed
     to copy.  ttrraacckkttyyppee can be data or audio. On multimedia  CDs
     (except  hidden  track  CDs) both of them should be present.
     cchhaannnneellss is defined for audio tracks only. There can be  two
     or four channels.

  NNoo ffiillee oouuttppuutt
     -NN this debugging option switches off writing to a file.

  NNoo iinnffooffiillee ggeenneerraattiioonn
     -HH this option switches off creation of an info file  and  a
     cddb file.

  GGeenneerraattiioonn ooff ssiimmppllee oouuttppuutt ffoorr gguuii ffrroonntteennddss
     -gg this option switches on simple line formatting, which  is
     needed to support gui frontends (like xcd-roast).

  VVeerrbboossee SSCCSSII llooggggiinngg
     -VV this option switches on logging of  SCSI  commands.  This
     will  produce  a  lot of output (when SCSI devices are being
     used).  This is needed for debugging purposes. The format is
     the  same  as  being  used  with  the  cdrecord program, see
     ccddrreeccoorrdd(1) for more information.

  QQuuiieett ooppttiioonn
     -qq suppresses all screen output except error messages.  That



SunOS 5.10          Last change: Version 3.0                   21






User Commands                                         CDDA2WAV(1)



     reduces cpu time resources.

  JJuusstt sshhooww iinnffoorrmmaattiioonn ooppttiioonn
     -JJ does not write a file, it only prints  information  about
     the  disc  (depending  on  the  -vv option). This is just for
     information purposes.

CCDDDDBBPP ssuuppppoorrtt
  LLooookkuupp aallbbuumm aanndd ttrraacckk ttiittlleess ooppttiioonn
     -LL  ccddddbbpp mmooddee Cdda2wav tries to retrieve performer, album-,
     and  track  titles  from  a cddbp server. The default server
     right now is 'freedb.freedb.org'.  It  is  planned  to  have
     more  control over the server handling later.  The parameter
     defines how multiple entries are handled:

     00    interactive mode, the user chooses one of the entries.

     11    take the first entry without asking.

  SSeett sseerrvveerr ffoorr ttiittllee llooookkuuppss
     ccddddbbpp-sseerrvveerr  sseerrvveerrnnaammee When using -L or -cddb, the  server
     being contacted can be set with this option.

  SSeett ppoorrttnnuummbbeerr ffoorr ttiittllee llooookkuuppss
     ccddddbbpp-ppoorrtt  ppoorrttnnuummbbeerr When using -L or  -cddb,  the  server
     port being contacted can be set with this option.

HHIINNTTSS OONN UUSSAAGGEE
     Don't create samples you cannot read. First check your  sam-
     ple  player  software and sound card hardware. I experienced
     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  WWAAVV
     format). Most CD-Writers insist on audio samples in a bigen-
     dian format.  Now cdda2wav supports the -EE  eennddiiaanneessss 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  -PP   00 option. Further fine tuning can be done with the
     -nn  sseeccttoorrss option. You can specify how much sectors  should
     be requested in one go.

     Cdda2wav supports  ppiippeess.   Use  a  filename  of  -  to  let
     cdda2wav output its samples to standard output.

     Conversion to other sound formats can be done using the  ssooxx
     program  package  (although  the use of ssooxx -xx to change the
     byte order of samples  should  be  no  more  necessary;  see
     option -EE to change the output byteorder).




SunOS 5.10          Last change: Version 3.0                   22






User Commands                                         CDDA2WAV(1)



     If you want to sample more than  one  track  into  different
     files  in  one  run,  this is currently possible with the -BB
     option. When recording time exceeds the track  limit  a  new
     file will be opened for the next track.

FFIILLEESS
     Cdda2wav can generate a lot of files for various purposes.

  AAuuddiioo ffiilleess::
     There are audio files containing samples with default exten-
     sions  .wav,  .au,  .aifc,  .aiff, and .cdr according to the
     selected sound format.  These files are not  generated  when
     option (-NN) is given. Multiple files may be written when the
     bulk copy option (-BB) is used. Individual file names can  be
     given  as  arguments.  If  the number of file names given is
     sufficient to cover all  included  audio  tracks,  the  file
     names  will  be used verbatim.  Otherwise, if there are less
     file names than files needed to write the  included  tracks,
     the  part  of the file name before the extension is extended
     with '_dd' where dd represents the current track number.

  CCddddbb aanndd CCddiinnddeexx ffiilleess::
     If cdda2wav detects cd-extra or cd-text (album/track)  title
     information, then .cddb, .cdindex and .cdtext files are gen-
     erated unless suppressed by the  option  -HH.   They  contain
     suitable  formatted entries for submission to audio cd track
     title databases in the internet. The  CDINDEX  and  CDDB(tm)
     systems are currently supported. For more information please
     visit www.musicbrainz.org and www.freedb.com.

  IInnff ffiilleess::
     The inf files are describing the sample files and  the  part
     from  the  audio  cd, it was taken from. They are a means to
     transfer information to a cd burning program like  cdrecord.
     For  example,  if  the  original  audio  cd had pre-emphasis
     enabled, and cdda2wav -TT did remove the  pre-emphasis,  then
     the  inf file has pre-emphasis not set (since the audio file
     does not have it anymore), while the .cddb and the  .cdindex
     have pre-emphasis set as the original does.

WWAARRNNIINNGG
     IIMMPPOORRTTAANNTT:: it is prohibited to sell  copies  of  copyrighted
     material  by  noncopyright  holders. This program may not be
     used to circumvent copyrights.  The user  acknowledges  this
     constraint when using the software.

BBUUGGSS
     The index scanner may give timeouts.

     The resampling (rate conversion code) uses polynomial inter-
     polation, which is not optimal.




SunOS 5.10          Last change: Version 3.0                   23






User Commands                                         CDDA2WAV(1)



     Cdda2wav should use threads.

     Cdda2wav currently cannot sample hidden  audio  tracks  that
     reside in track #1 index 0.

AACCKKNNOOWWLLEEDDGGEEMMEENNTTSS
     Thanks  goto   Project   MODE   (http://www.mode.net/)   and
     Fraunhofer  Institut  fuer integrierte Schaltungen (FhG-IIS)
     (http://www.iis.fhg.de/)  for  financial  support.   Plextor
     Europe  and  Ricoh  Japan  provided cdrom disk drives and cd
     burners which helped a lot to develop this software.   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.  Libparanoia contributed by
     Monty (Christopher Montgomery) xiphmont@mit.edu.

AAUUTTHHOORR
     Heiko Eissfeldt heiko@colossus.escape.de (1993-2004)

     2004-today:

     Joerg Schilling
     Seestr. 110
     D-13353 Berlin
     Germany

DDAATTEE
     12 Jan 2010

IINNTTEERRFFAACCEE SSTTAABBIILLIITTYY
     The interfaces provided by ccddddaa22wwaavv are  designed  for  long
     term  stability.  As ccddddaa22wwaavv depends on interfaces provided
     by the underlying operating system,  the  stability  of  the
     interfaces offered by ccddddaa22wwaavv depends on the interface sta-
     bility of the OS interfaces. Modified interfaces in  the  OS
     may enforce modified interfaces in ccddddaa22wwaavv.



















SunOS 5.10          Last change: Version 3.0                   24



