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 TypeClassDescriptionclassprotected classclassNested 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
FieldsModifier and TypeFieldDescriptionfinal Envelop.Decodestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringfinal BooleanParameterfinal Envelop.SourceFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleEnvelopOscMessage(OscMessage message, String[] parts, int index) voidload(LX lx, JsonObject obj) Loads the LX component.voidonStop()Optional subclass method when stop happens.voidrun(double deltaMs) Methods inherited from class heronarts.lx.LXRunnableComponent
isRunning, loop, onParameterChanged, onReset, onStart, onTrigger, postRun, reset, start, stop, toggle, triggerMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, dispose, getCategory, getChild, getComponentDescription, 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, 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:LXRunnableComponentOptional subclass method when stop happens.- Overrides:
onStopin classLXRunnableComponent
-
run
public void run(double deltaMs) - Specified by:
runin classLXRunnableComponent
-
handleEnvelopOscMessage
-
load
Description copied from class:LXComponentLoads 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:
loadin interfaceLXSerializable- Overrides:
loadin classLXComponent- Parameters:
lx- LX instanceobj- Object to deserialize
-