Package com.sun.j3d.audioengines
Class AuralParameters
- java.lang.Object
-
- com.sun.j3d.audioengines.AuralParameters
-
- Direct Known Subclasses:
JSAuralParameters
public class AuralParameters extends java.lang.ObjectThe AuralParameters Class defines a set of fields that define the Aural listening environment. Many of the parameters correspond to AuralAttribute fields.Error checking on all parameters passed to these methods is already explicitly being done by the Java 3D core code that calls these methods.
-
-
Field Summary
Fields Modifier and Type Field Description floatdecayFrequencyCutofffloatdecayTimefloatdensityfloatdiffusionfloatfrequencyScaleFactorstatic intNO_FILTERINGfloatreflectionCoefficientfloatreflectionDelayfloatreverbCoefficientfloatreverbDelayintreverbOrderfloatrolloffstatic floatSPEED_OF_SOUNDfloatvelocityScaleFactor
-
Constructor Summary
Constructors Constructor Description AuralParameters()Construct a new AuralParameters object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddebugPrint(java.lang.String message)Debug print method for Sound nodesvoidgetDistanceFilter(double[] distance, float[] filterCutoff)intgetDistanceFilterLength()intgetDistanceFilterType()voidsetDistanceFilter(int filterType, double[] distance, float[] filterCutoff)
-
-
-
Field Detail
-
SPEED_OF_SOUND
public static final float SPEED_OF_SOUND
- See Also:
- Constant Field Values
-
NO_FILTERING
public static final int NO_FILTERING
- See Also:
- Constant Field Values
-
rolloff
public float rolloff
-
reflectionCoefficient
public float reflectionCoefficient
-
reverbDelay
public float reverbDelay
-
reverbOrder
public int reverbOrder
-
frequencyScaleFactor
public float frequencyScaleFactor
-
velocityScaleFactor
public float velocityScaleFactor
-
reverbCoefficient
public float reverbCoefficient
-
reflectionDelay
public float reflectionDelay
-
decayTime
public float decayTime
-
decayFrequencyCutoff
public float decayFrequencyCutoff
-
diffusion
public float diffusion
-
density
public float density
-
-
Method Detail
-
setDistanceFilter
public void setDistanceFilter(int filterType, double[] distance, float[] filterCutoff)
-
getDistanceFilterLength
public int getDistanceFilterLength()
-
getDistanceFilterType
public int getDistanceFilterType()
-
getDistanceFilter
public void getDistanceFilter(double[] distance, float[] filterCutoff)
-
debugPrint
protected void debugPrint(java.lang.String message)
Debug print method for Sound nodes
-
-