Package heronarts.lx.audio
Class LXAudioOutput
java.lang.Object
heronarts.lx.LXComponent
heronarts.lx.audio.LXAudioComponent
heronarts.lx.audio.LXAudioOutput
- All Implemented Interfaces:
LXPath,LXSerializable,LXOscComponent,LXParameterListener,EventListener,LineListener
-
Nested Class Summary
Nested 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 StringParameterfinal BooleanParameterfinal BooleanParameterfinal BooleanParameterFields inherited from class heronarts.lx.audio.LXAudioComponent
BITS_PER_SAMPLE, BYTES_PER_SAMPLE, left, mix, MONO, MONO_BUFFER_SIZE, MONO_FRAME_SIZE, MONO_SOURCE_LINE, MONO_TARGET_LINE, right, SAMPLE_BUFFER_SIZE, SAMPLE_RATE, STEREO, STEREO_BUFFER_SIZE, STEREO_FRAME_SIZE, STEREO_SOURCE_LINE, STEREO_TARGET_LINEFields 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 TypeMethodDescriptionvoidclose()voidSubclasses are free to override this if desired.booleansetAudioInputStream(AudioInputStream inputStream) voidsetInputStream(File file) booleansetInputStream(InputStream inputStream) voidMethods 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, load, 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.osc.LXOscComponent
getOscAddress, handleOscMessageMethods inherited from interface heronarts.lx.LXPath
getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalLabel, getCanonicalPath, getCanonicalPath, isDescendant
-
Field Details
-
trigger
-
play
-
looping
-
file
-
-
Constructor Details
-
LXAudioOutput
-
-
Method Details
-
setInputStream
-
setInputStream
-
setAudioInputStream
-
onParameterChanged
Description copied from class:LXComponentSubclasses are free to override this if desired. It will automatically fire for any listenable parameter that is registered with this component.- Specified by:
onParameterChangedin interfaceLXParameterListener- Overrides:
onParameterChangedin classLXComponent- Parameters:
p- Parameter that has a value change
-
getFileName
-
close
public void close() -
update
- Specified by:
updatein interfaceLineListener
-