Пример #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});
 }
Пример #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});
 }
Пример #3
0
 public static GraphElem ir(String name, GraphElem in1) {
   return UGen.construct(name, kScalarRate, -1, new GraphElem[] {in1});
 }
Пример #4
0
 public static GraphElem ir(String name) {
   return UGen.construct(name, kScalarRate, -1, NO_ARGS);
 }
Пример #5
0
 public static GraphElem ir(String name, int numChannels) {
   return UGen.construct(name, kScalarRate, numChannels, NO_ARGS);
 }
Пример #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});
 }
Пример #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});
 }
Пример #8
0
 public static GraphElem dr(String name) {
   return UGen.construct(name, kDemandRate, -1, NO_ARGS);
 }
Пример #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});
 }
Пример #10
0
 public static GraphElem kr(String name, GraphElem in1, GraphElem in2) {
   return UGen.construct(name, kControlRate, -1, new GraphElem[] {in1, in2});
 }
Пример #11
0
 public static GraphElem kr(String name, int numChannels, GraphElem in1) {
   return UGen.construct(name, kControlRate, numChannels, new GraphElem[] {in1});
 }
Пример #12
0
 public static GraphElem kr(String name) {
   return UGen.construct(name, kControlRate, -1, NO_ARGS);
 }
Пример #13
0
 public static GraphElem kr(String name, int numChannels) {
   return UGen.construct(name, kControlRate, numChannels, NO_ARGS);
 }
Пример #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});
 }
Пример #15
0
 /** "dr" stands for demand-rate */
 public static GraphElem dr(String name, int numChannels) {
   return UGen.construct(name, kDemandRate, numChannels, NO_ARGS);
 }
Пример #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});
 }
Пример #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);
 }