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

  1.  WM Compress
  2.  ───────────
  3.  
  4.  WM Compress allows you to either reduce or enhance the dynamic range (the 
  5.  difference between the lowest and the highest sound level) of a WAV. 
  6.  
  7.  The signal is low pass filtered prior to amplitude determination (in general,
  8.  you want to affect the amplitude *** envelope ***, not individual sample 
  9.  values) so you must also provide a parameter controlling the filter.
  10.  
  11.  Compression itself is simply the act of dividing the original signal by the
  12.  amplitude of the filtered signal, raised to some power (the <compression>
  13.  parameter). In general, you will want to rescale the result (adjust the
  14.  volume). You can do this without losing precision using the /a <amplification> 
  15.  option.
  16.  
  17.  Usage:    Compress <source> <destination> <HHF> <compression>
  18.  
  19.            The default directory is Temp\. The default extension is WAV. The 
  20.            source file may NOT be overwritten; you must specify different 
  21.            filenames and/or extensions.
  22.  
  23.            <HHF> stands for Half Height Frequency. It is the frequency (in
  24.            Hz) at which the low pass filter employed for amplitude 
  25.            determination will produce an amplitude factor 0.5 (down from
  26.            1.0 at 0 Hz). Audio buffs will recognize this as the 3 dB point. 
  27.            In general, it should be kept low (15 Hz or so), so as to make 
  28.            individual cycles in the sound invisible to the compressor.
  29.  
  30.            <compression> is a real parameter controlling the actual operation
  31.            performed on the amplitude. When positive, it causes the dynamic
  32.            range to be reduced; at <compression> = 1 "all" dynamics (up to the
  33.            resolution allowed by <HHF>) is removed. A negative value heightens
  34.            the dynamics.
  35.  
  36.  Options: /l (affect left channel only)
  37.           /r (affect right channel only)
  38.           /a <amplification>
  39.           /w <start>:<end> (effect window times, in milliseconds)
  40.           /q (quiet mode: no screen output)
  41.  
  42.  The following title:value pairs are written to WAVmaker's public Function key
  43.  file {FnKeys} upon successful termination:
  44.  
  45.                              File #1      : <source>
  46.                              File #2      : <destination>
  47.                              Parameter #1 : <HHF>
  48.                              Parameter #2 : <compression>
  49.  
  50.  If the /w (effect window) option is used, the following pairs are also 
  51.  written:
  52.  
  53.                              Start time   : <start>
  54.                              End time     : <end>
  55.