Class FloatStoredSignalSource

java.lang.Object
eu.bandm.sig.adlib2.AbstractProcess
eu.bandm.sig.adlib2.FloatStoredSignalSource
All Implemented Interfaces:
AbstractClockedSignalSource, AbstractSignalSource, Component, FloatClockedSignalSource, FloatSignalSource, Process, FloatSupplier
Direct Known Subclasses:
FloatClockedSignalSource.AbstractRandom, FloatDelay, FloatEnvelope, FloatFMOsci, FloatFractionalDelay, FloatMultiDelay, FloatOctaveRepeatingTabledTuning, FloatProcessMux, FloatSaH, FloatTableOscillator, FloatUpsamplingSignalSource

@Generated(generator="eu.bandm.tools.expander", version="1.3.1", timestamp="2026-10-23T14:02:08") public abstract class FloatStoredSignalSource extends AbstractProcess implements FloatClockedSignalSource
Common base class for signal (time-dependent value) sources of primitive type float whose output is the value of a variable that is updated only as driven by a clock.

The current value is stored in the field out, which needs to be written by the method Process.step().

  • Field Details

    • out

      protected float out
      The stored value of this signal source.
  • Constructor Details

    • FloatStoredSignalSource

      protected FloatStoredSignalSource(Optional<ConstantRealtimeContext> realtimeContext)
      Creates a new instance of a derived class with a fixed realtime context.

      The given realtime context is actually ignored by this constructor. It exists for purposes of regularity.

      Parameters:
      realtimeContext - an optional realtime context
    • FloatStoredSignalSource

      public FloatStoredSignalSource()
      Creates a new instance.
  • Method Details

    • getAsFloat

      public final float getAsFloat()
      Returns the current value of this signal source.

      The value may be either computed on demand, or retrieved from storage.

      Implementations of this method should have no side effect.

      Specified by:
      getAsFloat in interface FloatSignalSource
      Specified by:
      getAsFloat in interface FloatSupplier
      Returns:
      the current value of out