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='Immersive' 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 | <component level='3' name='Sound'/> |
6 | <meta name='title' content='AllAudioGraphNodesTest.x3d'/> |
7 | <meta name='description' content='List of all X3D4 audio graph nodes to test infrastructure and validation support. Absence of attributes means that checking and removal of default values is working.'/> |
8 | <meta name='creator' content='Don Brutzman'/> |
9 | <meta name='created' content='25 October 2020'/> |
10 | <meta name='modified' content='17 December 2023'/> |
11 | <meta name=' warning ' content=' Developmental test, no actual 3D model expected '/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/AllAudioGraphNodesTest.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 4.0, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='AllAudioGraphNodesTest.x3d'/> |
18 | <Shape> |
19 | <Box/> |
20 | <Appearance> |
21 | <AcousticProperties description='Testing of X3D4 nodes demonstrating W3C Audio API in progress' diffuse='0.25' refraction='0.5' specular='1'/> |
22 | <Material/> |
23 | </Appearance> |
24 | </Shape> |
25 | <Sound location='0 1.6 0'> |
26 | <AudioClip description='testing' url=' "sound/saxophone.mp3" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/sound/saxophone.mp3" '/> |
27 | </Sound> |
28 | <Sound location='0 1.6 0'> |
29 | <MovieTexture containerField='source' description='testing' url=' "bogus.mpg" "https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/AudioSpatialSound/bogus.mpg" '/> |
30 | </Sound> |
31 | <SpatialSound> |
32 | <Analyser> |
33 | <StreamAudioDestination> |
34 | <BiquadFilter type='LOWPASS'> |
35 | <ChannelMerger> |
36 | <ChannelSelector> |
37 | <ChannelSplitter> |
38 | <Convolver> |
39 | <Delay> |
40 | <DynamicsCompressor> |
41 | <Gain> |
42 | <StreamAudioDestination> |
43 | <WaveShaper> |
44 | <!-- The following X3DSoundSourceNode nodes have no audio-graph children --> |
45 | <BufferAudioSource/> |
46 | <ListenerPointSource/> |
47 | <MicrophoneSource/> |
48 | <OscillatorSource/> |
49 | <StreamAudioSource/> |
50 | </WaveShaper> |
51 | </StreamAudioDestination> |
52 | </Gain> |
53 | </DynamicsCompressor> |
54 | </Delay> |
55 | </Convolver> |
56 | </ChannelSplitter> |
57 | </ChannelSelector> |
58 | </ChannelMerger> |
59 | </BiquadFilter> |
60 | </StreamAudioDestination> |
61 | </Analyser> |
62 | </SpatialSound> |
63 | </Scene> |
64 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
field='value'/>
matches XML terminology
<XmlElement
attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->