Class SingleAudio

java.lang.Object
X3dForAdvancedModeling.AudioSpatialSound.SingleAudio

public class SingleAudio extends Object

The first demo contains a concise X3D scene. The scenario here is the implementation of a single sound source, which is represented by a 3D object. The spatiality of the sound is expressed by a process, in which when the user approaching nearby to the sound source the volume is increased and accordingly when removed there from is reduced. In addition to this and depending on the side of the sound source that the user observes, the sound is emitted from the corresponding speaker. Apart from the 3D scene, we have also added an analyser slider. The analyser gives the possibility to receive real-time generated data, without any change from the input to output sound information. Through this process we achieved the audio visualization of the sound source.

Related links: SingleAudio.java source, SingleAudio catalog page, X3D Resources, X3D Scene Authoring Hints, and X3D Tooltips.

Scene Meta Information
meta tags   Document Metadata
title SingleAudio.x3d
description The first demo contains a concise X3D scene. The scenario here is the implementation of a single sound source, which is represented by a 3D object. The spatiality of the sound is expressed by a process, in which when the user approaching nearby to the sound source the volume is increased and accordingly when removed there from is reduced. In addition to this and depending on the side of the sound source that the user observes, the sound is emitted from the corresponding speaker. Apart from the 3D scene, we have also added an analyser slider. The analyser gives the possibility to receive real-time generated data, without any change from the input to output sound information. Through this process we achieved the audio visualization of the sound source.
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 14 January 2022
reference CHANGELOG.txt
TODO where is AudioClip source?
TODO credit for audio files
reference https://medialab.hmu.gr/minipages/x3domAudio
identifier https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/SingleAudio.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

    Constructors
    Constructor
    Description
    Default constructor to create this object.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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
    main(String[] args)
    Default main() method provided for test purposes, uses CommandLine to set global ConfigurationProperties for this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SingleAudio

      public SingleAudio()
      Default constructor to create this object.
  • Method Details