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

VARIABLE INDEX

 O CHAMBER_REVERB
Represents the reverberation typical in a chamber.
 O decayTime
Specifies the reverberation decay time in seconds.
 O HALL_REVERB
Represents the reverberation typical in a hall.
 O intensity
Specifies the reverberation gain used to model sound absorption.
 O PLATE_REVERB
Represents the reverberation typical on a plate.
 O reverbState
Indicates whether reverb should be used.
 O ROOM_REVERB
Represents the reverberation typical in a room.
 O STAGE_REVERB
Represents the reverberation typical on a stage.

CONSTRUCTOR INDEX

 O ReverbModel()
Creates a new reverberation model with the default parameters.
 O ReverbModel(int)
Creates a new reverberation model with the specified parameters.
 O ReverbModel(int, float, float)
Creates a new reverberation model with the specified parameters.

METHOD INDEX

 O toString()
Returns a String representation of the ReverbModel instance variables.

VARIABLES

 O 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.
 O 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.
 O 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.
 O 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.
 O 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.
 O 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.
 O decayTime
  public float decayTime
Specifies the reverberation decay time in seconds.
 O intensity
  public float intensity
Specifies the reverberation gain used to model sound absorption.

CONSTRUCTORS

 O 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.
 O 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.
 O 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.

METHODS

 O 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
Free Web Hosting