Class SpatialAudioCameraAnimation
In the last demo, there are two sound sources in different positions. Through the immersion in the X3D scene the user could attend a rational navigation. Whenever the camera moves in the direction of an existing sound source, the strength of this source increases, while the sound strength of the other (the second one) decreases and vice versa. Through this process, great realism of the scene is achieved, since it emulates the spatial sound in real world.
Related links: SpatialAudioCameraAnimation.java source, SpatialAudioCameraAnimation catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.
meta tags | Document Metadata |
title | SpatialAudioCameraAnimation.x3d |
description | In the last demo, there are two sound sources in different positions. Through the immersion in the X3D scene the user could attend a rational navigation. Whenever the camera moves in the direction of an existing sound source, the strength of this source increases, while the sound strength of the other (the second one) decreases and vice versa. Through this process, great realism of the scene is achieved, since it emulates the spatial sound in real world. |
info | This work presents an innovative solution of the spatial sound in X3DOM framework, that based on a combinational methodology. Specifically, we suggested the enrichment of X3DOM with spatial sound features, using both the X3D sound nodes and the structure of Web Audio API. |
creator | Efi Lakka, Athanasios Malamos, Dick Puk, Don Brutzman |
created | 28 October 2020 |
modified | 5 December 2021 |
reference | CHANGELOG.txt |
TODO | credit for audio files |
reference | https://www.medialab.hmu.gr/minipages/x3domAudio |
identifier | https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/SpatialAudioCameraAnimation.x3d |
generator | X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit |
license | ../license.html |
This program uses the
X3D Java Scene Access Interface Library (X3DJSAIL).
It has been produced using the
X3dToJava.xslt
stylesheet to create Java source code from an .x3d
model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.web3d.x3d.jsail.Core.X3D
Provide a shallow copy of the X3D model.final void
Create and initialize the X3D model for this object.static void
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.
-
Constructor Details
-
SpatialAudioCameraAnimation
public SpatialAudioCameraAnimation()Default constructor to create this object.
-
-
Method Details
-
initialize
public final void initialize()Create and initialize the X3D model for this object. -
getX3dModel
public org.web3d.x3d.jsail.Core.X3D getX3dModel()Provide a shallow copy of the X3D model.- Returns:
- SpatialAudioCameraAnimation model
- See Also:
-
main
Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.- Parameters:
args
- array of input parameters, provided as arguments- See Also:
-