home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 July & August / PCWorld_2007-07-08_cd.bin / audio-video / reaper / reaper1861-install.exe / Effects / Utility / channelmixer < prev    next >
Text File  |  2007-02-12  |  438b  |  21 lines

  1. // This effect Copyright (C) 2004 and later Cockos Incorporated
  2. // License: GPL - http://www.gnu.org/licenses/gpl.html
  3. desc:channel mixer
  4. slider1:-6<-120,6,1>L->L mix (dB)
  5. slider2:-6<-120,6,1>R->R mix (dB)
  6. slider3:-6<-120,6,1>L->R mix (dB)
  7. slider4:-6<-120,6,1>R->L mix (dB)
  8.  
  9. @init
  10. @slider
  11. ll=2^(slider1/6);
  12. rr=2^(slider2/6);
  13. lr=2^(slider3/6);
  14. rl=2^(slider4/6);
  15.  
  16. @sample
  17. l=spl0;
  18. r=spl1;
  19. spl0=l*ll+r*rl;
  20. spl1=l*lr+r*rr;
  21.