ABSTRACT

The idea behind 3D spacial positioning is that sound is modified in relation to two objects in a three-dimensional space . The first object is a sound source that has its spacial positioning moved using SpatialPanner . The other object is called SpatialListener that represents a real-world human listener . The utility of this approach is that the SpatialListener object can be programmed to work with an avatar such as a video game character, where sound that is generated in a “virtual world” is perceived from a first-person perspective . Volume changes take place automatically based on the virtual “distance” between the SpatialListener and any sound-generating virtual objects . For added realism, filters, reverberation, and other effects can be programmed to change the characteristics of sound based on the perceived position of virtual objects . You can read about SpatialPanner at the following URL: https://www .w3 .org/ TR/webaudio/#the-spatialpannernode-interface .