Uses of Interface
com.softsynth.jmsl.util.Interpolator
Package | Description |
---|---|
com.softsynth.jmsl.score.midi | |
com.softsynth.jmsl.util |
-
Uses of Interpolator in com.softsynth.jmsl.score.midi
Methods in com.softsynth.jmsl.score.midi that return Interpolator Modifier and Type Method Description Interpolator
PlaytimeStretchNoteLurker. getInterpolator()
get a multi segmented interpolator to convert absolute time stamps to tempo-scaled ticksMethods in com.softsynth.jmsl.score.midi with parameters of type Interpolator Modifier and Type Method Description static long
WriteScoreMidiFile. absoluteTickToScaledTick(Interpolator tempoInterpolator, long tick)
void
MidiFileImageManager. loadMidiFileImage(Interpolator tempoInterpolator)
void
MidiMeasureLurker. writeTempi(Interpolator tempoInterpolator)
void
MidiMeasureLurker. writeTimeSignatures(Interpolator tempoInterpolator)
-
Uses of Interpolator in com.softsynth.jmsl.util
Classes in com.softsynth.jmsl.util that implement Interpolator Modifier and Type Class Description 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 Modifier and Type Method Description Interpolator
MultiInterpolator. getDefaultInterpolator()
Interpolator
MultiInterpolator. getLastUsedInterpolator()
Methods in com.softsynth.jmsl.util with parameters of type Interpolator Modifier and Type Method Description 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 Constructor Description EnvelopeDataMaker(double totalTime, int steps, Interpolator interpolator)
Build envelope data approximating an interpolator's shape, last value is 0.0EnvelopeDataMaker(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.