Package heronarts.lx.audio
Class Envelop
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.LXRunnableComponent
heronarts.lx.audio.Envelop
- All Implemented Interfaces:
LXLoopTask
,LXPath
,LXSerializable
,LXParameterListener
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
protected class
class
Nested classes/interfaces inherited from class heronarts.lx.LXComponent
LXComponent.Hidden, LXComponent.Placeholder, LXComponent.Renamable
Nested classes/interfaces inherited from interface heronarts.lx.LXSerializable
LXSerializable.Utils
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Envelop.Decode
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
final BooleanParameter
final Envelop.Source
Fields inherited from class heronarts.lx.LXRunnableComponent
runMs, running, trigger
Fields inherited from class heronarts.lx.LXComponent
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
ROOT, ROOT_PREFIX, ROOT_SLASH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
handleEnvelopOscMessage
(OscMessage message, String[] parts, int index) void
load
(LX lx, JsonObject obj) Loads the LX component.void
onStop()
Optional subclass method when stop happens.void
run
(double deltaMs) Methods inherited from class heronarts.lx.LXRunnableComponent
isRunning, loop, onParameterChanged, onReset, onStart, onTrigger, postRun, reset, start, stop, toggle, trigger
Methods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, contains, copyParameters, dispose, getCategory, getChild, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, hasParameter, isValidOscParameter, loadParameters, loadPreset, removeParameter, removeParameter, removeParameter, removeParameter, save, 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.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
source
-
decode
-
metersExpanded
-
ENVELOP_OSC_PATH
- See Also:
-
ENVELOP_METER_PATH
- See Also:
-
ENVELOP_SOURCE_PATH
- See Also:
-
ENVELOP_DECODE_PATH
- See Also:
-
ENVELOP_SOURCE_AED
- See Also:
-
ENVELOP_SOURCE_XYZ
- See Also:
-
ENVELOP_TEMPO_PATH
- See Also:
-
ENVELOP_BEAT_PATH
- See Also:
-
ENVELOP_BPM_PATH
- See Also:
-
-
Constructor Details
-
Envelop
-
-
Method Details
-
onStop
public void onStop()Description copied from class:LXRunnableComponent
Optional subclass method when stop happens.- Overrides:
onStop
in classLXRunnableComponent
-
run
public void run(double deltaMs) - Specified by:
run
in classLXRunnableComponent
-
handleEnvelopOscMessage
-
load
Description copied from class:LXComponent
Loads the LX component. Restores the ID of the component, as well as its internal and user-facing parameters. Any explicitly registered children will be automatically loaded, so long as they are direct descendants. Dynamic arrays will not be automatically loaded, this is left to subclasses to implement.- Specified by:
load
in interfaceLXSerializable
- Overrides:
load
in classLXComponent
- Parameters:
lx
- LX instanceobj
- Object to deserialize
-