Class Interval

All Implemented Interfaces:
LXComponent.Renamable, LXLoopTask, LXPath, LXSerializable, LXTriggerSource, LXOscComponent, LXParameter, LXParameterListener

@Global("Interval") @Device("Interval") @LXCategory("Trigger") public class Interval extends LXPeriodicModulator implements LXTriggerSource, LXOscComponent
Modulator that provides randomized triggering on an interval
  • Field Details

  • Constructor Details

    • Interval

      public Interval()
  • Method Details

    • computeValue

      protected double computeValue(double deltaMs, double basis)
      Description copied from class: LXPeriodicModulator
      Implementation method to compute the value of a modulator given its basis.
      Specified by:
      computeValue in class LXPeriodicModulator
      Parameters:
      deltaMs - Milliseconds elapsed
      basis - Basis of the modulator
      Returns:
      Value of modulator
    • getTriggerSource

      public BooleanParameter getTriggerSource()
      Specified by:
      getTriggerSource in interface LXTriggerSource
    • computeBasis

      protected double computeBasis(double basis, double value)
      Description copied from class: LXPeriodicModulator
      Implementation method to compute the appropriate basis for a modulator given its current basis and value.
      Specified by:
      computeBasis in class LXPeriodicModulator
      Parameters:
      basis - Last basis of modulator
      value - Current value of modulator
      Returns:
      Basis of modulator