public static GraphElem kr( String name, GraphElem in1, GraphElem in2, GraphElem in3, GraphElem in4, GraphElem in5, GraphElem in6) { return UGen.construct(name, kControlRate, -1, new GraphElem[] {in1, in2, in3, in4, in5, in6}); }
public static GraphElem ar( String name, int numChannels, GraphElem in1, GraphElem in2, GraphElem in3, GraphElem in4, GraphElem in5) { return UGen.construct(name, kAudioRate, numChannels, new GraphElem[] {in1, in2, in3, in4, in5}); }
public static GraphElem ir(String name, GraphElem in1) { return UGen.construct(name, kScalarRate, -1, new GraphElem[] {in1}); }
public static GraphElem ir(String name) { return UGen.construct(name, kScalarRate, -1, NO_ARGS); }
public static GraphElem ir(String name, int numChannels) { return UGen.construct(name, kScalarRate, numChannels, NO_ARGS); }
public static GraphElem dr( String name, GraphElem in1, GraphElem in2, GraphElem in3, GraphElem in4) { return UGen.construct(name, kDemandRate, -1, new GraphElem[] {in1, in2, in3, in4}); }
public static GraphElem dr( String name, int numChannels, GraphElem in1, GraphElem in2, GraphElem in3) { return UGen.construct(name, kDemandRate, numChannels, new GraphElem[] {in1, in2, in3}); }
public static GraphElem dr(String name) { return UGen.construct(name, kDemandRate, -1, NO_ARGS); }
public static GraphElem ar(String name, GraphElem in1, GraphElem in2, GraphElem in3) { return UGen.construct(name, kAudioRate, -1, new GraphElem[] {in1, in2, in3}); }
public static GraphElem kr(String name, GraphElem in1, GraphElem in2) { return UGen.construct(name, kControlRate, -1, new GraphElem[] {in1, in2}); }
public static GraphElem kr(String name, int numChannels, GraphElem in1) { return UGen.construct(name, kControlRate, numChannels, new GraphElem[] {in1}); }
public static GraphElem kr(String name) { return UGen.construct(name, kControlRate, -1, NO_ARGS); }
public static GraphElem kr(String name, int numChannels) { return UGen.construct(name, kControlRate, numChannels, NO_ARGS); }
public static GraphElem ir( String name, int numChannels, GraphElem in1, GraphElem in2, GraphElem in3, GraphElem in4) { return UGen.construct(name, kScalarRate, numChannels, new GraphElem[] {in1, in2, in3, in4}); }
/** "dr" stands for demand-rate */ public static GraphElem dr(String name, int numChannels) { return UGen.construct(name, kDemandRate, numChannels, NO_ARGS); }
public static GraphElem ir( String name, GraphElem in1, GraphElem in2, GraphElem in3, GraphElem in4, GraphElem in5) { return UGen.construct(name, kScalarRate, -1, new GraphElem[] {in1, in2, in3, in4, in5}); }
/** * Constructs a new audio rate UGen with zero arguments. * * <p>This method can also be used for UGens with more than zero arguments, if the info dictionary * contains default values for the missing arguments. An example is <code>SinOsc</code> which * actually has two arguments for frequency and phase, but both of them have default values (440 * hertz, zero degrees phase). * * @param name either ugen class name or alias name (for unary/binary op) * @throws IllegalArgumentException if the UGen cannot be found in the info dictionary, if the * rate is not allowed for the ugen, or if the UGen requires the explicit specification of the * number of output channels * @throws IllegalStateException if the UGens requires arguments which have not been provided and * have no default values */ public static GraphElem ar(String name) { return UGen.construct(name, kAudioRate, -1, NO_ARGS); }