// These Unit Generators are instantiated by math operations on UGens

UnaryOpUGen : UGen
 var <operator;
 
 *new { arg selector, a;
  ^this.multiChannelPerform('new1', selector, a)
 }
 *new1 { arg selector, a; 
  ^super.ar1.init(selector, a)
 }
 
 init { arg theOperator, theInput;
  operator = theOperator;
  inputs = theInput;
 }
}

BinaryOpUGen : UGen
 var <operator;
 
 *new { arg selector, a, b;
  ^this.multiChannelPerform('new1', selector, a, b)
 }
 *new1 { arg selector, a, b; 
  ^super.ar1.init(selector, a, b)
 }
 
 init { arg theOperator ... theInputs;
  
  operator = theOperator;
  inputs = theInputs;
 }
}



This page was created by SimpleText2Html 1.0.3 on 22-Feb-100.