Class LXAbstractChannelClip

All Implemented Interfaces:
LXComponent.Renamable, LXLoopTask, LXPath, LXSerializable, LXAbstractChannel.MidiListener, LXBus.Listener, LXOscComponent, LXParameterListener
Direct Known Subclasses:
LXChannelClip, LXGroupClip

public abstract class LXAbstractChannelClip extends LXClip implements LXAbstractChannel.MidiListener
  • Field Details

  • Constructor Details

    • LXAbstractChannelClip

      protected LXAbstractChannelClip(LX lx, LXAbstractChannel channel, int index, boolean registerListener)
  • Method Details

    • onStopPlayback

      protected void onStopPlayback()
      Description copied from class: LXClip
      Subclasses may override
      Overrides:
      onStopPlayback in class LXClip
    • onStopRecording

      protected void onStopRecording()
      Description copied from class: LXClip
      Subclasses may override
      Overrides:
      onStopRecording in class LXClip
    • midiReceived

      public void midiReceived(LXAbstractChannel channel, LXShortMessage message)
      Specified by:
      midiReceived in interface LXAbstractChannel.MidiListener
    • 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 LXClip