home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / audio-video / reaper / reaper174-install.exe / Effects / Utility / limiter < prev    next >
Text File  |  2005-06-24  |  282b  |  13 lines

  1. // This effect Copyright (C) 2004 and later Cockos Incorporated
  2. // License: GPL - http://www.gnu.org/licenses/gpl.html
  3. desc: hard limiter
  4. slider1:0<-120,60,1>max vol (dB)
  5.  
  6. @slider
  7. mv=2 ^ (slider1/6);
  8.  
  9. @sample
  10.  
  11.   spl0=min(max(spl0,-mv),mv);
  12.   spl1=min(max(spl1,-mv),mv);
  13.