Class spatialAudio.SoundSourceModel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class spatialAudio.SoundSourceModel

java.lang.Object
   |
   +----spatialAudio.SoundSourceModel

public class SoundSourceModel
extends Object
The SoundSourceModel class describes the directionality, extent, and intensity of a sound source.

A sound's directionality and extent are defined by two ellipsoids. The location of the sound source is one focus of each ellipse.

Inside the ellipsoid defined by the minBack and the minFront ranges, the sound is a constant (maximum) intensity and contains no directional information. This region models what we would normally consider ambient sounds.

The maxBack and maxFront parameters define a second ellipsoid that bounds the threshold of hearing for a particular sound. Outside that range, the sound is not audible. Between the two ellipsoids, the sound is directional and the intensity ranges between the maximum and minimum intensity values. The max and min range values are useful for controlling the directionality of a sound. If set equal, the sound will have no directionality. The greater the ratio of the max range value to the min range value, the more directional the sound will appear. The front values must not be smaller than the associated back values.

For more information, refer to the spatialAudio Package User's Guide.

Copyright (c) 1996 Intel Corporation

See Also:
SoundSource

VARIABLE INDEX

 O intensity
Scaling factor on the sound volume (normally between 0 and 1).
 O maxBack
Maximum audible distance behind the sound source.
 O maxFront
Maximum audible distance in front of the sound source.
 O minBack
Extent of the ambient region behind the sound source.
 O minFront
Extent of ambient region in front of the sound source.

CONSTRUCTOR INDEX

 O SoundSourceModel()
Creates a new SoundSourceModel object.
 O SoundSourceModel(float, float, float, float, float)
Creates a new SoundSourceModel object with the specified values.

METHOD INDEX

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

VARIABLES

 O minFront
  public float minFront
Extent of ambient region in front of the sound source.
 O minBack
  public float minBack
Extent of the ambient region behind the sound source.
 O maxFront
  public float maxFront
Maximum audible distance in front of the sound source.
 O maxBack
  public float maxBack
Maximum audible distance behind the sound source.
 O intensity
  public float intensity
Scaling factor on the sound volume (normally between 0 and 1).

CONSTRUCTORS

 O SoundSourceModel
  public SoundSourceModel()
Creates a new SoundSourceModel object. The values of all variables are initialized to zero and must be set to the desired values before the model is applied to a sound source.
 O SoundSourceModel
  public SoundSourceModel(float minFront,
                          float minBack,
                          float maxFront,
                          float maxBack,
                          float intensity)
Creates a new SoundSourceModel object with the specified values.

METHODS

 O toString
  public String toString()
Returns a String representation of the SoundSourceModel instance variables.
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index
Free Web Hosting