Interface X3DSoundProcessingNode
- All Superinterfaces:
X3DChildNode,X3DNode,X3DSoundNode,X3DTimeDependentNode
- All Known Subinterfaces:
Analyser,BiquadFilter,Convolver,Delay,DynamicsCompressor,Gain,WaveShaper
- All Known Implementing Classes:
Analyser,BiquadFilter,Convolver,Delay,DynamicsCompressor,Gain,WaveShaper
Base type for all sound processing nodes, which are used to enhance audio with filtering, delaying, changing gain, etc.
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
Package hint: This interface is defined by the X3D Java Language Binding Specification for the Scene Authoring Interface (SAI).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintProvide int value from outputOnly SFInt32 field named channelCount.Provide String enumeration value (baseType SFString) ["MAX" | "CLAMPED_MAX" | "EXPLICIT"] from inputOutput SFString field named channelCountMode.Provide String enumeration value (baseType SFString) ["SPEAKERS" | "DISCRETE"] from inputOutput SFString field named channelInterpretation.Provide String value from inputOutput SFString field named description.doubleProvide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named elapsedTime.booleanProvide boolean value from inputOutput SFBool field named enabled.floatgetGain()Provide float value from inputOutput SFFloat field named gain.booleanProvide boolean value from outputOnly SFBool field named isActive.booleanProvide boolean value from outputOnly SFBool field named isPaused.Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.doubleProvide double value in seconds from inputOutput SFTime field named pauseTime.doubleProvide double value in seconds from inputOutput SFTime field named resumeTime.doubleProvide double value in seconds from inputOutput SFTime field named startTime.doubleProvide double value in seconds from inputOutput SFTime field named stopTime.doubleProvide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named tailTime.setChannelCountMode(String newValue) Accessor method to assign String enumeration value ("MAX" | "CLAMPED_MAX" | "EXPLICIT") to inputOutput SFString field named channelCountMode.setChannelInterpretation(String newValue) Accessor method to assign String enumeration value ("SPEAKERS" | "DISCRETE") to inputOutput SFString field named channelInterpretation.setDescription(String newValue) Accessor method to assign String value to inputOutput SFString field named description.setEnabled(boolean newValue) Accessor method to assign boolean value to inputOutput SFBool field named enabled.setGain(float newValue) Accessor method to assign float value to inputOutput SFFloat field named gain.setMetadata(X3DMetadataObject newValue) Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.setPauseTime(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named pauseTime.setResumeTime(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named resumeTime.setStartTime(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named startTime.setStopTime(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named stopTime.setTailTime(double newValue) Accessor method to assign double value in seconds to inputOutput SFTime field named tailTime.
-
Method Details
-
getChannelCount
int getChannelCount()Provide int value from outputOnly SFInt32 field named channelCount.- Returns:
- value of channelCount field
-
getChannelCountMode
String getChannelCountMode()Provide String enumeration value (baseType SFString) ["MAX" | "CLAMPED_MAX" | "EXPLICIT"] from inputOutput SFString field named channelCountMode.- Returns:
- value of channelCountMode field
-
setChannelCountMode
Accessor method to assign String enumeration value ("MAX" | "CLAMPED_MAX" | "EXPLICIT") to inputOutput SFString field named channelCountMode.- Parameters:
newValue- is new value for the channelCountMode field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getChannelInterpretation
String getChannelInterpretation()Provide String enumeration value (baseType SFString) ["SPEAKERS" | "DISCRETE"] from inputOutput SFString field named channelInterpretation.- Returns:
- value of channelInterpretation field
-
setChannelInterpretation
Accessor method to assign String enumeration value ("SPEAKERS" | "DISCRETE") to inputOutput SFString field named channelInterpretation.- Parameters:
newValue- is new value for the channelInterpretation field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getDescription
String getDescription()Provide String value from inputOutput SFString field named description.- Specified by:
getDescriptionin interfaceX3DSoundNode- Specified by:
getDescriptionin interfaceX3DTimeDependentNode- Returns:
- value of description field
-
setDescription
Accessor method to assign String value to inputOutput SFString field named description.- Specified by:
setDescriptionin interfaceX3DSoundNode- Specified by:
setDescriptionin interfaceX3DTimeDependentNode- Parameters:
newValue- is new value for the description field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getElapsedTime
double getElapsedTime()Provide double value in seconds within allowed range of [0,infinity) from outputOnly SFTime field named elapsedTime.- Specified by:
getElapsedTimein interfaceX3DTimeDependentNode- Returns:
- value of elapsedTime field
-
getEnabled
boolean getEnabled()Provide boolean value from inputOutput SFBool field named enabled.- Specified by:
getEnabledin interfaceX3DSoundNode- Returns:
- value of enabled field
-
setEnabled
Accessor method to assign boolean value to inputOutput SFBool field named enabled.- Specified by:
setEnabledin interfaceX3DSoundNode- Parameters:
newValue- is new value for the enabled field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getGain
float getGain()Provide float value from inputOutput SFFloat field named gain.- Returns:
- value of gain field
-
setGain
Accessor method to assign float value to inputOutput SFFloat field named gain.- Parameters:
newValue- is new value for the gain field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getIsActive
boolean getIsActive()Provide boolean value from outputOnly SFBool field named isActive.- Specified by:
getIsActivein interfaceX3DTimeDependentNode- Returns:
- value of isActive field
-
getIsPaused
boolean getIsPaused()Provide boolean value from outputOnly SFBool field named isPaused.- Specified by:
getIsPausedin interfaceX3DTimeDependentNode- Returns:
- value of isPaused field
-
getMetadata
X3DMetadataObject getMetadata()Provide org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.- Specified by:
getMetadatain interfaceX3DChildNode- Specified by:
getMetadatain interfaceX3DNode- Specified by:
getMetadatain interfaceX3DSoundNode- Specified by:
getMetadatain interfaceX3DTimeDependentNode- Returns:
- value of metadata field
- See Also:
-
setMetadata
Accessor method to assign org.web3d.x3d.sai.Core.X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.- Specified by:
setMetadatain interfaceX3DChildNode- Specified by:
setMetadatain interfaceX3DNode- Specified by:
setMetadatain interfaceX3DSoundNode- Specified by:
setMetadatain interfaceX3DTimeDependentNode- Parameters:
newValue- is new value for the metadata field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).- See Also:
-
getPauseTime
double getPauseTime()Provide double value in seconds from inputOutput SFTime field named pauseTime.- Specified by:
getPauseTimein interfaceX3DTimeDependentNode- Returns:
- value of pauseTime field
-
setPauseTime
Accessor method to assign double value in seconds to inputOutput SFTime field named pauseTime.- Specified by:
setPauseTimein interfaceX3DTimeDependentNode- Parameters:
newValue- is new value for the pauseTime field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getResumeTime
double getResumeTime()Provide double value in seconds from inputOutput SFTime field named resumeTime.- Specified by:
getResumeTimein interfaceX3DTimeDependentNode- Returns:
- value of resumeTime field
-
setResumeTime
Accessor method to assign double value in seconds to inputOutput SFTime field named resumeTime.- Specified by:
setResumeTimein interfaceX3DTimeDependentNode- Parameters:
newValue- is new value for the resumeTime field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getStartTime
double getStartTime()Provide double value in seconds from inputOutput SFTime field named startTime.- Specified by:
getStartTimein interfaceX3DTimeDependentNode- Returns:
- value of startTime field
-
setStartTime
Accessor method to assign double value in seconds to inputOutput SFTime field named startTime.- Specified by:
setStartTimein interfaceX3DTimeDependentNode- Parameters:
newValue- is new value for the startTime field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getStopTime
double getStopTime()Provide double value in seconds from inputOutput SFTime field named stopTime.- Specified by:
getStopTimein interfaceX3DTimeDependentNode- Returns:
- value of stopTime field
-
setStopTime
Accessor method to assign double value in seconds to inputOutput SFTime field named stopTime.- Specified by:
setStopTimein interfaceX3DTimeDependentNode- Parameters:
newValue- is new value for the stopTime field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-
getTailTime
double getTailTime()Provide double value in seconds within allowed range of [0,infinity) from inputOutput SFTime field named tailTime.- Returns:
- value of tailTime field
-
setTailTime
Accessor method to assign double value in seconds to inputOutput SFTime field named tailTime.- Parameters:
newValue- is new value for the tailTime field.- Returns:
X3DSoundProcessingNode- namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).
-