Class spatialAudio.ReverbModel
All Packages Class Hierarchy This Package Previous Next Index
Class spatialAudio.ReverbModel
java.lang.Object
|
+----spatialAudio.ReverbModel
- public class ReverbModel
- extends Object
The ReverbModel class stores a set of reverberation parameters.
Reverberation is applied to the environment as a whole, but specific
sound sources may elect not to be included in reverberation.
Copyright (c) 1996 Intel Corporation
- See Also:
- RenderOptions
-
CHAMBER_REVERB
- Represents the reverberation typical in a chamber.
-
decayTime
- Specifies the reverberation decay time in seconds.
-
HALL_REVERB
- Represents the reverberation typical in a hall.
-
intensity
- Specifies the reverberation gain used to model sound absorption.
-
PLATE_REVERB
- Represents the reverberation typical on a plate.
-
reverbState
- Indicates whether reverb should be used.
-
ROOM_REVERB
- Represents the reverberation typical in a room.
-
STAGE_REVERB
- Represents the reverberation typical on a stage.
-
ReverbModel()
- Creates a new reverberation model with the default parameters.
-
ReverbModel(int)
- Creates a new reverberation model with the specified parameters.
-
ReverbModel(int, float, float)
- Creates a new reverberation model with the specified parameters.
-
toString()
- Returns a String representation of the ReverbModel instance variables.
ROOM_REVERB
public final static int ROOM_REVERB
- Represents the reverberation typical in a room.
The values are: decayTime 0.5 seconds, intensity 0.2.
CHAMBER_REVERB
public final static int CHAMBER_REVERB
- Represents the reverberation typical in a chamber.
The values are: decayTime 1.0 seconds, intensity 0.2.
STAGE_REVERB
public final static int STAGE_REVERB
- Represents the reverberation typical on a stage.
The values are: decayTime 1.5 seconds, intensity 0.2.
HALL_REVERB
public final static int HALL_REVERB
- Represents the reverberation typical in a hall.
The values are: decayTime 2.0 seconds, intensity 0.2.
PLATE_REVERB
public final static int PLATE_REVERB
- Represents the reverberation typical on a plate.
The values are: decayTime 2.5 seconds, intensity 0.2.
reverbState
public int reverbState
- Indicates whether reverb should be used.
Valid choices are USE_REVERB, which indicates that reverberation should be activated
with the characteristics specified by the decayTime and intensity values,
NO_REVERB, which indicates that reverberation should be disabled, and DEFAULT,
which indicates that the default value, USE_REVERB, should be used.
decayTime
public float decayTime
- Specifies the reverberation decay time in seconds.
intensity
public float intensity
- Specifies the reverberation gain used to model sound absorption.
ReverbModel
public ReverbModel(int reverbState,
float decayTime,
float intensity)
- Creates a new reverberation model with the specified parameters.
- Parameters:
- reverbState - Indicates whether reverb should be used.
- decayTime - Specifies the reverberation decay time in seconds.
- intensity - Specifies the reverberation gain used to model sound absorption.
This value should be in the range of 0 to 1.
ReverbModel
public ReverbModel(int type)
- Creates a new reverberation model with the specified parameters.
- Parameters:
- type - A value representing the type of reverberation.
Valid values are ROOM_REVERB, CHAMBER_REVERB, STAGE_REVERB,
HALL_REVERB, and PLATE_REVERB.
ReverbModel
public ReverbModel()
- Creates a new reverberation model with the default parameters.
The reverb state is set to USE_REVERB, which indicates that
reverberation should be used. decayTime is set to 1.2 seconds, and
intensity to 0.1.
toString
public String toString()
- Returns a String representation of the ReverbModel instance variables.
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index