<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
<X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation =' https://www.web3d.org/specifications/x3d-3.3.xsd '>
<head>
<meta name='titlecontent='SoundFileFormats.x3d'/>
<meta name='descriptioncontent='Provide a test scene for sound files using various audio formats.'/>
<meta name='creatorcontent='Don Brutzman'/>
<meta name='createdcontent='10 November 2013'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='Imagecontent='SoundFileFormats.png'/>
<meta name='Soundcontent='audio/Testing123stereo.wav'/>
<meta name='Soundcontent='audio/Testing123stereo.aiff'/>
<meta name='Soundcontent='audio/Testing123stereo.mp3'/>
<meta name='Soundcontent='audio/Testing123original.wav'/>
<meta name='Soundcontent='Reunion by Marc Sabatella, distributed with MuseScore'/>
<meta name='Soundcontent='audio/Reunion_Example.mid'/>
<meta name='requirescontent=' File type requirements, https://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/sound.html#AudioClip '/>
<meta name='subjectcontent='X3D audio formats test'/>
<meta name='identifiercontent=' https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/SoundFileFormats.x3d '/>
<meta name='generatorcontent='ZOOM H2next Handy Recorder, http://www.zoom.co.jp/products/h2n'/>
<meta name='generatorcontent='Audacity, http://audacity.sourceforge.net'/>
<meta name='generatorcontent='MuseScore, http://musescore.org'/>
<meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
<meta name='licensecontent=' ../license.html'/>
</head>
<!-- -->
<Scene>
<WorldInfo title='SoundFileFormats.x3d'/>
<Background skyColor='0.2 0.2 0.2'/>
<!-- ============================================================ -->
<Transform DEF='WavPlayscale='0.4 0.4 0.4translation='-4 0.5 0'>
<!-- ROUTE information for WavTextClickedSensor node:  [from touchTime to Testing123stereoWavAudioClip.startTime ] -->
<TouchSensor DEF='WavTextClickedSensordescription='Play file via Sound/AudioClip: Testing123stereo.wav'/>
<Sound maxBack='100maxFront='100minBack='20minFront='20'>
<!-- Make sure the sound source AudioClip is audible at the user location -->
<!-- ROUTE information for Testing123stereoWavAudioClip node:  [from WavTextClickedSensor.touchTime to startTime ] -->
<AudioClip DEF='Testing123stereoWavAudioClipdescription='Playing Testing123stereo.wav'
  url=' "audio/Testing123stereo.wav" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/audio/Testing123stereo.wav" '/>
</Sound>
<ROUTE fromNode='WavTextClickedSensorfromField='touchTimetoNode='Testing123stereoWavAudioCliptoField='startTime'/>
<Shape>
<Text string='"Testing123stereo.wav"'>
<FontStyle DEF='MessageFontfamily='"SANS"justify='"MIDDLE" "MIDDLE"style='BOLD'/>
</Text>
<Appearance DEF='GreenAppearance'>
<Material diffuseColor='0 1 0'/>
</Appearance>
</Shape>
<Transform DEF='TextClickSurfacescale='5 0.5 1translation='0 0.3 0'>
<Shape>
<IndexedFaceSet solid='falsecoordIndex='0 1 2 3 -1'>
<Coordinate point='1 1 0 1 -1 0 -1 -1 0 -1 1 0'/>
</IndexedFaceSet>
<Appearance>
<Material transparency='1'/>
</Appearance>
</Shape>
</Transform>
</Transform>
<Transform DEF='WavLaunchscale='0.4 0.4 0.4translation='-4 -0.1 0'>
<Anchor description='Launch audio file in Web browser: Testing123stereo.wavparameter='"target=_blank"'
  url=' "audio/Testing123stereo.wav" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/audio/Testing123stereo.wav" '>
<Shape>
<Text string='"(launch)"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='GreenAppearance'/>
</Shape>
<Transform USE='TextClickSurface'/>
</Anchor>
</Transform>
<!-- ============================================================ -->
<Transform DEF='Mp3Playscale='0.4 0.4 0.4translation='0 0.5 0'>
<!-- ROUTE information for Mp3TextClickedSensor node:  [from touchTime to Testing123stereoMp3AudioClip.startTime ] -->
<TouchSensor DEF='Mp3TextClickedSensordescription='Play file via Sound/AudioClip: Testing123stereo.mp3'/>
<Sound maxBack='100maxFront='100minBack='20minFront='20'> </Sound>
<ROUTE fromNode='Mp3TextClickedSensorfromField='touchTimetoNode='Testing123stereoMp3AudioCliptoField='startTime'/>
<Shape>
<Text string='"Testing123stereo.mp3"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance DEF='TurquoiseAppearance'>
<Material diffuseColor='0.156863 0.878431 0.815686'/>
</Appearance>
</Shape>
<Transform USE='TextClickSurface'/>
</Transform>
<Transform DEF='Mp3Launchscale='0.4 0.4 0.4translation='0 -0.1 0'>
<Anchor description='Launch audio file in Web browser: Testing123stereo.mp3parameter='"target=_blank"'
  url=' "audio/Testing123stereo.mp3" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/audio/Testing123stereo.mp3" '>
<Shape>
<Text string='"(launch)"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='TurquoiseAppearance'/>
</Shape>
<Transform USE='TextClickSurface'/>
</Anchor>
</Transform>
<!-- ============================================================ -->
<Transform DEF='MidiPlayscale='0.4 0.4 0.4translation='0 -2 0'>
<!-- ROUTE information for MidiTextClickedSensor node:  [from touchTime to Testing123stereoMidiAudioClip.startTime ] -->
<TouchSensor DEF='MidiTextClickedSensordescription='Play file via Sound/AudioClip: Reunion_Example.mid'/>
<Sound maxBack='100maxFront='100minBack='20minFront='20'> </Sound>
<ROUTE fromNode='MidiTextClickedSensorfromField='touchTimetoNode='Testing123stereoMidiAudioCliptoField='startTime'/>
<Shape>
<Text string='"Reunion_Example.mid"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='TurquoiseAppearance'/>
</Shape>
<Transform USE='TextClickSurface'/>
</Transform>
<Transform DEF='MidiLaunchscale='0.4 0.4 0.4translation='0 -2.6 0'>
<Anchor description='Launch audio file in Web browser: Reunion_Example.midparameter='"target=_blank"'
  url=' "audio/Reunion_Example.mid" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/audio/Reunion_Example.mid" '>
<Shape>
<Text string='"(launch)"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='TurquoiseAppearance'/>
</Shape>
<Transform USE='TextClickSurface'/>
</Anchor>
</Transform>
<!-- ============================================================ -->
<Transform DEF='AiffPlayscale='0.4 0.4 0.4translation='4 0.5 0'>
<!-- ROUTE information for AiffTextClickedSensor node:  [from touchTime to Testing123stereoAiffAudioClip.startTime ] -->
<TouchSensor DEF='AiffTextClickedSensordescription='Play file via Sound/AudioClip: Testing123stereo.aiff'/>
<Sound maxBack='100maxFront='100minBack='20minFront='20'> </Sound>
<ROUTE fromNode='AiffTextClickedSensorfromField='touchTimetoNode='Testing123stereoAiffAudioCliptoField='startTime'/>
<Shape>
<Text string='"Testing123stereo.aiff"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance DEF='AmberAppearance'>
<Material diffuseColor='1 0.760784 0'/>
</Appearance>
</Shape>
<Transform USE='TextClickSurface'/>
</Transform>
<Transform DEF='AiffLaunchscale='0.4 0.4 0.4translation='4 -0.1 0'>
<Anchor description='Launch audio file in Web browser: Testing123stereo.aiffparameter='"target=_blank"'
  url=' "audio/Testing123stereo.aiff" "https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter12EnvironmentSensorSound/audio/Testing123stereo.aiff" '>
<Shape>
<Text string='"(launch)"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='AmberAppearance'/>
</Shape>
<Transform USE='TextClickSurface'/>
</Anchor>
</Transform>
<!-- ============================================================ -->
<Transform DEF='HeaderBoxtranslation='0 2 -0.1'>
<Shape>
<Box size='12 1 0.1'/>
<Appearance>
<Material diffuseColor='1 1 1transparency='0.75'/>
</Appearance>
</Shape>
</Transform>
<Transform DEF='WavRequiredscale='0.4 0.4 0.4translation='-4 2 0'>
<Shape>
<Text string='"Required Support"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='GreenAppearance'/>
</Shape>
</Transform>
<Transform DEF='Mp3Recommendedscale='0.4 0.4 0.4translation='0 2 0'>
<Shape>
<Text string='"Recommended Support"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='TurquoiseAppearance'/>
</Shape>
</Transform>
<Transform DEF='AiffOptionalscale='0.4 0.4 0.4translation='4 2 0'>
<Shape>
<Text string='"Optional Support"'>
<FontStyle USE='MessageFont'/>
</Text>
<Appearance USE='AmberAppearance'/>
</Shape>
</Transform>
</Scene>
</X3D>
<!--

Index for DEF nodes : AiffLaunch, AiffOptional, AiffPlay, AiffTextClickedSensor, AmberAppearance, GreenAppearance, HeaderBox, MessageFont, MidiLaunch, MidiPlay, MidiTextClickedSensor, Mp3Launch, Mp3Play, Mp3Recommended, Mp3TextClickedSensor, Testing123stereoAiffAudioClip, Testing123stereoMidiAudioClip, Testing123stereoMp3AudioClip, Testing123stereoWavAudioClip, TextClickSurface, TurquoiseAppearance, WavLaunch, WavPlay, WavRequired, WavTextClickedSensor
-->

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