home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / SND_TOOL / WM10.ZIP / DOC.DAT / wmwav.txt < prev   
Encoding:
Text File  |  1995-08-30  |  2.1 KB  |  38 lines

  1.  WM WAV Subset                                The nice thing about standards is
  2.  ─────────────                                that there are so many of them to
  3.                                               choose from.     - A.S. Tanenbaum
  4.  
  5.  WAV files are a special case of RIFF (Resource Interchange File Format) forms,
  6.  a tagged file structure used for (MS Windows) multimedia resource files. They 
  7.  support many more features than those needed by WAVmaker, such as embedded 
  8.  foreign format files, comments, playlists, and more. Rather than to bloat 
  9.  WAVmaker's code with a full (=large and slow) WAV file parser, the decision 
  10.  has been made to restrict all WAV in/out to the bare minimum needed for 
  11.  digital audio, i.e. to files made up of only one WAVE form with the following 
  12.  properties:
  13.  
  14.               ■ Data format category: MS Pulse Code Modulation (PCM).
  15.               ■ Bits per sample: 8 or 16.
  16.               ■ Number of sound channels: 1 or 2 (mono or stereo).
  17.               ■ Sampling rate: 11025, 22050 or 44100 samples/channel.
  18.               ■ No fact chunk.
  19.               ■ No cue chunk.
  20.               ■ No playlist.
  21.               ■ No associated data list.
  22.  
  23.  Essentially, this is just a raw sound data file + a header containing data 
  24.  format information. All WAV samples you encounter are likely to conform to
  25.  these choices (apart from the sampling rate, which may vary, this is the 
  26.  format normally produced when a new WAV file is recorded). The sampling
  27.  rates are those considered "standard" for PCs. While supporting a continuous
  28.  range would be easy for most applications, there are cases when the choice
  29.  of sampling rate affects the operations to be performed in non-trivial ways
  30.  (it may for instance be necessary to determine the prime number closest to
  31.  the number of samples corresponding to a given time delay). Having to 
  32.  consider only a few different choices of sampling rates allows for the use
  33.  of look-up tables, speeding up execution.
  34.  
  35.  If you want to use a WAV file which doesn't conform to the subset recognized
  36.  by WAVmaker, you can convert it with a sound editor supporting the full format
  37.  definition.
  38.