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

  1.  WM WAVtoDFT
  2.  ───────────
  3.  
  4.  WM WAVtoDFT performs lossy data compression on sound files conforming to the
  5.  WAV subset used by all WAVmaker applications {WMWAV}. The compression ratio
  6.  depends on the characteristics of the sound and on the required resolution 
  7.  (sound quality). For isolated instrumental notes, you can get good quality
  8.  from DFT files ZIPped (or otherwise archived with standard lossless 
  9.  compressors) to less than *** 1/50 *** of the original WAV filesize! 
  10.  
  11.  IMPORTANT: WM WAVtoDFT and WM DFTtoWAV {DFTtoWAV} run in real mode and use 
  12.             extended memory (XMS) to compress and decompress sound data. You 
  13.             must have HIMEM.SYS or equivalent (see your DOS manual) installed 
  14.             and a sufficiently large, contiguos block of free XMS memory 
  15.             available for the programs to run.
  16.  
  17.  Unfortunately, the algorithm employed is not suitable for the disk-based
  18.  approach used by most other WAVmaker applications. WM WAVtoDFT and WM DFTtoWAV 
  19.  are slow enough as they are; if they were to work directly with disk files, 
  20.  they would be intolerable. BE PATIENT! Do not worry if they seem to have sent 
  21.  the machine to lunch - they haven't, they are just thinking!
  22.  
  23.  Needless to say, larger sample files require more memory. With 3 MB of free 
  24.  XMS memory, you should be able to handle 3 seconds' worth of sound data at 
  25.  the highest allowed sampling rate (44.1 kHz). Stereo channels are handled
  26.  separately, so that's actually 3 seconds' worth per sound channel. The word 
  27.  size employed in the WAV file makes no difference as far as memory 
  28.  requirements are concerned, but it is reflected by the size of the compressed 
  29.  file.
  30.  
  31.  Usage:    WAVtoDFT <source> [<destination>]
  32.  
  33.            If no <destination> is given, the <source> filename is used. The 
  34.            default extensions are WAV and DFT, respectively. The default 
  35.            directories are WAV\ and DFT\; you can override these choices with 
  36.            the /WAV and /DFT options.
  37.  
  38.  Options:  /WAV <source directory>
  39.            /DFT <destination directory>
  40.            /r <resolution>  (0-65535: smaller for better quality, default is 2)
  41.            /q               (quiet mode: no screen output)
  42.  
  43.  The following title:value pairs are written to WAVmaker's public Function key
  44.  file {FnKeys} upon successful termination:
  45.  
  46.                              File #1      : <source>
  47.                              File #2      : <destination>
  48.                              WAV file     : <source>
  49.                              DFT file     : <destination>
  50.