Package heronarts.lx.clip
Class LXAbstractChannelClip
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.LXRunnableComponent
heronarts.lx.clip.LXClip
heronarts.lx.clip.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
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.clip.LXClip
LXClip.ClipView, LXClip.CursorParameter, LXClip.ListenerNested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Name, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.RenamableNested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils -
Field Summary
FieldsFields inherited from class heronarts.lx.clip.LXClip
automationEnabled, bus, clipView, cursor, customSnapshotTransition, KEY_INDEX, lanes, launch, launchAutomation, launchFromCursor, length, loop, loopEnd, loopLength, loopStart, mutableLanes, playEnd, playStart, referenceBpm, snapshot, snapshotEnabled, snapshotTransitionEnabled, stop, timeBase, zoomFields inherited from class heronarts.lx.LXRunnableComponent
runMs, running, triggerFields inherited from class heronarts.lx.LXComponent
childArrays, children, internalParameters, KEY_CHILDREN, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_INTERNAL, KEY_PARAMETER_PATH, KEY_PARAMETERS, KEY_PATH, KEY_RESET, label, legacyInternalParameters, legacyParameters, lx, modulationColor, modulationControlsExpanded, modulationsExpanded, parameters, presetFileFields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLXAbstractChannelClip(LX lx, LXAbstractChannel channel, int index, boolean registerListener) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Invoked when a component is being removed from the system and will no longer be used at all.voidmidiReceived(LXAbstractChannel channel, LXShortMessage message) protected voidSubclasses may overrideprotected voidSubclasses may overrideMethods inherited from class heronarts.lx.clip.LXClip
addListener, addParameterLane, constructAbsoluteCursor, constructTempoCursor, constructTempoCursor, constructTransportCursor, CursorOp, effectAdded, effectMoved, effectRemoved, findClipLanes, getCursor, getIndex, getLength, getPath, getTimeBase, isArmed, isOverdub, isPending, isRecording, launch, launchAutomation, launchAutomationFrom, launchAutomationFromCursor, load, loadLane, moveClipLane, onParameterChanged, onStart, onStartRecording, onStop, onTrigger, playFrom, playFromCursor, registerComponent, registerParameter, removeListener, removeParameterLane, run, save, setCursor, setCursor, setIndex, setLoopBrace, setLoopEnd, setLoopLength, setLoopStart, setPlayEnd, setPlayStart, snapLaunchQuantization, snapTempo, triggerAction, triggerAction, unregisterComponent, unregisterParameterMethods inherited from class heronarts.lx.LXRunnableComponent
isRunning, loop, onReset, postRun, reset, start, stop, toggle, triggerMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, getCategory, getChild, getComponentDescription, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, hasParameter, isValidOscParameter, loadParameters, loadPreset, removeParameter, removeParameter, removeParameter, removeParameter, savePreset, setDescription, setParent, toOscQuery, toOscQuery, toOscQuery, toString, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.osc.LXOscComponent
getOscAddress, handleOscMessageMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
channel
-
midiNoteLane
-
-
Constructor Details
-
LXAbstractChannelClip
protected LXAbstractChannelClip(LX lx, LXAbstractChannel channel, int index, boolean registerListener)
-
-
Method Details
-
onStopPlayback
protected void onStopPlayback()Description copied from class:LXClipSubclasses may override- Overrides:
onStopPlaybackin classLXClip
-
onStopRecording
protected void onStopRecording()Description copied from class:LXClipSubclasses may override- Overrides:
onStopRecordingin classLXClip
-
midiReceived
- Specified by:
midiReceivedin interfaceLXAbstractChannel.MidiListener
-
dispose
public void dispose()Description copied from class:LXComponentInvoked 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 callsuper.dispose()at the appropriate time to perform the basic cleanup, which may need to happen either before or after cleaning up other objects.
-