simpleType periodicWaveTypeChoices
type restriction of SFString
properties
base SFString
used by
attribute PeriodicWave/@type
facets
Kind Value Annotation
enumeration SINE
appinfo
<xs:attribute name="alias" type="xs:string" default="sine"/>
                        X3D version of "sine" in Web Audio API.
                   
enumeration SQUARE
appinfo
<xs:attribute name="alias" type="xs:string" default="square"/>
                        X3D version of "square" in Web Audio API.
                   
enumeration SAWTOOTH
appinfo
<xs:attribute name="alias" type="xs:string" default="sawtooth"/>
                        X3D version of "sawtooth" in Web Audio API.
                   
enumeration TRIANGLE
appinfo
<xs:attribute name="alias" type="xs:string" default="triangle"/>
                        X3D version of "triangle" in Web Audio API.
                   
enumeration CUSTOM
appinfo
<xs:attribute name="alias" type="xs:string" default="custom"/>
                        X3D version of "custom" in Web Audio API.
                   
annotation
appinfo

                Permitted values for PeriodicWave type.
                X3D enumeration naming conventions are capitalized versions of Web Audio API enumerations, also changing hyphens to underscores.
                This list is bounded, no additional values are allowed.
           
source <xs:simpleType name="periodicWaveTypeChoices">
 
<xs:annotation>
   
<xs:appinfo>
                Permitted values for PeriodicWave type.
                X3D enumeration naming conventions are capitalized versions of Web Audio API enumerations, also changing hyphens to underscores.
                This list is bounded, no additional values are allowed.
           
</xs:appinfo>
   
<xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/sound.html#PeriodicWave"/>
 
</xs:annotation>
 
<xs:restriction base="SFString">
   
<xs:enumeration value="SINE">
     
<xs:annotation>
       
<xs:appinfo>
         
<xs:attribute name="alias" type="xs:string" default="sine"/>
                        X3D version of "sine" in Web Audio API.
                   
</xs:appinfo>
       
<xs:documentation source="https://www.w3.org/TR/webaudio/#enumdef-oscillatortype"/>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="SQUARE">
     
<xs:annotation>
       
<xs:appinfo>
         
<xs:attribute name="alias" type="xs:string" default="square"/>
                        X3D version of "square" in Web Audio API.
                   
</xs:appinfo>
       
<xs:documentation source="https://www.w3.org/TR/webaudio/#enumdef-oscillatortype"/>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="SAWTOOTH">
     
<xs:annotation>
       
<xs:appinfo>
         
<xs:attribute name="alias" type="xs:string" default="sawtooth"/>
                        X3D version of "sawtooth" in Web Audio API.
                   
</xs:appinfo>
       
<xs:documentation source="https://www.w3.org/TR/webaudio/#enumdef-oscillatortype"/>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="TRIANGLE">
     
<xs:annotation>
       
<xs:appinfo>
         
<xs:attribute name="alias" type="xs:string" default="triangle"/>
                        X3D version of "triangle" in Web Audio API.
                   
</xs:appinfo>
       
<xs:documentation source="https://www.w3.org/TR/webaudio/#enumdef-oscillatortype"/>
     
</xs:annotation>
   
</xs:enumeration>
   
<xs:enumeration value="CUSTOM">
     
<xs:annotation>
       
<xs:appinfo>
         
<xs:attribute name="alias" type="xs:string" default="custom"/>
                        X3D version of "custom" in Web Audio API.
                   
</xs:appinfo>
       
<xs:documentation source="https://www.w3.org/TR/webaudio/#enumdef-oscillatortype"/>
     
</xs:annotation>
   
</xs:enumeration>
 
</xs:restriction>
</xs:simpleType>


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