Package eu.bandm.sig.adlib2.lib
Class DoubleTableOscillator
java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.DoubleStoredSignalSource
eu.bandm.sig.adlib2.lib.DoubleTableOscillator
- All Implemented Interfaces:
AbstractClockedSignalSource,AbstractSignalSource,Component,DoubleClockedSignalSource,DoubleSignalSource,Process,DoubleSupplier
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 sampleRate/table.length.-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.sig.adlib2.DoubleClockedSignalSource
DoubleClockedSignalSource.AbstractRandomNested classes/interfaces inherited from interface eu.bandm.sig.adlib2.Process
Process.Proxy -
Field Summary
Fields inherited from class eu.bandm.sig.adlib2.DoubleStoredSignalSource
outFields inherited from interface eu.bandm.sig.adlib2.AbstractClockedSignalSource
STREAM_CHARACTERISTICS, STREAM_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionDoubleTableOscillator(DoubleHarmonicSpectrum.DiffTable table, DoubleSignalSource frequency) DoubleTableOscillator(DoubleHarmonicSpectrum.DiffTable table, DoubleSignalSource frequencySource, double phase) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidstep()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.DoubleStoredSignalSource
getAsDoubleMethods 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.DoubleClockedSignalSource
after, drain, drain, during, spliterator, streamMethods inherited from interface eu.bandm.sig.adlib2.DoubleSignalSource
abs, add, asDouble, asFloat, asInt, ceil, clockedAfter, defined, delayed, delayed, divide, equal, floor, getConstantAsDouble, getValueClass, glidingAverage, glidingStandardDeviation, glidingSum, glidingVariance, greaterOrEqual, greaterThan, guard, hasConstantAsDouble, 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, getProcess, init, setRealtimeContext
-
Constructor Details
-
DoubleTableOscillator
-
DoubleTableOscillator
public DoubleTableOscillator(DoubleHarmonicSpectrum.DiffTable table, DoubleSignalSource frequencySource, double phase)
-
-
Method Details
-
setRealtimeContext
-
changeTable
-
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.
-