Package heronarts.lx.mixer
Class LXMasterBus
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.LXModulatorComponent
heronarts.lx.LXModelComponent
heronarts.lx.mixer.LXBus
heronarts.lx.mixer.LXMasterBus
- All Implemented Interfaces:
LXLoopTask
,LXPath
,LXPresetComponent
,LXSerializable
,LXOscComponent
,LXParameterListener
Represents the master channel. Doesn't do anything special
that a normal bus does not.
-
Nested Class Summary
Nested classes/interfaces inherited from class heronarts.lx.mixer.LXBus
LXBus.ClipListener, LXBus.Listener, LXBus.Profiler
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
Fields inherited from class heronarts.lx.mixer.LXBus
arm, clips, controlsExpandedAux, controlsExpandedCue, effects, fader, mutableEffects, PATH_EFFECT, selected
Fields inherited from class heronarts.lx.LXModelComponent
model
Fields inherited from class heronarts.lx.LXModulatorComponent
modulators, profiler
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected LXClip
constructClip
(int index) int
getIndex()
double
Retrieves the amount of brightness scaling that should be applied to the output.getPath()
Accessor for the path of this object.void
postProcessPreset
(LX lx, JsonObject obj) Presets by default contain the results of a normal save() call, but we may not always want all of the information contained.Methods inherited from class heronarts.lx.mixer.LXBus
addClip, addClip, addClip, addClipListener, addEffect, addEffect, addListener, constructProfiler, dispose, disposeClips, getClip, getClip, getClipLabel, getEffect, getEffect, getEffects, getGroup, getPresetClass, handleOscMessage, isChannel, isEmptyGroup, isGroup, isInGroup, load, loop, loop, moveEffect, reloadEffect, removeClip, removeClip, removeClipListener, removeEffect, removeListener, save, setMixer, stopClips
Methods inherited from class heronarts.lx.LXModelComponent
getModel, onModelChanged, setModel
Methods inherited from class heronarts.lx.LXModulatorComponent
addModulator, addModulator, addModulator, addModulator, addModulator, getModulator, getModulators, moveModulator, removeModulator, startModulator
Methods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, contains, copyParameters, getCategory, getChild, getComponentName, getComponentName, getComponentName, getDescription, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, hasParameter, isValidOscParameter, loadParameters, loadPreset, onParameterChanged, 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.osc.LXOscComponent
getOscAddress
Methods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
previewMode
-
-
Constructor Details
-
LXMasterBus
-
-
Method Details
-
getOutputBrightness
public double getOutputBrightness()Retrieves the amount of brightness scaling that should be applied to the output. This depends upon the master fader mode, whether its scaling has already been applied or not.- Returns:
- Brightness scaling to be applied for the output stage
-
getIndex
public int getIndex() -
getPath
Description copied from class:LXComponent
Accessor for the path of this object. Returns the path this component was registered with. Some subclasses may override this if path structure is dynamic.- Specified by:
getPath
in interfaceLXPath
- Overrides:
getPath
in classLXComponent
- Returns:
- path of this component relative to its parent
-
constructClip
- Specified by:
constructClip
in classLXBus
-
postProcessPreset
Description copied from interface:LXPresetComponent
Presets by default contain the results of a normal save() call, but we may not always want all of the information contained. This method post-processes the JSON object before writing to disk.- Specified by:
postProcessPreset
in interfaceLXPresetComponent
- Overrides:
postProcessPreset
in classLXBus
-