Print this page
12287 errors in audio utility man pages

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/audioconvert.1.man.txt
          +++ new/usr/src/man/man1/audioconvert.1.man.txt
↓ open down ↓ 6 lines elided ↑ open up ↑
   7    7  
   8    8  SYNOPSIS
   9    9         audioconvert [-pF] [-f outfmt] [-o outfile]
  10   10              [ [-i infmt] [file]...] ...
  11   11  
  12   12  
  13   13  DESCRIPTION
  14   14         audioconvert converts audio data between a set of supported audio
  15   15         encodings and file formats. It can be used to compress and decompress
  16   16         audio data, to add audio file headers to raw audio data files, and to
  17      -       convert between standard data encodings, such as -law and linear PCM.
       17 +       convert between standard data encodings, such as u-law and linear PCM.
  18   18  
  19   19  
  20   20         If no filenames are present, audioconvert reads the data from the
  21   21         standard input stream and writes an audio file to the standard output.
  22   22         Otherwise, input files are processed in order, concatenated, and
  23   23         written to the output file.
  24   24  
  25   25  
  26   26         Input files are expected to contain audio file headers that identify
  27   27         the audio data format.  If the audio data does not contain a
↓ open down ↓ 105 lines elided ↑ open up ↑
 133  133                     specify one and two channel data, respectively.
 134  134  
 135  135  
 136  136         encoding
 137  137                     This option specifies the digital audio data
 138  138                     representation. Encodings determine precision implicitly
 139  139                     (ulaw implies 8-bit precision) or explicitly as part of the
 140  140                     name (for example, linear16). Valid encoding values are:
 141  141  
 142  142                     ulaw
 143      -                                CCITT G.711 -law encoding. This is an 8-bit
      143 +                                CCITT G.711 u-law encoding. This is an 8-bit
 144  144                                  format primarily used for telephone quality
 145  145                                  speech.
 146  146  
 147  147  
 148  148                     alaw
 149  149                                  CCITT G.711 A-law encoding. This is an 8-bit
 150  150                                  format primarily used for telephone quality
 151  151                                  speech in Europe.
 152  152  
 153  153  
↓ open down ↓ 7 lines elided ↑ open up ↑
 161  161  
 162  162  
 163  163                     pcm
 164  164                                  Same as linear16.
 165  165  
 166  166  
 167  167                     g721
 168  168                                  CCITT G.721 compression format. This encoding
 169  169                                  uses Adaptive Delta Pulse Code Modulation
 170  170                                  (ADPCM) with 4-bit precision. It is primarily
 171      -                                used for compressing -law voice data
      171 +                                used for compressing u-law voice data
 172  172                                  (achieving a 2:1 compression ratio).
 173  173  
 174  174  
 175  175                     g723
 176  176                                  CCITT G.723 compression format. This encoding
 177  177                                  uses Adaptive Delta Pulse Code Modulation
 178  178                                  (ADPCM) with 3-bit precision. It is primarily
 179      -                                used for compressing -law voice data
      179 +                                used for compressing u-law voice data
 180  180                                  (achieving an 8:3 compression ratio). The
 181  181                                  audio quality is similar to G.721, but may
 182  182                                  result in lower quality when used for non-
 183  183                                  speech data.
 184  184  
 185  185                     The following encoding values are also accepted as
 186  186                     shorthand to set the sample rate, channels, and encoding:
 187  187  
 188  188                     voice
 189  189                              Equivalent to encoding=ulaw,rate=8k,channels=mono.
↓ open down ↓ 26 lines elided ↑ open up ↑
 216  216  
 217  217  
 218  218         offset
 219  219                     (-i only) Specifies a byte offset to locate the start of
 220  220                     the audio data. This option may be used to import audio
 221  221                     data that contains an unrecognized file header.
 222  222  
 223  223  
 224  224  USAGE
 225  225         See largefile(5) for the description of the behavior of audioconvert
 226      -       when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
      226 +       when encountering files greater than or equal to 2 Gbyte (2^31 bytes).
 227  227  
 228  228  EXAMPLES
 229  229         Example 1 Recording and compressing voice data before storing it
 230  230  
 231  231  
 232  232         Record voice data and compress it before storing it to a file:
 233  233  
 234  234  
 235  235           example% audiorecord | audioconvert -f g721 > mydata.au
 236  236  
↓ open down ↓ 14 lines elided ↑ open up ↑
 251  251  
 252  252  
 253  253         Convert a directory containing raw voice data files, in place, to Sun
 254  254         format (adds a file header to each file):
 255  255  
 256  256  
 257  257           example% audioconvert -p -i voice -f sun *.au
 258  258  
 259  259  
 260  260  
 261      -ATTRIBUTES
 262      -       See attributes(5) for descriptions of the following attributes:
 263      -
 264      -
 265      -
 266      -
 267      -       +--------------------+-----------------+
 268      -       |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 269      -       +--------------------+-----------------+
 270      -       |Architecture        | SPARC, x86      |
 271      -       +--------------------+-----------------+
 272      -       |Interface Stability | Evolving        |
 273      -       +--------------------+-----------------+
 274      -
 275  261  SEE ALSO
 276      -       audioplay(1), audiorecord(1), file(1), attributes(5), largefile(5)
      262 +       audioplay(1), audiorecord(1), file(1), largefile(5)
 277  263  
 278  264  NOTES
 279  265         The algorithm used for converting multi-channel data to mono is
 280  266         implemented by simply summing the channels together. If the input data
 281  267         is perfectly in phase (as would be the case if a mono file is converted
 282  268         to stereo and back to mono), the resulting data may contain some
 283  269         distortion.
 284  270  
 285  271  
 286  272  
 287      -                               February 16, 2001               AUDIOCONVERT(1)
      273 +                               February 8, 2020                AUDIOCONVERT(1)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX