Package | Description |
---|---|
org.scijava.java3d |
Provides the core set of classes for the
3D graphics API for the Java platform; click here for more information,
including explanatory material that was formerly found in the guide.
|
org.scijava.java3d.audioengines |
Provides abstract classes for creating Java 3D audio devices.
|
org.scijava.java3d.audioengines.javasound |
Provides a JavaSound-based implementation of a Java 3D audio device.
|
Modifier and Type | Method and Description |
---|---|
MediaContainer |
Sound.getSoundData()
Retrieves description/data associated with this sound source.
|
Modifier and Type | Method and Description |
---|---|
int |
AudioDevice3D.prepareSound(int soundType,
MediaContainer soundData)
Accepts a reference to the MediaContainer
which contains a reference to sound data and information about the
type of data it is.
|
void |
Sound.setSoundData(MediaContainer soundData)
Sets fields that define the sound source data of this node.
|
Constructor and Description |
---|
BackgroundSound(MediaContainer soundData,
float initialGain)
Constructs a BackgroundSound node object using only the provided
parameter values for sound data and sample gain.
|
BackgroundSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority)
Constructs a BackgroundSound object accepting all the parameters
associated with a Sound node.
|
ConeSound(MediaContainer soundData,
float initialGain,
float posX,
float posY,
float posZ,
float dirX,
float dirY,
float dirZ)
Constructs a ConeSound node object using only the provided parameter
values for sound, overall initial gain, position, and direction.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
float posX,
float posY,
float posZ,
float[] frontDistance,
float[] frontDistanceGain,
float[] backDistance,
float[] backDistanceGain,
float dirX,
float dirY,
float dirZ)
Constructs a ConeSound node object using the provided parameter values.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
float posX,
float posY,
float posZ,
float[] frontDistance,
float[] frontDistanceGain,
float[] backDistance,
float[] backDistanceGain,
float dirX,
float dirY,
float dirZ,
float[] angle,
float[] angularGain,
float[] frequencyCutoff)
Constructs and initializes a new Cone Sound node explicitly setting all
PointSound and ConeSound fields as arguments but all the vector and point
arguments are broken into individual float array components.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
float posX,
float posY,
float posZ,
float[] distance,
float[] distanceGain,
float dirX,
float dirY,
float dirZ,
float[] angle,
float[] angularGain,
float[] frequencyCutoff)
Constructs a ConeSound node object using all the provided PointSound
parameter values, which include a single spherical distance attenuation
array, but includes an angular attenuation array.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] frontDistanceAttenuation,
Point2f[] backDistanceAttenuation,
Vector3f direction)
Constructs a ConeSound node object using all the provided PointSound
parameter values.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] frontDistanceAttenuation,
Point2f[] backDistanceAttenuation,
Vector3f direction,
Point3f[] angularAttenuation)
Constructs and initializes a new Cone Sound node explicitly setting all
PointSound and ConeSound fields as arguments: the PointSound position,
front and back distance attenuation Point2f array, and ConeSound
direction vector and Point3f angular attenuation.
|
ConeSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] distanceAttenuation,
Vector3f direction,
Point3f[] angularAttenuation)
Constructs a ConeSound node object using all the provided PointSound
parameter values, which include a single spherical distance attenuation
array, but includes an angular attenuation array.
|
ConeSound(MediaContainer soundData,
float initialGain,
Point3f position,
Vector3f direction)
Constructs a ConeSound node object using only the provided parameter
values for sound, overall initial gain, position, and direction.
|
PointSound(MediaContainer soundData,
float initialGain,
float posX,
float posY,
float posZ)
Constructs a PointSound node object using only the provided parameter
values for sound data, sample gain, and position.
|
PointSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
float posX,
float posY,
float posZ,
float[] attenuationDistance,
float[] attenuationGain)
Construct a PointSound object accepting individual float parameters for
the elements of the position points, and accepting separate arrays for
the distance and gain scale factors components of distance attenuation.
|
PointSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
float posX,
float posY,
float posZ,
Point2f[] distanceGain)
Construct a PointSound object accepting individual float parameters for
the elements of the position point, and accepting an array of Point2f for
the distance attenuation values where each pair in the array contains a
distance and a gain scale factor.
|
PointSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
float[] attenuationDistance,
float[] attenuationGain)
Construct a PointSound object accepting points as input for the position.
|
PointSound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
Point3f position,
Point2f[] distanceGain)
Construct a PointSound object accepting Point3f as input for the position
and accepting an array of Point2f for the distance attenuation values
where each pair in the array contains a distance and a gain scale factor.
|
PointSound(MediaContainer soundData,
float initialGain,
Point3f position)
Constructs a PointSound node object using only the provided parameter
values for sound data, sample gain, and position.
|
Sound(MediaContainer soundData,
float initialGain)
Constructs and initializes a new Sound node object using the provided
data and gain parameter values, and defaults for all other fields.
|
Sound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority)
Constructs and initializes a new Sound node using provided parameter
values.
|
Sound(MediaContainer soundData,
float initialGain,
int loopCount,
boolean release,
boolean continuous,
boolean enable,
Bounds region,
float priority,
float rateFactor)
Constructs and initializes a new Sound node using provided parameter
values.
|
Modifier and Type | Field and Description |
---|---|
protected MediaContainer |
Sample.soundData
sound data associated with sound source
|
Modifier and Type | Method and Description |
---|---|
MediaContainer |
Sample.getSoundData() |
Modifier and Type | Method and Description |
---|---|
int |
AudioEngine3D.prepareSound(int soundType,
MediaContainer soundData)
Prepare Sound in device.
|
void |
Sample.setSoundData(MediaContainer ref) |
Modifier and Type | Method and Description |
---|---|
int |
JavaSoundMixer.prepareSound(int soundType,
MediaContainer soundData)
Code to load sound data into a channel of device mixer.
|
Copyright © 2016–2022 SciJava. All rights reserved.