Class LXChannelClip

All Implemented Interfaces:
LXComponent.Renamable, LXLoopTask, LXPath, LXSerializable, LXAbstractChannel.Listener, LXAbstractChannel.MidiListener, LXBus.Listener, LXChannel.Listener, LXOscComponent, LXParameterListener

public class LXChannelClip extends LXAbstractChannelClip implements LXChannel.Listener
  • Field Details

  • Constructor Details

    • LXChannelClip

      public LXChannelClip(LX lx, LXChannel channel, int index)
  • Method Details

    • registerPattern

      protected void registerPattern(LXPattern pattern)
    • unregisterPattern

      protected void unregisterPattern(LXPattern pattern)
    • 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 LXAbstractChannelClip
    • onStartRecording

      protected void onStartRecording(boolean isOverdub)
      Description copied from class: LXClip
      Subclasses may override
      Overrides:
      onStartRecording in class LXClip
      Parameters:
      isOverdub - Whether this was overdub recording
    • patternAdded

      public void patternAdded(LXChannel channel, LXPattern pattern)
      Specified by:
      patternAdded in interface LXChannel.Listener
    • patternRemoved

      public void patternRemoved(LXChannel channel, LXPattern pattern)
      Specified by:
      patternRemoved in interface LXChannel.Listener
    • patternWillChange

      public void patternWillChange(LXChannel channel, LXPattern pattern, LXPattern nextPattern)
      Specified by:
      patternWillChange in interface LXChannel.Listener
    • loadLane

      protected void loadLane(LX lx, String laneType, JsonObject laneObj)
      Overrides:
      loadLane in class LXClip