All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class improv.util.NoiseCurve

java.lang.Object
   |
   +----improv.util.Curve
           |
           +----improv.util.ParameterizedCurve
                   |
                   +----improv.util.NoiseCurve

public final class NoiseCurve
extends ParameterizedCurve

Constructor Index

 o NoiseCurve()
The Default Constructor
 o NoiseCurve(Curve, Curve, Curve)
Creates a NoiseCurve whose min,max and frequency are themselves time-varying parameters.
 o NoiseCurve(Curve, Curve, Curve, Curve, Curve, double, double, double, double, double)
Creates a NoiseCurve whose min, max, frequency, bias and gain are themselves time-varying parameters.
 o NoiseCurve(Curve[])
Creates a NoiseCurve from an array of curves.
 o NoiseCurve(Curve[], double, double, double, double, double)
 o NoiseCurve(double, double, double)
Constructs a NoiseCurve given a min, max and frequency
 o NoiseCurve(double, double, double, double, double)
Constructs a NoiseCurve given a min, max, frequency, bias and gain

Method Index

 o eval(double)
This is called from the animate method and is overridden by the individual curve classes.

Constructors

 o NoiseCurve
 public NoiseCurve()
The Default Constructor

 o NoiseCurve
 public NoiseCurve(double min,
                   double max,
                   double frq)
Constructs a NoiseCurve given a min, max and frequency

 o NoiseCurve
 public NoiseCurve(double min,
                   double max,
                   double frequency,
                   double bias,
                   double gain)
Constructs a NoiseCurve given a min, max, frequency, bias and gain

 o NoiseCurve
 public NoiseCurve(Curve c1,
                   Curve c2,
                   Curve c3)
Creates a NoiseCurve whose min,max and frequency are themselves time-varying parameters.

 o NoiseCurve
 public NoiseCurve(Curve a1,
                   Curve a2,
                   Curve f,
                   Curve b,
                   Curve g,
                   double a1Val,
                   double a2Val,
                   double fVal,
                   double bVal,
                   double gVal)
Creates a NoiseCurve whose min, max, frequency, bias and gain are themselves time-varying parameters.

 o NoiseCurve
 public NoiseCurve(Curve curves[])
Creates a NoiseCurve from an array of curves. If the array length is 3 the curves are used for min, max and frequency. If the array length is 5 the curves are used for min, max, frequency, bias and gain.

 o NoiseCurve
 public NoiseCurve(Curve curves[],
                   double a1Val,
                   double a2Val,
                   double fVal,
                   double bVal,
                   double gVal)

Methods

 o eval
 public double eval(double time)
This is called from the animate method and is overridden by the individual curve classes.

Overrides:
eval in class Curve

All Packages  Class Hierarchy  This Package  Previous  Next  Index