<?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='4 August 2021'/>
<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>
<NavigationInfo id='NAV'/>
<Background skyColor='0.200 0.200 0.200'/>
<Viewpoint orientation='1 0 0 -0.5position='0.0 500.0 600.0retainUserOffsets='true'/>
<Transform DEF='Audio1translation='-200 50 0'>
<Shape>
<Appearance DEF='audio_emit'>
<Material/>
</Appearance>
<Sphere radius='30'/>
</Shape>
</Transform>
<Transform DEF='Audio2translation='0 50 0'>
<Shape>
<Appearance DEF='audio_emit'>
<Material/>
</Appearance>
<Sphere radius='30'/>
</Shape>
</Transform>
<Transform DEF='Audio3translation='200 50 0'>
<Shape>
<Appearance DEF='audio_emit'>
<Material/>
</Appearance>
<Sphere radius='30'/>
</Shape>
</Transform>
<Transform DEF='AnimDataid='AnimDataPointtranslation='0 50 0'/>
<Transform DEF='AnimDataBoxHid='AnimDataBoxHtranslation='0 100 0'/>
<Transform DEF='AnimDataBoxMid='AnimDataBoxMtranslation='15 100 0'/>
<Transform DEF='AnimDataBoxLid='AnimDataBoxLtranslation='30 100 0'/>
<Transform DEF='AnimDataBoxMMid='AnimDataBoxMMirrortranslation='-15 100 0'/>
<Transform DEF='AnimDataBoxLMid='AnimDataBoxLMirrortranslation='-30 100 0'/>
<Transform>
<Shape>
<Appearance DEF='floor'>
<Material/>
</Appearance>
<Cylinder radius='500'/>
</Shape>
</Transform>
<ListenerPoint id='ListenerPointtrackCurrentView='true'/>
<AudioDestination id='AudioDestination'>
<DynamicsCompressor id='DynamicsCompressor'>
<Gain id='Gain4'>
<SpatialSound USE='Audio1'>
<Gain id='Gain1'>
<Analyser id='Analyser1'>
<BiquadFilter detune='50.0frequency='600id='BiquadFilter1qualityFactor='30.0type='allpass'>
<AudioClip id='AudioClip1loop='truepauseTime='-1resumeTime='-1stopTime='-1'
  url=' sound/techno_beat.mp3 '/>
</BiquadFilter>
</Analyser>
</Gain>
</SpatialSound>
<SpatialSound USE='Audio2'>
<Gain id='Gain2'>
<Analyser id='Analyser2'>
<BiquadFilter detune='15.0frequency='600id='BiquadFilter2qualityFactor='15.0type='allpass'>
<AudioClip id='AudioClip2loop='truepauseTime='-1resumeTime='-1stopTime='-1'
  url=' sound/beat.mp3 '/>
</BiquadFilter>
</Analyser>
</Gain>
</SpatialSound>
<SpatialSound USE='Audio3'>
<Gain id='Gain3'>
<Analyser id='Analyser3'>
<BiquadFilter frequency='1000id='BiquadFilter3qualityFactor='0type='allpass'>
<AudioClip id='AudioClip3loop='truepauseTime='-1resumeTime='-1stopTime='-1'
  url=' sound/wobble_loop.mp3 '/>
</BiquadFilter>
</Analyser>
</Gain>
</SpatialSound>
</Gain>
</DynamicsCompressor>
</AudioDestination>
</Scene>
</X3D>
<!--

Index for DEF nodes : AnimData, AnimDataBoxH, AnimDataBoxL, AnimDataBoxLM, AnimDataBoxM, AnimDataBoxMM, audio_emit, audio_emit, audio_emit, Audio1, Audio2, Audio3, floor

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