public class LXAudioEngine extends LXModulatorComponent implements LXOscComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
LXAudioEngine.Mode |
LXModulatorComponent.ProfilerLXComponent.Placeholder, LXComponent.RenamableLXSerializable.Utils| Modifier and Type | Field and Description |
|---|---|
BooleanParameter |
enabled |
LXAudioInput |
input
Audio input object
|
GraphicMeter |
meter |
EnumParameter<LXAudioEngine.Mode> |
mode |
LXAudioOutput |
output |
modulators, profilercontrolSurfaceSemaphore, KEY_CLASS, KEY_COMPONENT_ID, KEY_ID, KEY_PARAMETER_PATH, KEY_PATH, label, lx, modulationColor| Constructor and Description |
|---|
LXAudioEngine(LX lx) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Invoked when a component is being removed from the system and will no longer be used at all.
|
LXAudioInput |
getInput()
Retrieves the audio input object at default sample rate of 44.1kHz
|
void |
load(LX lx,
JsonObject obj)
Loads the LX component.
|
void |
onParameterChanged(LXParameter p)
Subclasses are free to override this if desired.
|
addModulator, addModulator, addModulator, constructProfiler, getModulator, getModulators, loop, moveModulator, removeModulator, startModulatoraddArray, addChild, addInternalParameter, addParameter, addParameter, contains, copyParameters, getChild, getComponentName, getComponentName, getComponentName, getId, getLabel, getLX, getOscAddress, getOscLabel, getOscPath, getParameter, getParameters, getParent, getPath, handleOscMessage, loadParameters, removeParameter, removeParameter, save, saveParameters, setParent, toString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOscAddress, handleOscMessageget, get, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, getComponent, getComponent, getParameter, getParameterpublic BooleanParameter enabled
public final LXAudioInput input
public final LXAudioOutput output
public final GraphicMeter meter
public final EnumParameter<LXAudioEngine.Mode> mode
public LXAudioEngine(LX lx)
public void onParameterChanged(LXParameter p)
LXComponentonParameterChanged in interface LXParameterListeneronParameterChanged in class LXComponentp - Parameter that has a value changepublic final LXAudioInput getInput()
public void dispose()
LXComponentsuper.dispose() at the appropriate
time to perform the basic cleanup, which may need to happen either before or after cleaning
up other objects.dispose in class LXModulatorComponentpublic void load(LX lx, JsonObject obj)
LXComponentload in interface LXSerializableload in class LXComponentlx - LX instanceobj - Object to deserializeLX library by Mark C. Slee. © 2012-2020