public abstract class FloatOscillator extends FloatClockedSignalSource
FloatSignalSource.CompilableFloatBinaryOperator, FloatSignalSource.FloatAddOperator, FloatSignalSource.FloatDivOperator, FloatSignalSource.FloatMultOperator, FloatSignalSource.FloatSubOperator
SignalSource.AddOperator, SignalSource.CompilableBinaryOperator, SignalSource.Constant<A>, SignalSource.DivOperator, SignalSource.MultOperator, SignalSource.SubOperator
Modifier and Type | Field and Description |
---|---|
protected float |
osciFreq |
protected float |
sampleFreq |
out
abs, add, clip, cos, div, E, exp, log, LOG2, metaGetAsFloat, mult, neg, PI, sin, sqrt, SQRT2, square, sub
DEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS
Modifier | Constructor and Description |
---|---|
protected |
FloatOscillator(float sampleFreq,
float osciFreq) |
Modifier and Type | Method and Description |
---|---|
float |
getFrequency() |
Realtime |
modulated(FloatSignalSource osciFreqSource) |
Realtime |
modulator(FloatSignalSource osciFreqSource) |
void |
setFrequency(float osciFreq) |
delayedBy, delayedWith, doCompileDataFlow, get, getAsFloat, iterate, logged, logged, random, randomNormal, randomUniform, repeat, slide, suppliedBy, suppliedBy, switchOver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, check, clip, clocked, compileDataFlow, constant, div, guard, logger, logger, lowerLogSpread, map, mult, project, project, project, sub, upperLogSpread, zipWith, zipWith
adHoc, afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, run, sequence, times, times
public float getFrequency()
public void setFrequency(float osciFreq)
public Realtime modulator(FloatSignalSource osciFreqSource)
public Realtime modulated(FloatSignalSource osciFreqSource)