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

Class spatialAudio.EnvironmentModel

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

public class EnvironmentModel
extends Object
The EnvironmentModel class holds a set of parameters that describe an audio environment. The cpuBudget value serves as a default value and can be overridden by specific sound sources in the environment.

Copyright (c) 1996 Intel Corporation

See Also:
Environment

VARIABLE INDEX

 O coordinateOrientation
Specifies the orientation of the coordinate system.
 O cpuBudget
Specifies the default CPU budget for audio spatialization quality for sound sources within the audio environment.
 O info
May be used to store application-specific information.
 O speedOfSound
Specifies the speed (in generic units/sec) at which sound travels in this Environment.

CONSTRUCTOR INDEX

 O EnvironmentModel()
Creates a new EnvironmentModel with default values.
 O EnvironmentModel(int, float, int, Object)
Creates a new EnvironmentModel with the specified values.

METHOD INDEX

 O toString()
Returns a String representation of the environment model variables.

VARIABLES

 O coordinateOrientation
  public int coordinateOrientation
Specifies the orientation of the coordinate system. Valid choices are USE_RIGHT_HAND to indicate that the spatial audio system should use a right-handed coordinate system, USE_LEFT_HAND to indicate that the spatial audio system should use a left-handed coordinate system, and DEFAULT to indicate that the default left-handed coordinate system should be used.
 O cpuBudget
  public int cpuBudget
Specifies the default CPU budget for audio spatialization quality for sound sources within the audio environment. This rendering quality will be applied by default to sound sources within the environment. Specific sound sources can override the default value. The higher the budget, the better the spatialization quality. Valid choices include MIN_BUDGET to indicate that the lowest quality audio spatialization should be performed, LOW_BUDGET to indicate that the next best quality spatialization should be performed, and MODERATE_BUDGET to indicate that the highest quality spatialization should be performed. DEFAULT indicates that the default spatialization quality, LOW_BUDGET, should be used.
 O speedOfSound
  public float speedOfSound
Specifies the speed (in generic units/sec) at which sound travels in this Environment. This value is used for applying Doppler effects when a sound source has a non-zero velocity relative to the listener. The default value is zero, which indicates that Doppler effects should not be applied.
 O info
  public Object info
May be used to store application-specific information.

CONSTRUCTORS

 O EnvironmentModel
  public EnvironmentModel(int coordinateOrientation,
                          float speedOfSound,
                          int cpuBudget,
                          Object info)
Creates a new EnvironmentModel with the specified values.
Parameters:
coordinateOrientation - Specifies the orientation of the coordinate system for this environment.
speedOfSound - Specifies the speed (in generic units/sec) at which sound travels in this Environment. @param cpuBudget Specifies the default CPU budget for audio spatialization quality for sound sources within the audio environment.
 O EnvironmentModel
  public EnvironmentModel()
Creates a new EnvironmentModel with default values. The environment receives a left-handed coordinate system, localization quality is set to LOW_BUDGET, and Doppler effects are disabled.

METHODS

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

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