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:
LXEffect.Container,LXLoopTask,LXPath,LXPresetComponent,LXSerializable,LXModulationContainer,LXOscComponent,LXParameterListener
Represents the master channel. Doesn't do anything special
that a normal bus does not.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class heronarts.lx.mixer.LXBus
LXBus.ClipListener, LXBus.Listener, LXBus.ProfilerNested 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
FieldsFields inherited from class heronarts.lx.mixer.LXBus
arm, clips, controlsExpandedAux, controlsExpandedCue, effects, fader, hasRunningClip, modulation, modulationExpanded, mutableEffects, PATH_EFFECT, selected, stopClipsFields inherited from class heronarts.lx.LXModelComponent
modelFields inherited from class heronarts.lx.LXModulatorComponent
modulators, profilerFields 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 TypeMethodDescriptionprotected LXClipconstructClip(int index) intgetIndex()doubleRetrieves the amount of brightness scaling that should be applied to the output.getPath()Accessor for the path of this object.voidpostProcessPreset(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, addClip, addClipListener, addEffect, addListener, clear, constructProfiler, dispose, disposeClips, getClip, getClipLabel, getEffects, getGroup, getModulationEngine, getModulationExpanded, getPresetClass, getRunningClip, handleOscMessage, isChannel, isEmptyGroup, isGroup, isInGroup, load, loop, loop, moveEffect, onClipStart, onClipStop, removeClip, removeClip, removeClipListener, removeEffect, removeListener, save, setMixer, stopClipsMethods inherited from class heronarts.lx.LXModelComponent
getModel, onModelChanged, setModelMethods inherited from class heronarts.lx.LXModulatorComponent
addModulator, addModulator, addModulator, addModulator, addModulator, getModulator, getModulators, moveModulator, removeModulator, startModulatorMethods inherited from class heronarts.lx.LXComponent
addArray, addChild, addInternalParameter, addLegacyInternalParameter, addLegacyParameter, addParameter, addParameter, addParameters, assertDisposed, contains, copyParameters, getCategory, getChild, getComponentDescription, 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface heronarts.lx.effect.LXEffect.Container
addEffect, getEffect, getEffect, loadEffectMethods inherited from interface heronarts.lx.osc.LXOscComponent
getOscAddressMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, 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:LXComponentAccessor 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:
getPathin interfaceLXPath- Overrides:
getPathin classLXComponent- Returns:
- path of this component relative to its parent
-
constructClip
- Specified by:
constructClipin classLXBus
-
postProcessPreset
Description copied from interface:LXPresetComponentPresets 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:
postProcessPresetin interfaceLXPresetComponent- Overrides:
postProcessPresetin classLXBus
-