complexType X3DSoundProcessingNode
diagram x3d-4.0_diagrams/x3d-4.0_p384.png
type extension of X3DTimeDependentNode
properties
base X3DTimeDependentNode
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 Analyser BiquadFilter Convolver Delay DynamicsCompressor Gain WaveShaper
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        
pauseTime  SFTime    0    
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Time"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
resumeTime  SFTime    0    
appinfo
<xs:attribute name="componentName" type="componentNameChoices" fixed="Time"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
startTime  SFTime    0    
stopTime  SFTime    0    
channelCountMode  channelCountModeChoices    MAX    
channelInterpretation  channelInterpretationChoices    SPEAKERS    
enabled  SFBool    true    
gain  SFFloat    1    
tailTime  derived by: SFTime    0    
annotation
appinfo
<!-- TODO verify autogeneration of parent definitions for elapsedTime, isActive, isPaused? -->
<xs:attribute name="channelCount" type="SFInt32" fixed="outputOnlyField"/>
<xs:attribute name="additionalInterface" type="xs:string" default="X3DSoundNode"/>
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                Base type for all sound processing nodes, which are used to enhance audio with filtering, delaying, changing gain, etc.
           
source <xs:complexType name="X3DSoundProcessingNode" abstract="true">
 
<xs:annotation>
   
<xs:appinfo>
     
<!-- TODO verify autogeneration of parent definitions for elapsedTime, isActive, isPaused? -->
     
<xs:attribute name="channelCount" type="SFInt32" fixed="outputOnlyField"/>
     
<xs:attribute name="additionalInterface" type="xs:string" default="X3DSoundNode"/>
     
<xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/>
     
<xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/>
                Base type for all sound processing nodes, which are used to enhance audio with filtering, delaying, changing gain, etc.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/sound.html#X3DSoundProcessingNode"/>
 
</xs:annotation>
 
<xs:complexContent>
   
<xs:extension base="X3DTimeDependentNode">
     
<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="enabled" type="SFBool" default="true"/>
     
<xs:attribute name="gain" type="SFFloat" default="1"/>
     
<xs:attribute name="tailTime" default="0">
       
<!-- type="SFTimeNonNegative" -->
       
<xs:simpleType>
         
<xs:restriction base="SFTime">
           
<xs:minInclusive value="0"/>
         
</xs:restriction>
       
</xs:simpleType>
     
</xs:attribute>
   
</xs:extension>
   
<!--<xs:attribute name="containerField" type="containerFieldChoicesAudioGraph" default="children"/>-->
 
</xs:complexContent>
</xs:complexType>

attribute X3DSoundProcessingNode/@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 X3DSoundProcessingNode/@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 X3DSoundProcessingNode/@enabled
type SFBool
properties
default true
source <xs:attribute name="enabled" type="SFBool" default="true"/>

attribute X3DSoundProcessingNode/@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 X3DSoundProcessingNode/@tailTime
type restriction of SFTime
properties
default 0
facets
Kind Value Annotation
minInclusive 0
source <xs:attribute name="tailTime" default="0">
 
<!-- type="SFTimeNonNegative" -->
 
<xs:simpleType>
   
<xs:restriction base="SFTime">
     
<xs:minInclusive value="0"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


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