home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 February / PCWorld_2008-02_cd.bin / audio-video / reaper / reaper2028-install.exe / Effects / LOSER / gmemReceive < prev    next >
Text File  |  2007-12-03  |  422b  |  15 lines

  1. desc:gmem Receive
  2. slider1:0<0,99,1>From Slot
  3. slider2:0<0,4,1{1+2,3+4,5+6,7+8,9+10}>To Channels
  4.  
  5. @block
  6. pos=slider1*2*samplesblock;
  7.  
  8. @sample
  9. slider2==0 ? (spl0+=gmem[pos]; spl1+=gmem[pos+1];);
  10. slider2==1 ? (spl2+=gmem[pos]; spl3+=gmem[pos+1];);
  11. slider2==2 ? (spl4+=gmem[pos]; spl5+=gmem[pos+1];);
  12. slider2==3 ? (spl6+=gmem[pos]; spl7+=gmem[pos+1];);
  13. slider2==4 ? (spl8+=gmem[pos]; spl9+=gmem[pos+1];);
  14.  
  15. pos+=2;