<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
<X3D profile='Full' version='4.0'
xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance'
xsd:noNamespaceSchemaLocation
='
https://www.web3d.org/specifications/x3d-4.0.xsd
'>
<head>
<meta name='title' content='SplitChannels.x3d'/>
<meta name='description' content='This X3D scene includes a simple sound source which can be moved right and left. Depending on the position of the sound source, the user can hear the produced sound from the corresponding output speaker. Accordingly, there is a source that can be passed through a SpatialSound for the spatialization of the input audio. The approach is based on the relative position of the source and the listener, in comparison to the panner.'/>
<meta name='info' 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.'/>
<meta name='creator' content='Efi Lakka, Athanasios Malamos, Dick Puk, Don Brutzman'/>
<meta name='created' content='28 October 2020'/>
<meta name='modified' content='23 April 2023'/>
<meta name='reference' content='CHANGELOG.txt'/>
<meta name=' TODO ' content=' credit for audio files '/>
<meta name='reference' content='
http://www.medialab.hmu.gr/minipages/x3domAudio
'/>
<meta name='identifier' content='
https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/SplitChannels.x3d
'/>
<meta name='generator' content='X3D-Edit 4.0,
https://savage.nps.edu/X3D-Edit'/>
<meta name='license' content='
../license.html'/>
</head>
<!--
Index for DEF nodes
:
audio_emit,
audio_emit2,
audio_emit3,
audio_emit4,
audio_emit5,
Audio3,
ChannelSplitter,
floor,
PowerL,
PowerR,
VolumeFontStyle,
volumeLeft,
volumeRight
Index for Viewpoint image
:
Viewpoint_1
-->
<Scene>
<WorldInfo title='SplitChannels.x3d'/>
<NavigationInfo id='NAV' type='NONE'/>
<Background skyColor='0.200 0.200 0.210'/>
<Viewpoint orientation='1 0 0 -0.5' position='0.0 500.0 600.0' retainUserOffsets='true'/>
<Transform DEF='PowerR' translation='100 400 400'>
<Transform id='pR' rotation='1 0 0 -0.5' translation='0 40 0'>
<Shape>
<Appearance DEF='audio_emit'>
<Material diffuseColor='0 1 0' emissiveColor='0.8 0.8 0.8' specularColor='0.01 0.01 0.01'/>
</Appearance>
<Box size='10 80 0.01'/>
</Shape>
</Transform>
<Transform rotation='1 0 0 -0.5' translation='-2.7 37 0'>
<Shape>
<Appearance DEF='audio_emit2'>
</Appearance>
<Box size='25 83 0.01'/>
</Shape>
</Transform>
<Transform DEF='volumeRight' rotation='1 0 0 -0.5' scale='10 10 10' translation='0 -10 0'>
<Shape>
<Appearance>
<Material ambientIntensity='0.0933' diffuseColor='0.345 0.345 0.882' shininess='0.51' specularColor='0.46 0.46 0.46'/>
</Appearance>
<Text string='Right Channel Volume'>
</Text>
</Shape>
</Transform>
</Transform>
<Transform DEF='PowerL' translation='-100 400 400'>
<Transform id='pL' rotation='1 0 0 -0.5' translation='0 40 0'>
<Shape>
<Appearance DEF='audio_emit3'>
<Material diffuseColor='0 1 0' emissiveColor='0.8 0.8 0.8' specularColor='0.01 0.01 0.01'/>
</Appearance>
<Box size='10 80 0.01'/>
</Shape>
</Transform>
<Transform rotation='1 0 0 -0.5' translation='13.2 37 0'>
<Shape>
<Appearance DEF='audio_emit4'>
</Appearance>
<Box size='25 83 0.01'/>
</Shape>
</Transform>
<Transform DEF='volumeLeft' rotation='1 0 0 -0.5' scale='10 10 10' translation='0 -10 0'>
<Shape>
<Appearance>
<Material ambientIntensity='0.0933' diffuseColor='0.345 0.345 0.882' shininess='0.51' specularColor='0.46 0.46 0.46'/>
</Appearance>
<Text string='Left Channel Volume'>
</Text>
</Shape>
</Transform>
</Transform>
<Transform>
<Shape>
<Appearance DEF='floor'>
<Material diffuseColor='0.1 0.1 0.1' shininess='0.8' specularColor='0.5 0.6 0.7'/>
</Appearance>
<Box size='1500 10 500'/>
</Shape>
</Transform>
<
ListenerPointSource id='
ListenerPointSource'
trackCurrentView='
true'/>
<
StreamAudioDestination id='
AudioDestination'
channelCountMode='
MAX'
channelInterpretation='
SPEAKERS'>
<
Gain id='
Gain3'
channelCountMode='
MAX'
channelInterpretation='
SPEAKERS'>
<
ChannelMerger id='
ChannelMerger'
channelCountMode='
MAX'
channelInterpretation='
SPEAKERS'>
<
ChannelSelector id='
ChannelSelector0'
channelCountMode='
MAX'
channelInterpretation='
SPEAKERS'>
</
ChannelSelector>
<
ChannelSelector channelSelection='
1'
id='
ChannelSelector1'
channelCountMode='
MAX'
channelInterpretation='
SPEAKERS'>
</
ChannelSelector>
</
ChannelMerger>
</
Gain>
</
StreamAudioDestination>
<
ChannelSplitter DEF='
ChannelSplitter'
channelCountMode='
EXPLICIT'
channelInterpretation='
SPEAKERS'>
</
ChannelSplitter>
<Transform DEF='Audio3' rotation='1 0 0 -0.5' translation='0 100 0'>
<Shape>
<Appearance DEF='audio_emit5'>
</Appearance>
<Box size='100 100 0.001'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--
Index for DEF nodes
:
audio_emit,
audio_emit2,
audio_emit3,
audio_emit4,
audio_emit5,
Audio3,
ChannelSplitter,
floor,
PowerL,
PowerR,
VolumeFontStyle,
volumeLeft,
volumeRight
Index for Viewpoint image
:
Viewpoint_1
-->
<!--
Color key:
<X3dNode
DEF='idName' field='value'/>
matches
<XmlElement
DEF='idName' attribute='value'/>
(Light blue background: behavior node) (Grey background: inserted documentation) (Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources and X3D Scene Authoring Hints.
-->