@LXCategory(value="MIDI") public class GateEffect extends LXEffect
Modifier and Type | Class and Description |
---|---|
static class |
GateEffect.TriggerMode |
LXEffect.Placeholder, LXEffect.Profiler
LXLayeredComponent.Buffered
LXComponent.Renamable
LXSerializable.Utils
enabled, enabledDamped, enabledDampingAttack, enabledDampingRelease, hasDamping, profiler
controlsExpanded, crashed, DEVICE_CATEGORY_NAME_SORT, DEVICE_VERSION_UNSPECIFIED, KEY_DEVICE_VERSION, modulation, modulationExpanded
colors, layers, palette
model
modulators
controlSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor
Constructor and Description |
---|
GateEffect(LX lx) |
Modifier and Type | Method and Description |
---|---|
void |
noteOffReceived(MidiNote note) |
void |
noteOnReceived(MidiNoteOn note) |
void |
onParameterChanged(LXParameter p)
Subclasses are free to override this if desired.
|
protected void |
run(double deltaMs,
double enabledAmount)
Implementation of the effect.
|
disable, dispose, enable, getBus, getIndex, getPath, isEnabled, isRemoteControl, onDisable, onEnable, onLoop, setBus, setDamping, setDampingTime, setDampingTime, setIndex, toggle
getCategory, getCrash, getCrashStackTrace, getDeviceVersion, getModulationEngine, getRemoteControls, loop, save, setRemoteControls
addColor, addColor, addLayer, afterLayers, blendColor, blendColor, clearColors, getBuffer, getColor, getColor, getColors, getLayers, removeLayer, setBuffer, setBuffer, setColor, setColor, setColor, setColors, subtractColor
getModel, onModelChanged, setModel
addModulator, addModulator, addModulator, constructProfiler, getModulator, getModulators, moveModulator, removeModulator, startModulator
addArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, handleOscMessage, load, loadParameters, removeParameter, removeParameter, saveParameters, setParent, toString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getOscAddress, handleOscMessage
aftertouchReceived, controlChangeReceived, pitchBendReceived, programChangeReceived
get, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameter
public final CompoundParameter floor
public final CompoundParameter ceiling
public final CompoundParameter attack
public final CompoundParameter decay
public final CompoundParameter sustain
public final CompoundParameter release
public final CompoundParameter shape
public final EnumParameter<GateEffect.TriggerMode> triggerMode
public final BooleanParameter manualTrigger
public final BooleanParameter midiEnabled
public final BoundedParameter midiVelocityResponse
public final DiscreteParameter midiMinNote
public final DiscreteParameter midiNoteRange
public GateEffect(LX lx)
public void onParameterChanged(LXParameter p)
LXComponent
onParameterChanged
in interface LXParameterListener
onParameterChanged
in class LXComponent
p
- Parameter that has a value changeprotected void run(double deltaMs, double enabledAmount)
LXEffect
public void noteOnReceived(MidiNoteOn note)
public void noteOffReceived(MidiNote note)
LX library by Mark C. Slee. © 2012-2020