Package eu.bandm.sig.adlib2.lib
Class FloatTableOscillator
java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.FloatStoredSignalSource
eu.bandm.sig.adlib2.lib.FloatTableOscillator
- All Implemented Interfaces:
AbstractClockedSignalSource
,AbstractSignalSource
,CompilableControlFlow
,CompilableDataFlow
,Component
,FloatClockedSignalSource
,FloatSignalSource
,Process
,FloatSupplier
Oscillator which plays a wave table always in an infinite cycle with changing frequency.
The type prefix indicates the data type of both frequency values and table = amplitude values.
The frequency is encoded as a value x, so that
x=1.0
causes a sound of
{code sampleRate/table.length}.-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.FloatClockedSignalSource
FloatClockedSignalSource.AbstractRandom
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy
-
Field Summary
Fields inherited from class eu.bandm.sig.adlib2.FloatStoredSignalSource
out
Fields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE
-
Constructor Summary
ConstructorDescriptionFloatTableOscillator
(FloatHarmonicSpectrum.DiffTable table, FloatSignalSource frequency) FloatTableOscillator
(FloatHarmonicSpectrum.DiffTable table, FloatSignalSource frequencySource, float phase) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
step()
Integration by this primitive addition only works in the ranges of conventional operation = audible signal with 1024 sample points, or sim.Methods inherited from class eu.bandm.sig.adlib2.FloatStoredSignalSource
getAsFloat
Methods inherited from class eu.bandm.sig.adlib2.AbstractProcess
getRealtimeContext, setRealtimeContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.bandm.sig.adlib2.compile.CompilableDataFlow
compileDataFlowTo, hasDataFlowIO
Methods inherited from interface eu.bandm.sig.adlib2.FloatClockedSignalSource
after, compile, during
Methods inherited from interface eu.bandm.sig.adlib2.FloatSignalSource
abs, add, asInt, compileDataFlow, compileMainSignalSource, DEBUG, 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, publishStoredValueVariable, relateWith, sampleAndHold, selectAffine, series, sqrt, stored, subtract, zero, zeroCrossing, zipWith
Methods inherited from interface eu.bandm.sig.adlib2.Process
afterEvery, andThen, compileAsMainProcess, compileControlFlow, compileInitialization, every, every, getProcess, hasControlFlowIO, hasInitializationIO, init, setRealtimeContext
-
Constructor Details
-
FloatTableOscillator
-
FloatTableOscillator
public FloatTableOscillator(FloatHarmonicSpectrum.DiffTable table, FloatSignalSource frequencySource, float phase)
-
-
Method Details
-
setRealtimeContext
-
step
public void step()Integration by this primitive addition only works in the ranges of conventional operation = audible signal with 1024 sample points, or sim.
-