X3D Model Documentation: Filters.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 4.0//EN" "https://www.web3d.org/specifications/x3d-4.0.dtd">
  3  <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'>
  4       <head>
  5            <meta name='titlecontent='Filters.x3d'/>
  6            <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.'/>
  7            <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.'/>
  8            <meta name='creatorcontent='Efi Lakka, Athanasios Malamos, Dick Puk, Don Brutzman'/>
  9            <meta name='createdcontent='28 October 2020'/>
 10            <meta name='modifiedcontent='23 April 2023'/>
 11            <meta name='referencecontent='CHANGELOG.txt'/>
 12            <meta name=' TODO content=' credit for audio files '/>
 13            <meta name='referencecontent='https://www.medialab.hmu.gr/minipages/x3domAudio'/>
 14            <meta name='identifiercontent='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/Filters.x3d'/>
 15            <meta name='generatorcontent='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/>
 16            <meta name='licensecontent='../license.html'/>
 17       </head>
<!--

<!-- -->

<!-- to top 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 node: Viewpoint_1
-->
 18       <Scene>
 19            <WorldInfo title='Filters.x3d'/>
 20            <NavigationInfo id='NAV'/>
 21            <Background skyColor='0.200 0.200 0.200'/>
 22            <Viewpoint description='View entire audio modelorientation='1 0 0 -0.5position='0.0 500.0 600.0retainUserOffsets='true'/>
 23            <Transform DEF='TransformAudio1translation='-200 50 0'>
 24                 <Shape>
 25                      <Appearance DEF='audio_emit'>
 26                           <Material diffuseColor='0.1 0.1 0.1emissiveColor='0.8 0.8 0.8specularColor='0.01 0.01 0.01'/>
 27                      </Appearance>
 28                      <Sphere radius='30'/>
 29                 </Shape>
 30            </Transform>
 31            <Transform DEF='TransformAudio2translation='0 50 0'>
 32                 <Shape>
 33                      <Appearance DEF='audio_emit2'>
 34                           <Material diffuseColor='0.1 0.1 0.1emissiveColor='0.8 0.8 0.8specularColor='0.01 0.01 0.01'/>
 35                      </Appearance>
 36                      <Sphere radius='30'/>
 37                 </Shape>
 38            </Transform>
 39            <Transform DEF='TransformAudio3translation='200 50 0'>
 40                 <Shape>
 41                      <Appearance DEF='audio_emit3'>
 42                           <Material diffuseColor='0.1 0.1 0.1emissiveColor='0.8 0.8 0.8specularColor='0.01 0.01 0.01'/>
 43                      </Appearance>
 44                      <Sphere radius='30'/>
 45                 </Shape>
 46            </Transform>
 47            <Transform DEF='AnimDataid='AnimDataPointtranslation='0 50 0'/>
 48            <Transform DEF='AnimDataBoxHtranslation='0 100 0'/>
 49            <Transform DEF='AnimDataBoxMtranslation='15 100 0'/>
 50            <Transform DEF='AnimDataBoxLtranslation='30 100 0'/>
 51            <Transform DEF='AnimDataBoxMMid='AnimDataBoxMMirrortranslation='-15 100 0'/>
 52            <Transform DEF='AnimDataBoxLMid='AnimDataBoxLMirrortranslation='-30 100 0'/>
 53            <Transform>
 54                 <Shape>
 55                      <Appearance DEF='floor'>
 56                           <Material diffuseColor='0.1 0.1 0.1shininess='0.8specularColor='0.5 0.6 0.7'/>
 57                      </Appearance>
 58                      <Cylinder radius='500'/>
 59                 </Shape>
 60            </Transform>
 61            <ListenerPointSource id='ListenerPointSourcetrackCurrentView='true'/>
 62            <StreamAudioDestination id='AudioDestination'>
 63                 <DynamicsCompressor id='DynamicsCompressor'>
 64                      <Gain id='Gain4'>
 65                           <SpatialSound DEF='Audio1'>
 66                                <Gain id='Gain1'>
 67                                     <Analyser id='Analyser1'>
 68                                          <BiquadFilter detune='50.0frequency='600id='BiquadFilter1qualityFactor='30.0type='ALLPASS'>
 69                                               <AudioClip containerField='childrendescription='Techno beatid='AudioClip1loop='true'   url=' "sound/techno_beat.mp3" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/techno_beat.mp3" '/>
 70                                          </BiquadFilter>
 71                                     </Analyser>
 72                                </Gain>
 73                           </SpatialSound>
 74                           <SpatialSound DEF='Audio2'>
 75                                <Gain id='Gain2'>
 76                                     <Analyser id='Analyser2'>
 77                                          <BiquadFilter detune='15.0frequency='600id='BiquadFilter2qualityFactor='15.0type='ALLPASS'>
 78                                               <AudioClip containerField='childrendescription='Simple beatid='AudioClip2loop='true'   url=' "sound/beat.mp3" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/beat.mp3" '/>
 79                                          </BiquadFilter>
 80                                     </Analyser>
 81                                </Gain>
 82                           </SpatialSound>
 83                           <SpatialSound DEF='Audio3'>
 84                                <Gain id='Gain3'>
 85                                     <Analyser id='Analyser3'>
 86                                          <BiquadFilter frequency='1000id='BiquadFilter3qualityFactor='0type='ALLPASS'>
 87                                               <AudioClip containerField='childrendescription='Wobble loopid='AudioClip3loop='true'   url=' "sound/wobble_loop.mp3" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/wobble_loop.mp3" '/>
 88                                          </BiquadFilter>
 89                                     </Analyser>
 90                                </Gain>
 91                           </SpatialSound>
 92                      </Gain>
 93                 </DynamicsCompressor>
 94            </StreamAudioDestination>
 95       </Scene>
 96  </X3D>
<!--

<!-- -->

<!-- to top 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 node: Viewpoint_1
-->
X3D Tooltips element index: Analyser, Appearance, AudioClip, Background, BiquadFilter, Cylinder, DynamicsCompressor, Gain, head, ListenerPointSource, Material, meta, NavigationInfo, Scene, Shape, SpatialSound, Sphere, StreamAudioDestination, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/FiltersIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/Filters.x3d -->

<!-- Color legend: X3D terminology <X3dNode DEF='idName' field='value'/> matches XML terminology <XmlElement DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->