com.sun.j3d.audioengines
Class AuralParameters

java.lang.Object
  |
  +--com.sun.j3d.audioengines.AuralParameters

public class AuralParameters
extends java.lang.Object

The AuralParameters Class defines a set of fields that 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
protected static boolean debugFlag
          Debug print mechanism for Sound nodes
protected static boolean internalErrors
           
static int NO_FILTERING
           
static float SPEED_OF_SOUND
           
 
Constructor Summary
AuralParameters()
          Construct a new AuralParameters object
 
Method Summary
protected  void debugPrint(java.lang.String message)
           
 void getDistanceFilter(double[] distance, float[] filterCutoff)
           
 int getDistanceFilterLength()
           
 int getDistanceFilterType()
           
 float getFrequencyScaleFactor()
           
 float getReflectionCoefficient()
           
 float getReverbDelay()
           
 int getReverbOrder()
           
 float getRolloff()
           
 float getVelocityScaleFactor()
           
 void setDistanceFilter(int filterType, double[] distance, float[] filterCutoff)
           
 void setFrequencyScaleFactor(float frequencyScaleFactor)
           
 void setReflectionCoefficient(float coefficient)
           
 void setReverbDelay(float reverbDelay)
           
 void setReverbOrder(int reverbOrder)
           
 void setRolloff(float rolloff)
           
 void setVelocityScaleFactor(float velocityScaleFactor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SPEED_OF_SOUND

public static final float SPEED_OF_SOUND

NO_FILTERING

public static final int NO_FILTERING

debugFlag

protected static final boolean debugFlag
Debug print mechanism for Sound nodes

internalErrors

protected static final boolean internalErrors
Constructor Detail

AuralParameters

public AuralParameters()
Construct a new AuralParameters object
Method Detail

setRolloff

public void setRolloff(float rolloff)

getRolloff

public float getRolloff()

setReflectionCoefficient

public void setReflectionCoefficient(float coefficient)

getReflectionCoefficient

public float getReflectionCoefficient()

setReverbDelay

public void setReverbDelay(float reverbDelay)

getReverbDelay

public float getReverbDelay()

setReverbOrder

public void setReverbOrder(int reverbOrder)

getReverbOrder

public int getReverbOrder()

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)

setFrequencyScaleFactor

public void setFrequencyScaleFactor(float frequencyScaleFactor)

getFrequencyScaleFactor

public float getFrequencyScaleFactor()

setVelocityScaleFactor

public void setVelocityScaleFactor(float velocityScaleFactor)

getVelocityScaleFactor

public float getVelocityScaleFactor()

debugPrint

protected void debugPrint(java.lang.String message)