complexType X3DSoundDestinationNode
diagram x3d-4.0_diagrams/x3d-4.0_p382.png
type extension of X3DSoundNode
properties
base X3DSoundNode
abstract true
children IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString Analyser AudioClip AudioDestination BiquadFilter BufferAudioSource ChannelMerger ChannelSelector ChannelSplitter Convolver Delay DynamicsCompressor Gain ListenerPointSource MicrophoneSource MovieTexture OscillatorSource Sound SpatialSound StreamAudioDestination StreamAudioSource WaveShaper ProtoInstance
used by
elements AudioDestination StreamAudioDestination
attributes
Name  Type  Use  Default  Fixed  Annotation
DEF  xs:ID        
appinfo

                    DEF defines a unique ID name for each node, referenceable by other nodes.
               
USE  xs:IDREF        
appinfo

                    USE means reuse an already DEF-ed node ID, excluding all child nodes and all other attributes (except for containerField, which can have a different value).
               
class  xs:NMTOKENS        
appinfo

                    The class attribute is a space-separated list of classes, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
id  xs:NMTOKEN        
appinfo

                    The id attribute is a unique identifier, reserved for use by HTML5/DOM pages, independent of DEF labeling and internal X3D node referencing.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
style  SFString        
appinfo

                    The style attribute provides an inline block of CSS for element styling, reserved for use by Cascading Style Sheets (CSS) and XML stylesheets.
                    This attribute is only functional if the X3D model is loaded within an HTML page.
               
description  SFString        
enabled  SFBool    true    
channelCountMode  channelCountModeChoices    MAX    
channelInterpretation  channelInterpretationChoices    SPEAKERS    
gain  SFFloat    1    
mediaDeviceID  SFString        
annotation
appinfo
<xs:attribute name="isActive" type="SFBool" fixed="outputOnlyField"/>
<xs:attribute name="channelCount" type="SFInt32" fixed="outputOnlyField"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                Base type for all sound destination nodes, which represent the final destination of an audio signal and are what the user can ultimately hear.
           
source <xs:complexType name="X3DSoundDestinationNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<xs:attribute name="isActive" type="SFBool" fixed="outputOnlyField"/>
     
<xs:attribute name="channelCount" type="SFInt32" fixed="outputOnlyField"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                Base type for all sound destination nodes, which represent the final destination of an audio signal and are what the user can ultimately hear.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/sound.html#X3DSoundDestinationNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DSoundNode">
     
<xs:group ref="AudioGraphContentModel" minOccurs="0" maxOccurs="unbounded">
       
<xs:annotation>
         
<xs:documentation>children inputs</xs:documentation>
       
</xs:annotation>
     
</xs:group>
     
<xs:attribute name="channelCountMode" type="channelCountModeChoices" default="MAX"/>
     
<xs:attribute name="channelInterpretation" type="channelInterpretationChoices" default="SPEAKERS"/>
     
<xs:attribute name="gain" type="SFFloat" default="1"/>
     
<xs:attribute name="mediaDeviceID" type="SFString"/>
   
</xs:extension>
   
<!--<xs:attribute name="containerField" type="containerFieldChoicesAudioGraph" default="children"/>-->
 
</xs:complexContent>
</xs:complexType>

attribute X3DSoundDestinationNode/@channelCountMode
type channelCountModeChoices
properties
default MAX
facets
Kind Value Annotation
enumeration MAX
appinfo
<xs:attribute name="alias" type="xs:string" default="max"/>
                        X3D version of "max" in Web Audio API.
                   
enumeration CLAMPED_MAX
appinfo
<xs:attribute name="alias" type="xs:string" default="clamped-max"/>
                        X3D version of "clamped-max" in Web Audio API.
                   
enumeration EXPLICIT
appinfo
<xs:attribute name="alias" type="xs:string" default="explicit"/>
                        X3D version of "explicit" in Web Audio API.
                   
source <xs:attribute name="channelCountMode" type="channelCountModeChoices" default="MAX"/>

attribute X3DSoundDestinationNode/@channelInterpretation
type channelInterpretationChoices
properties
default SPEAKERS
facets
Kind Value Annotation
enumeration SPEAKERS
appinfo

                        X3D version of "speakers" in Web Audio API.
                   
enumeration DISCRETE
appinfo

                        X3D version of "discrete" in Web Audio API.
                   
source <xs:attribute name="channelInterpretation" type="channelInterpretationChoices" default="SPEAKERS"/>

attribute X3DSoundDestinationNode/@gain
type SFFloat
properties
default 1
facets
Kind Value Annotation
pattern \s*([+-]?((0|[1-9][0-9]*)(\.[0-9]*)?|\.[0-9]+)([Ee][+-]?[0-9]+)?)\s*
source <xs:attribute name="gain" type="SFFloat" default="1"/>

attribute X3DSoundDestinationNode/@mediaDeviceID
type SFString
source <xs:attribute name="mediaDeviceID" type="SFString"/>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy