public abstract class LXAbstractChannel extends LXBus implements LXComponent.Renamable
| Modifier and Type | Class and Description |
|---|---|
static class |
LXAbstractChannel.CrossfadeGroup |
static interface |
LXAbstractChannel.Listener |
static interface |
LXAbstractChannel.MidiListener |
class |
LXAbstractChannel.Profiler |
LXBus.ClipListenerLXComponent.Placeholder, LXComponent.RenamableLXSerializable.Utils| Modifier and Type | Field and Description |
|---|---|
protected ModelBuffer |
blendBuffer
This is a local buffer used for transition blending on this channel
|
ObjectParameter<LXBlend> |
blendMode |
protected int[] |
colors |
EnumParameter<LXAbstractChannel.CrossfadeGroup> |
crossfadeGroup
Crossfade group this channel belongs to
|
BooleanParameter |
cueActive
Whether this channel should show in the cue UI.
|
BooleanParameter |
enabled
Whether this channel is enabled.
|
CompoundParameter |
fader |
protected int |
index
The index of this channel in the engine.
|
EnumParameter<LXMidiEngine.Channel> |
midiChannel
Which channel MIDI messages this channel observes
|
BooleanParameter |
midiMonitor
Whether this channel should listen to MIDI events
|
arm, clips, effects, mutableEffects, PATH_EFFECT, selectedmodelmodulators, profilercontrolSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor| Modifier | Constructor and Description |
|---|---|
protected |
LXAbstractChannel(LX lx,
int index,
String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(LXAbstractChannel.Listener listener) |
LXAbstractChannel |
addMidiListener(LXAbstractChannel.MidiListener listener) |
protected LXModulatorComponent.Profiler |
constructProfiler() |
void |
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.
|
int |
getIndex() |
String |
getPath()
Accessor for the path of this object.
|
void |
loop(double deltaMs) |
void |
midiDispatch(LXShortMessage message)
Dispatch a MIDI message to all the active devices on this channel, without
notifying listeners.
|
void |
midiMessage(LXShortMessage message)
Invoked by the MIDI/OSC/Clip engines when this channel should process a
MIDI message.
|
void |
onParameterChanged(LXParameter p)
Subclasses are free to override this if desired.
|
void |
removeListener(LXAbstractChannel.Listener listener) |
LXAbstractChannel |
removeMidiListener(LXAbstractChannel.MidiListener listener) |
addClip, addClip, addClipListener, addEffect, addEffect, addListener, constructClip, disposeClips, getClip, getClip, getEffect, getEffect, getEffects, getGroup, handleOscMessage, isChannel, isEmptyGroup, isGroup, isInGroup, load, loop, moveEffect, onModelChanged, reloadEffect, removeClip, removeClip, removeClipListener, removeEffect, removeListener, save, setMixer, stopClipsgetModel, setModeladdModulator, addModulator, addModulator, getModulator, getModulators, moveModulator, removeModulator, startModulatoraddArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, loadParameters, removeParameter, removeParameter, saveParameters, setParent, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOscAddressget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameterprotected int index
protected final ModelBuffer blendBuffer
protected int[] colors
public final BooleanParameter enabled
public final EnumParameter<LXAbstractChannel.CrossfadeGroup> crossfadeGroup
public final BooleanParameter cueActive
public final CompoundParameter fader
public final BooleanParameter midiMonitor
public final EnumParameter<LXMidiEngine.Channel> midiChannel
public final ObjectParameter<LXBlend> blendMode
protected LXModulatorComponent.Profiler constructProfiler()
constructProfiler in class LXBuspublic LXAbstractChannel addMidiListener(LXAbstractChannel.MidiListener listener)
public LXAbstractChannel removeMidiListener(LXAbstractChannel.MidiListener listener)
public String getPath()
LXComponentgetPath in interface LXPathgetPath in class LXComponentpublic void onParameterChanged(LXParameter p)
LXComponentonParameterChanged in interface LXParameterListeneronParameterChanged in class LXComponentp - Parameter that has a value changepublic void midiMessage(LXShortMessage message)
message - Message to processpublic void midiDispatch(LXShortMessage message)
message - Messagepublic void loop(double deltaMs)
loop in interface LXLoopTaskloop in class LXBuspublic final void addListener(LXAbstractChannel.Listener listener)
public final void removeListener(LXAbstractChannel.Listener listener)
public void dispose()
LXComponentsuper.dispose() at the appropriate
time to perform the basic cleanup, which may need to happen either before or after cleaning
up other objects.LX library by Mark C. Slee. © 2012-2020