|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Interpolator | |
---|---|
com.softsynth.jmsl.util |
Uses of Interpolator in com.softsynth.jmsl.util |
---|
Classes in com.softsynth.jmsl.util that implement Interpolator | |
---|---|
class |
ExponentialDecayInterpolator
Interpolate a value along an exponentially decreasing curve defined by two points (x1,y1) and (x2,y2) where x1 < x2, y1 > y2. |
class |
ExponentialInterpolator
Interpolate a value along an exponentially rising curve defined by two points (x1,y1) and (x2,y2) where x1 < x2, y1 < y2. |
class |
HalfCosineInterpolator
Interpolate a value along an S curve (half cosine) |
class |
LinearInterpolator
Interpolate a value along a line defined by two points (x1,y1) and (x2,y2) |
class |
MultiInterpolator
A sequence of Interpolators each of which is active for a particular range of x. |
Methods in com.softsynth.jmsl.util that return Interpolator | |
---|---|
Interpolator |
MultiInterpolator.getDefaultInterpolator()
|
Interpolator |
MultiInterpolator.getLastUsedInterpolator()
|
Methods in com.softsynth.jmsl.util with parameters of type Interpolator | |
---|---|
void |
MultiInterpolator.addInterpolator(Interpolator interp,
double startX,
double endX)
Add an interpolator and associate it with specified range of x values [startx, endX) |
void |
MultiInterpolator.setDefaultInterpolator(Interpolator interpolator)
Set the Interpolator to be used if x sent to interp() does not fall in the range of any added Interpolators Only practical reason to use this is if the default interpolator should be something other than a LinearInterpolator (in which case just use setInterp() ) |
Constructors in com.softsynth.jmsl.util with parameters of type Interpolator | |
---|---|
EnvelopeDataMaker(double totalTime,
int steps,
Interpolator interpolator)
Build envelope data approximating an interpolator's shape, last value is 0.0 |
|
EnvelopeDataMaker(double totalTime,
int steps,
Interpolator interpolator,
boolean zeroLast)
Build envelope data approximating an interpolator's shape, flag whether to zero out the last value Assumes interpolator is defined over range 0..totalTime. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |