Package heronarts.lx.clip
Class LXChannelClip
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.LXRunnableComponent
heronarts.lx.clip.LXClip
heronarts.lx.clip.LXAbstractChannelClip
heronarts.lx.clip.LXChannelClip
- All Implemented Interfaces:
LXComponent.Renamable
,LXLoopTask
,LXPath
,LXSerializable
,LXAbstractChannel.Listener
,LXAbstractChannel.MidiListener
,LXBus.Listener
,LXChannel.Listener
,LXOscComponent
,LXParameterListener
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.clip.LXClip
LXClip.ClipView, LXClip.CursorParameter, LXClip.Listener
Nested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Description, LXComponent.Hidden, LXComponent.Name, LXComponent.Placeholder, LXComponent.PluginRequired, LXComponent.Renamable
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
FieldsFields inherited from class heronarts.lx.clip.LXAbstractChannelClip
midiNoteLane
Fields 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, zoom
Fields inherited from class heronarts.lx.LXRunnableComponent
runMs, running, trigger
Fields 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, presetFile
Fields inherited from interface heronarts.lx.LXPath
DEFAULT_SEPARATOR, ROOT, ROOT_PREFIX, ROOT_SLASH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.protected void
loadLane
(LX lx, String laneType, JsonObject laneObj) protected void
onStartRecording
(boolean isOverdub) Subclasses may overridevoid
patternAdded
(LXChannel channel, LXPattern pattern) void
patternRemoved
(LXChannel channel, LXPattern pattern) void
patternWillChange
(LXChannel channel, LXPattern pattern, LXPattern nextPattern) protected void
registerPattern
(LXPattern pattern) protected void
unregisterPattern
(LXPattern pattern) Methods inherited from class heronarts.lx.clip.LXAbstractChannelClip
midiReceived, onStopPlayback, onStopRecording
Methods 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, moveClipLane, onParameterChanged, onStart, onStop, onTrigger, playFrom, playFromCursor, registerComponent, registerParameter, removeListener, removeParameterLane, run, save, setCursor, setCursor, setIndex, setLoopBrace, setLoopEnd, setLoopLength, setLoopStart, setPlayEnd, setPlayStart, snapLaunchQuantization, snapTempo, triggerAction, triggerAction, unregisterComponent, unregisterParameter
Methods inherited from class heronarts.lx.LXRunnableComponent
isRunning, loop, onReset, postRun, reset, start, stop, toggle, trigger
Methods 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface heronarts.lx.mixer.LXAbstractChannel.Listener
indexChanged
Methods inherited from interface heronarts.lx.mixer.LXBus.Listener
effectAdded, effectMoved, effectRemoved
Methods inherited from interface heronarts.lx.mixer.LXChannel.Listener
groupChanged, patternDidChange, patternEnabled, patternMoved
Methods inherited from interface heronarts.lx.osc.LXOscComponent
getOscAddress, handleOscMessage
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
channel
-
patternLane
-
-
Constructor Details
-
LXChannelClip
-
-
Method Details
-
registerPattern
-
unregisterPattern
-
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 callsuper.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 classLXAbstractChannelClip
-
onStartRecording
protected void onStartRecording(boolean isOverdub) Description copied from class:LXClip
Subclasses may override- Overrides:
onStartRecording
in classLXClip
- Parameters:
isOverdub
- Whether this was overdub recording
-
patternAdded
- Specified by:
patternAdded
in interfaceLXChannel.Listener
-
patternRemoved
- Specified by:
patternRemoved
in interfaceLXChannel.Listener
-
patternWillChange
- Specified by:
patternWillChange
in interfaceLXChannel.Listener
-
loadLane
-