Class SoundObjectEffect

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

@LXCategory("Audio") @LXComponentName("Sound Object") public class SoundObjectEffect extends LXEffect
  • Field Details

  • Constructor Details

    • SoundObjectEffect

      public SoundObjectEffect(LX lx)
  • Method Details

    • 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
    • dispose

      public void dispose()
      Description copied from class: LXComponent
      Invoked when a component is being removed from the system and will no longer be used at all. This unregisters the component and should free up any resources and parameter listeners. Ideally after this method is called the object should be eligible for garbage collection. Subclasses are generally expected to override this method to handle their particular cleanup work. They should also generally call super.dispose() at the appropriate time to perform the basic cleanup, which may need to happen either before or after cleaning up other objects.
      Overrides:
      dispose in class LXEffect