public class FloatResonator extends FloatClockedSignalSource
FloatSignalSource.CompilableFloatBinaryOperator, FloatSignalSource.FloatAddOperator, FloatSignalSource.FloatDivOperator, FloatSignalSource.FloatMultOperator, FloatSignalSource.FloatSubOperatorSignalSource.AddOperator, SignalSource.CompilableBinaryOperator, SignalSource.Constant<A>, SignalSource.DivOperator, SignalSource.MultOperator, SignalSource.SubOperatoroutabs, add, clip, cos, div, E, exp, log, LOG2, metaGetAsFloat, mult, neg, PI, sin, sqrt, SQRT2, square, subDEFAULT_AFAP_INTERRUPT_LATENCY, DEFAULT_SLEEP_TIME_MS| Constructor and Description |
|---|
FloatResonator(FloatSignalSource source,
float sampleFreq,
float osciFreq,
int length) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
ensembleTest() |
FloatSignalSource |
getOscillator() |
static void |
main(String[] args) |
static FloatResonator[] |
midiEnsemble(FloatSignalSource source,
float sampleFreq,
float pitchReference,
float inertia) |
void |
run()
Processes an event.
|
(package private) static void |
singleTest() |
delayedBy, delayedWith, doCompileDataFlow, get, getAsFloat, iterate, logged, logged, random, randomNormal, randomUniform, repeat, slide, suppliedBy, suppliedBy, switchOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, check, clip, clocked, compileDataFlow, constant, div, guard, logger, logger, lowerLogSpread, map, mult, project, project, project, sub, upperLogSpread, zipWith, zipWithadHoc, afap, afap, andThen, asAsynchronousSwingEvent, compileControlFlow, every, every, frequently, frequently, frequently, sequence, times, timespublic FloatResonator(FloatSignalSource source, float sampleFreq, float osciFreq, int length)
public void run()
RealtimeAny implementation of this method should complete promptly and normally. In particular it must not block indefinitely.
public FloatSignalSource getOscillator()
public static FloatResonator[] midiEnsemble(FloatSignalSource source, float sampleFreq, float pitchReference, float inertia)
static void singleTest()