Class FloatFractionalDelay
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,Component,FloatClockedSignalSource,FloatSignalSource,Process,Register,FloatSupplier
An instance of this class with an integer delay length is operationally
equivalent to an instance of FloatMultiDelay, but slightly less
efficient.
For fractional delay lengths, linear interpolation is used to obtain intermediate values. Because of overall synchronization, the interpolated value is available is only available at the next proper clock tick.
-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.FloatClockedSignalSource
FloatClockedSignalSource.AbstractRandomNested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy -
Field Summary
Fields inherited from class eu.bandm.sig.adlib2.FloatStoredSignalSource
outFields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionFloatFractionalDelay(float delay) FloatFractionalDelay(float delay, FloatSignalSource in) FloatFractionalDelay(float delay, Function<? super FloatFractionalDelay, ? extends FloatSignalSource> in) -
Method Summary
Methods inherited from class eu.bandm.sig.adlib2.FloatStoredSignalSource
getAsFloatMethods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, hasFixedConstantRealtimeContext, setRealtimeContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface eu.bandm.sig.adlib2.FloatClockedSignalSource
after, drain, drain, duringMethods inherited from interface eu.bandm.sig.adlib2.FloatSignalSource
abs, add, asDouble, asFloat, asInt, ceil, clockedAfter, defined, delayed, delayed, divide, equal, floor, getConstantAsFloat, getValueClass, glidingAverage, glidingStandardDeviation, glidingSum, glidingVariance, greaterOrEqual, greaterThan, guard, hasConstantAsFloat, invariant, lessOrEqual, lessThan, map, max, min, modulo, multiply, negate, negative, nonEqual, nonnegative, nonpositive, nonzero, notANumber, positive, power, probe, relateWith, sampleAndHold, selectAffine, series, sqrt, stored, subtract, zero, zeroCrossing, zipWithMethods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, conditional, every, every, getProcessMethods inherited from interface eu.bandm.sig.adlib2.Register
andMeanwhile, andMeanwhile, setRealtimeContext
-
Constructor Details
-
FloatFractionalDelay
public FloatFractionalDelay(float delay) -
FloatFractionalDelay
-
FloatFractionalDelay
@Undocumented public FloatFractionalDelay(float delay, Function<? super FloatFractionalDelay, ? extends FloatSignalSource> in)
-
-
Method Details
-
setInput
-
getLoadPhase
Description copied from interface:RegisterReturns the load phase of this register.- Specified by:
getLoadPhasein interfaceRegister- Returns:
- the load phase of this register
-
getStorePhase
Description copied from interface:RegisterReturns the store phase of this register.- Specified by:
getStorePhasein interfaceRegister- Returns:
- the store phase of this register
-
init
Description copied from interface:RegisterInitializes the state of this process. The state is initialized such that the first subsequent call toProcess.step()transitions to the first specified observable state.The default implementation does nothing.
-
step
Description copied from interface:RegisterSignals a time event, executing a transition step for this process to the next observable state.The state of the process after successful completion of this method should be the n-th observable state, if
Process.step()has been invoked n times since the last initialization viaProcess.init(). The behavior of this method is unspecified ifProcess.init()has not been invoked before.FIXME:
Process.setRealtimeContext(eu.bandm.sig.adlib2.RealtimeContext)If this method completes abruptly by throwing an error or unchecked exception, the process state should be considered invalid.
-