<?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='titlecontent='Filters.x3d'/>
<meta name='descriptioncontent='This X3D scene involves three sound sources. Each of them is visualized by a 3D object (in our case is a sphere) that depicts the sound effects. Specifically, we have added filters through of them we are able to manage the different sound effects in an impressive way. Filters can be composed of a number of attributes, frequency, detune, gain and the quality factor which also known as Q. Furthermore, the filters are classified in some specific types, depending on the sound effects that produce. In detail, there is the Low-pass filter which can create more muffled sound. Another one is the High-pass filter, which is used to generate tinny sound. Equally important is the Band-pass filter, which cuts off low and high frequencies and passes through only these within a certain range. On the contrary, the Notch filter has exactly the opposite operation of the Band-pass filter. Then is the Low-shelf filter, its role is to change the amount of bass in a sound, as a result the frequencies that are lower than the current frequency get a boost, while them that are over it remain unchanged. Next, the High-shelf filter is responsible for the quantity of treble in a sound. Moreover, Peaking filter is used in order to handle the amount of midrange in a sound. Lastly, there is the All-pass filter, whose role is to introduce phaser effects.'/>
<meta name='infocontent='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='creatorcontent='Efi Lakka, Athanasios Malamos, Dick Puk, Don Brutzman'/>
<meta name='createdcontent='28 October 2020'/>
<meta name='modifiedcontent='23 April 2023'/>
<meta name='referencecontent='CHANGELOG.txt'/>
<meta name=' TODO content=' credit for audio files '/>
<meta name='referencecontent=' https://www.medialab.hmu.gr/minipages/x3domAudio '/>
<meta name='identifiercontent=' https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/Filters.x3d '/>
<meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='Filters.x3d'/>
<NavigationInfo id='NAV'/>
<Background skyColor='0.200 0.200 0.200'/>
<Viewpoint description='View entire audio modelorientation='1 0 0 -0.5position='0.0 500.0 600.0retainUserOffsets='true'/>
<Transform DEF='TransformAudio1translation='-200 50 0'>
<Shape>
<Appearance DEF='audio_emit'>
<Material diffuseColor='0.1 0.1 0.1emissiveColor='0.8 0.8 0.8specularColor='0.01 0.01 0.01'/>
</Appearance>
<Sphere radius='30'/>
</Shape>
</Transform>
<Transform DEF='TransformAudio2translation='0 50 0'>
<Shape>
<Appearance DEF='audio_emit2'>
<Material diffuseColor='0.1 0.1 0.1emissiveColor='0.8 0.8 0.8specularColor='0.01 0.01 0.01'/>
</Appearance>
<Sphere radius='30'/>
</Shape>
</Transform>
<Transform DEF='TransformAudio3translation='200 50 0'>
<Shape>
<Appearance DEF='audio_emit3'>
<Material diffuseColor='0.1 0.1 0.1emissiveColor='0.8 0.8 0.8specularColor='0.01 0.01 0.01'/>
</Appearance>
<Sphere radius='30'/>
</Shape>
</Transform>
<Transform DEF='AnimDataid='AnimDataPointtranslation='0 50 0'/>
<Transform DEF='AnimDataBoxHtranslation='0 100 0'/>
<Transform DEF='AnimDataBoxMtranslation='15 100 0'/>
<Transform DEF='AnimDataBoxLtranslation='30 100 0'/>
<Transform DEF='AnimDataBoxMMid='AnimDataBoxMMirrortranslation='-15 100 0'/>
<Transform DEF='AnimDataBoxLMid='AnimDataBoxLMirrortranslation='-30 100 0'/>
<Transform>
<Shape>
<Appearance DEF='floor'>
<Material diffuseColor='0.1 0.1 0.1shininess='0.8specularColor='0.5 0.6 0.7'/>
</Appearance>
<Cylinder radius='500'/>
</Shape>
</Transform>
<ListenerPointSource id='ListenerPointSourcetrackCurrentView='true'/>
<StreamAudioDestination id='AudioDestinationchannelCountMode='MAXchannelInterpretation='SPEAKERS'>
<DynamicsCompressor id='DynamicsCompressorchannelCountMode='MAXchannelInterpretation='SPEAKERS'>
<Gain id='Gain4channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<SpatialSound DEF='Audio1distanceModel='INVERSE'>
<Gain id='Gain1channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<Analyser id='Analyser1channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<BiquadFilter detune='50.0frequency='600id='BiquadFilter1qualityFactor='30.0type='ALLPASSchannelCountMode='MAXchannelInterpretation='SPEAKERS'>
<AudioClip containerField='childrendescription='Techno beatid='AudioClip1loop='true'
  url=' "sound/techno_beat.mp3" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/techno_beat.mp3" '/>
</BiquadFilter>
</Analyser>
</Gain>
</SpatialSound>
<SpatialSound DEF='Audio2distanceModel='INVERSE'>
<Gain id='Gain2channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<Analyser id='Analyser2channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<BiquadFilter detune='15.0frequency='600id='BiquadFilter2qualityFactor='15.0type='ALLPASSchannelCountMode='MAXchannelInterpretation='SPEAKERS'>
<AudioClip containerField='childrendescription='Simple beatid='AudioClip2loop='true'
  url=' "sound/beat.mp3" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/beat.mp3" '/>
</BiquadFilter>
</Analyser>
</Gain>
</SpatialSound>
<SpatialSound DEF='Audio3distanceModel='INVERSE'>
<Gain id='Gain3channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<Analyser id='Analyser3channelCountMode='MAXchannelInterpretation='SPEAKERS'>
<BiquadFilter frequency='1000id='BiquadFilter3qualityFactor='0type='ALLPASSchannelCountMode='MAXchannelInterpretation='SPEAKERS'>
<AudioClip containerField='childrendescription='Wobble loopid='AudioClip3loop='true'
  url=' "sound/wobble_loop.mp3" "https://x3dgraphics.com/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/wobble_loop.mp3" '/>
</BiquadFilter>
</Analyser>
</Gain>
</SpatialSound>
</Gain>
</DynamicsCompressor>
</StreamAudioDestination>
</Scene>
</X3D>
<!--

Index for DEF nodes : AnimData, AnimDataBoxH, AnimDataBoxL, AnimDataBoxLM, AnimDataBoxM, AnimDataBoxMM, audio_emit, audio_emit2, audio_emit3, Audio1, Audio2, Audio3, floor, TransformAudio1, TransformAudio2, TransformAudio3

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. -->