X3D
type: NamedIndividual
has head: head
has scene: Scene
profile: Full
version: 4.0
no namespace schema location: https://www.web3d.org/specifications/x3d-4.0.xsd

meta 1 1
type: NamedIndividual
type: meta
has parent: head
content: SingleAudio.x3d
name: title

meta 1 2
type: NamedIndividual
type: meta
has parent: head
content: 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.
name: description

meta 1 3
type: NamedIndividual
type: meta
has parent: head
content: 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.
name: info

meta 1 4
type: NamedIndividual
type: meta
has parent: head
content: Efi Lakka, Athanasios Malamos, Dick Puk, Don Brutzman
name: creator

meta 1 5
type: NamedIndividual
type: meta
has parent: head
content: 28 October 2020
name: created

meta 1 6
type: NamedIndividual
type: meta
has parent: head
content: 22 August 2025
name: modified

meta 1 7
type: NamedIndividual
type: meta
has parent: head
content: CHANGELOG.txt
name: reference

meta 1 8
type: NamedIndividual
type: meta
has parent: head
content: credit for audio files
name: TODO

meta 1 9
type: NamedIndividual
type: meta
has parent: head
content: https://medialab.hmu.gr/minipages/x3domAudio
name: reference

meta 1 10
type: NamedIndividual
type: meta
has parent: head
content: https://medialab.hmu.gr/minipages/x3domAudio/SingleAudio.xhtml
name: reference

meta 1 11
type: NamedIndividual
type: meta
has parent: head
content: https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/SingleAudio.x3d
name: identifier

meta 1 12
type: NamedIndividual
type: meta
has parent: head
content: X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit
name: generator

meta 1 13
type: NamedIndividual
type: meta
has parent: head
content: ../license.html
name: license

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: 22 August 2025
reference: CHANGELOG.txt
reference: https://medialab.hmu.gr/minipages/x3domAudio
reference: https://medialab.hmu.gr/minipages/x3domAudio/SingleAudio.xhtml
generator: X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit
license: ../license.html

WorldInfo 2 1
type: NamedIndividual
type: WorldInfo
has parent: Scene
title: SingleAudio.x3d

NAV
type: NamedIndividual
type: NavigationInfo
has parent: Scene
DEF: NAV

Background 2 3
type: NamedIndividual
type: Background
has parent: Scene
back url: "images/generic/BK1.png" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/images/generic/BK1.png"
bottom url: "images/generic/DN1.png" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/images/generic/DN1.png"
front url: "images/generic/FR1.png" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/images/generic/FR1.png"
left url: "images/generic/LF1.png" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/images/generic/LF1.png"
right url: "images/generic/RT1.png" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/images/generic/RT1.png"
top url: "images/generic/UP1.png" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/images/generic/UP1.png"

Camera001
type: NamedIndividual
type: Viewpoint
has parent: Scene
DEF: Camera001
description: Camera001
far distance: 0
near distance: 1.000000
orientation: 1.000000
orientation: 0.000000
orientation: -0.000000
orientation: -0.523599
position: 0.000000
position: 2000.000000
position: 3500.000000

Floor
type: NamedIndividual
type: Transform
has parent: Scene
has children: Shape 2 5 1
DEF: Floor
translation: 1.241
translation: 0.000
translation: 0.358

WireColor
type: NamedIndividual
type: Appearance
has parent: Shape 2 5 1
has material: Material 2 5 1 1 1
DEF: WireColor

Material 2 5 1 1 1
type: NamedIndividual
type: Material
has parent: WireColor
diffuse color: 0.122
diffuse color: 0.114
diffuse color: 0.125

Box001-GEOMETRY
type: NamedIndividual
type: IndexedFaceSet
has parent: Shape 2 5 1
has coord: Coordinate 2 5 1 2 1
has normal: Normal 2 5 1 2 2
DEF: Box001-GEOMETRY
coord index: 0
coord index: 1
coord index: 2
coord index: -1
coord index: 3
coord index: 4
coord index: 5
coord index: 6
coord index: 7
coord index: 8
coord index: 9
coord index: 10
coord index: 11
coord index: 12
coord index: 13
coord index: 14
coord index: 15
coord index: 16
coord index: 17
coord index: 18
coord index: 19
coord index: 20
coord index: 21
coord index: 22
coord index: 23
coord index: 24
coord index: 25
coord index: 26
coord index: 27
coord index: 28
coord index: 29
coord index: 30
coord index: 31
coord index: 32
coord index: 33
coord index: 34
coord index: 35
solid: false

Coordinate 2 5 1 2 1
type: NamedIndividual
type: Coordinate
has parent: Box001-GEOMETRY
point: -1000.000000
point: 0.000000
point: 1000.000000
point: 8.031588

Normal 2 5 1 2 2
type: NamedIndividual
type: Normal
has parent: Box001-GEOMETRY
vector: 0.000000
vector: -1.000000
vector: 1.000000

TransformAudio1
type: NamedIndividual
type: Transform
has parent: Scene
has children: Shape 2 6 1
has children: Billboard 2 6 2
DEF: TransformAudio1

WireColor 1
type: NamedIndividual
type: Appearance
has parent: Shape 2 6 1
has material: Material 2 6 1 1 1
DEF: WireColor_1

Material 2 6 1 1 1
type: NamedIndividual
type: Material
has parent: WireColor 1
diffuse color: 0.690196
diffuse color: 0.101961

Sphere001-GEOMETRY
type: NamedIndividual
type: IndexedFaceSet
has parent: Shape 2 6 1
has coord: Coordinate 2 6 1 2 1
has normal: Normal 2 6 1 2 2
DEF: Sphere001-GEOMETRY
coord index: 0
coord index: 1
coord index: 2
coord index: -1
coord index: 3
coord index: 4
coord index: 5
coord index: 6
coord index: 7
coord index: 8
coord index: 9
coord index: 10
coord index: 11
coord index: 12
coord index: 13
coord index: 14
coord index: 15
coord index: 16
coord index: 17
coord index: 18
coord index: 19
coord index: 20
coord index: 21
coord index: 22
coord index: 23
coord index: 24
coord index: 25
coord index: 26
coord index: 27
coord index: 28
coord index: 29
coord index: 30
coord index: 31
coord index: 32
coord index: 33
coord index: 34
coord index: 35
coord index: 36
coord index: 37
coord index: 38
coord index: 39
coord index: 40
coord index: 41
coord index: 42
coord index: 43
coord index: 44
coord index: 45
coord index: 46
coord index: 47
coord index: 48
coord index: 49
coord index: 50
coord index: 51
coord index: 52
coord index: 53
coord index: 54
coord index: 55
coord index: 56
coord index: 57
coord index: 58
coord index: 59
coord index: 60
coord index: 61
coord index: 62
coord index: 63
coord index: 64
coord index: 65
coord index: 66
coord index: 67
coord index: 68
coord index: 69
coord index: 70
coord index: 71
coord index: 72

Coordinate 2 6 1 2 1
type: NamedIndividual
type: Coordinate
has parent: Sphere001-GEOMETRY
point: 0.000000
point: 50.000000
point: 49.039261
point: -9.754517
point: -1.903015
point: -9.567078
point: -3.732910
point: -9.012024
point: -5.419312
point: -8.110596
point: -6.897461
point: 1.903015
point: 3.732910
point: 5.419312
point: 6.897461
point: 8.110596
point: 9.012024
point: 9.567078
point: 9.754517
point: 6.897522
point: 3.732849
point: 9.011963
point: -6.897522
point: 46.193974
point: -19.134155
point: -18.766541
point: -7.322327
point: -17.677673
point: -10.630371
point: -15.909485
point: -13.529907
point: 7.322327
point: 10.630371
point: 13.529907
point: 15.909485
point: 17.677673
point: -3.732849
point: 18.766541
point: 19.134155
point: -0.000061
point: 18.766479
point: -7.322388
point: -10.630432
point: 13.529846
point: 7.322266
point: 41.573479
point: -27.778503
point: -27.244751
point: -25.664001
point: -15.432922
point: -23.096985
point: -19.642395
point: 15.432922
point: -19.642334
point: 19.642395
point: 23.096985
point: 25.664001
point: 27.244751
point: 27.778503
point: 5.419373
point: 10.630432
point: 19.642334
point: 15.432861
point: 10.630310
point: 5.419250
point: -5.419373
point: -15.432983
point: -23.097046
point: 35.355339
point: -35.355347
point: -34.675964
point: -32.664063
point: -29.396912
point: -25.000000
point: -34.676025
point: -29.396851
point: 25.000000

Normal 2 6 1 2 2
type: NamedIndividual
type: Normal
has parent: Sphere001-GEOMETRY
vector: -0.000000
vector: 1.000000
vector: 0.979598
vector: -0.200969
vector: -0.039207
vector: -0.197107
vector: -0.076908
vector: -0.185671
vector: -0.111652
vector: -0.167100
vector: -0.142106
vector: -0.142107
vector: -0.076907
vector: 0.000000
vector: 0.039207
vector: 0.076908
vector: 0.111652
vector: 0.142107
vector: 0.167100
vector: 0.185671
vector: 0.197107
vector: 0.200969
vector: 0.111653
vector: 0.167099
vector: 0.142106
vector: 0.076907
vector: -0.111653
vector: 0.921707
vector: -0.387887
vector: -0.075673
vector: -0.380434
vector: -0.148438
vector: -0.358361
vector: -0.215498
vector: -0.322516
vector: -0.274277
vector: 0.075673
vector: 0.148438
vector: 0.215499
vector: 0.274278
vector: 0.322516
vector: 0.358361
vector: 0.380434
vector: 0.387887
vector: 0.274277
vector: 0.215498
vector: 0.148437
vector: 0.075672
vector: -0.000001
vector: -0.075674
vector: -0.148439
vector: -0.215499
vector: -0.274278
vector: -0.322517
vector: 0.828645
vector: -0.559775
vector: -0.109207
vector: -0.549019
vector: -0.214217
vector: -0.517165
vector: -0.310994
vector: -0.465436
vector: -0.395821
vector: -0.214216
vector: 0.109207
vector: 0.214217
vector: 0.310995
vector: -0.395820
vector: 0.395821
vector: 0.465436
vector: 0.517165
vector: -0.109206
vector: 0.549019
vector: 0.000001
vector: 0.559775
vector: 0.517164
vector: 0.465435

violin
type: NamedIndividual
type: Transform
has parent: Billboard 2 6 2
has children: Shape 2 6 2 1 1
DEF: violin
rotation: 1
rotation: 0
rotation: -0.5
scale: 100
translation: 0
translation: 100

Material 2 6 2 1 1 1 1
type: NamedIndividual
type: Material
has parent: Appearance 2 6 2 1 1 1
ambient intensity: 0.0933
diffuse color: 0.345
diffuse color: 0.882
shininess: 0.51
specular color: 0.46

Text 2 6 2 1 1 2
type: NamedIndividual
type: Text
has parent: Shape 2 6 2 1 1
has font style: FontStyle 2 6 2 1 1 2 1
string: Sound Source

FontStyle 2 6 2 1 1 2 1
type: NamedIndividual
type: FontStyle
has parent: Text 2 6 2 1 1 2
family: "Times" "SERIF"
css style: BOLD

SpatialSound 2 7 1
type: NamedIndividual
type: SpatialSound
has parent: StreamAudioDestination 2 7
cone inner angle: 6.283
cone outer angle: 6.283
enable HRTF: true

BufferAudioSource 2 7 2
type: NamedIndividual
type: BufferAudioSource
has parent: StreamAudioDestination 2 7
loop: true
pause time: -1
resume time: -1
stop time: -1
url: "sound/saxophone.mp3" "sound/saxophone.ogg"