Class DynamicsEffect

All Implemented Interfaces:
LXComponent.Renamable, LXLoopTask, LXPath, LXPresetComponent, LXSerializable, LXMidiListener, LXModulationContainer, LXOscComponent, LXParameterListener

@LXCategory("Color") public class DynamicsEffect extends LXEffect
  • Field Details

  • Constructor Details

    • DynamicsEffect

      public DynamicsEffect(LX lx)
  • Method Details

    • onParameterChanged

      public void onParameterChanged(LXParameter p)
      Description copied from class: LXComponent
      Subclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.
      Specified by:
      onParameterChanged in interface LXParameterListener
      Overrides:
      onParameterChanged in class LXComponent
      Parameters:
      p - Parameter that has a value change
    • getLookupTable

      public int[] getLookupTable()
    • run

      protected void run(double deltaMs, double enabledAmount)
      Description copied from class: LXEffect
      Implementation of the effect. Subclasses need to override this to implement their functionality.
      Specified by:
      run in class LXEffect
      Parameters:
      deltaMs - Number of milliseconds elapsed since last invocation
      enabledAmount - The amount of the effect to apply, scaled from 0-1