Exemplo n.º 1
0
 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});
 }
Exemplo n.º 2
0
 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});
 }
Exemplo n.º 3
0
 public static GraphElem ir(String name, GraphElem in1) {
   return UGen.construct(name, kScalarRate, -1, new GraphElem[] {in1});
 }
Exemplo n.º 4
0
 public static GraphElem ir(String name) {
   return UGen.construct(name, kScalarRate, -1, NO_ARGS);
 }
Exemplo n.º 5
0
 public static GraphElem ir(String name, int numChannels) {
   return UGen.construct(name, kScalarRate, numChannels, NO_ARGS);
 }
Exemplo n.º 6
0
 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});
 }
Exemplo n.º 7
0
 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});
 }
Exemplo n.º 8
0
 public static GraphElem dr(String name) {
   return UGen.construct(name, kDemandRate, -1, NO_ARGS);
 }
Exemplo n.º 9
0
 public static GraphElem ar(String name, GraphElem in1, GraphElem in2, GraphElem in3) {
   return UGen.construct(name, kAudioRate, -1, new GraphElem[] {in1, in2, in3});
 }
Exemplo n.º 10
0
 public static GraphElem kr(String name, GraphElem in1, GraphElem in2) {
   return UGen.construct(name, kControlRate, -1, new GraphElem[] {in1, in2});
 }
Exemplo n.º 11
0
 public static GraphElem kr(String name, int numChannels, GraphElem in1) {
   return UGen.construct(name, kControlRate, numChannels, new GraphElem[] {in1});
 }
Exemplo n.º 12
0
 public static GraphElem kr(String name) {
   return UGen.construct(name, kControlRate, -1, NO_ARGS);
 }
Exemplo n.º 13
0
 public static GraphElem kr(String name, int numChannels) {
   return UGen.construct(name, kControlRate, numChannels, NO_ARGS);
 }
Exemplo n.º 14
0
 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});
 }
Exemplo n.º 15
0
 /** "dr" stands for demand-rate */
 public static GraphElem dr(String name, int numChannels) {
   return UGen.construct(name, kDemandRate, numChannels, NO_ARGS);
 }
Exemplo n.º 16
0
 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});
 }
Exemplo n.º 17
0
 /**
  * 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);
 }