diagram | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | extension of X3DSoundSourceNode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
children | IS MetadataBoolean MetadataDouble MetadataFloat MetadataInteger MetadataSet MetadataString | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
used by |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
attributes |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
annotation |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
source | <xs:element name="BufferAudioSource"> <xs:annotation> <xs:appinfo> <xs:attribute name="additionalInterface" type="xs:string" default="X3DUrlObject"/> <xs:attribute name="buffer" fixed="inputOutputField"> <xs:simpleType> <xs:restriction base="MFFloat"> <xs:minInclusive value="-1"/> <xs:maxInclusive value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="bufferlength" type="SFInt32" fixed="outputOnlyField"/> <xs:attribute name="channelCount" type="SFInt32" fixed="outputOnlyField"/> <xs:attribute name="length" fixed="outputOnlyField"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="componentName" type="componentNameChoices" fixed="Sound"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="2"/> </xs:appinfo> <xs:documentation source="https://www.web3d.org/specifications/X3Dv4/ISO-IEC19775-1v4-IS/Part01/components/sound.html#BufferAudioSource"/> </xs:annotation> <xs:complexType> <xs:complexContent> <xs:extension base="X3DSoundSourceNode"> <xs:attribute name="buffer" type="MFFloat"> <!-- TODO consider regex for non-negative array --> </xs:attribute> <xs:attribute name="bufferDuration" default="0"> <xs:annotation> <xs:appinfo> Renamed field since W3C Web Audio name 'duration' is a name collision with X3DSoundSourceNode/X3DTimeDependentNode </xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="channelCountMode" type="channelCountModeChoices" default="MAX"/> <xs:attribute name="channelInterpretation" type="channelInterpretationChoices" default="SPEAKERS"/> <xs:attribute name="detune" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="load" type="SFBool" default="true"/> <xs:attribute name="loop" type="SFBool" default="false"/> <xs:attribute name="loopEnd" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="loopStart" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="numberOfChannels" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="playbackRate" type="SFFloat" default="1"/> <xs:attribute name="autoRefresh" default="0"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="autoRefreshTimeLimit" default="3600"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="sampleRate" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="url" type="MFString"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Networking"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/> </xs:appinfo> </xs:annotation> </xs:attribute> <xs:attribute name="containerField" type="containerFieldChoicesSoundSource" default="children"/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> |
type | MFFloat | |||||||||
facets |
|
|||||||||
source | <xs:attribute name="buffer" type="MFFloat"> <!-- TODO consider regex for non-negative array --> </xs:attribute> |
type | restriction of SFTime | ||||||
properties |
|
||||||
facets |
|
||||||
annotation |
|
||||||
source | <xs:attribute name="bufferDuration" default="0"> <xs:annotation> <xs:appinfo> Renamed field since W3C Web Audio name 'duration' is a name collision with X3DSoundSourceNode/X3DTimeDependentNode </xs:appinfo> </xs:annotation> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | channelCountModeChoices | ||||||||||||||||||
properties |
|
||||||||||||||||||
facets |
|
||||||||||||||||||
source | <xs:attribute name="channelCountMode" type="channelCountModeChoices" default="MAX"/> |
type | channelInterpretationChoices | |||||||||||||
properties |
|
|||||||||||||
facets |
|
|||||||||||||
source | <xs:attribute name="channelInterpretation" type="channelInterpretationChoices" default="SPEAKERS"/> |
type | restriction of SFFloat | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="detune" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="load" type="SFBool" default="true"/> |
type | SFBool | ||
properties |
|
||
source | <xs:attribute name="loop" type="SFBool" default="false"/> |
type | restriction of SFFloat | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="loopEnd" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFFloat | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="loopStart" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFInt32 | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="numberOfChannels" default="0"> <xs:simpleType> <xs:restriction base="SFInt32"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | SFFloat | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="playbackRate" type="SFFloat" default="1"/> |
type | restriction of SFTime | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="autoRefresh" default="0"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFTime | ||||||
properties |
|
||||||
facets |
|
||||||
source | <xs:attribute name="autoRefreshTimeLimit" default="3600"> <!-- type="SFTimeNonNegative" --> <xs:simpleType> <xs:restriction base="SFTime"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | restriction of SFFloat | |||||||||
properties |
|
|||||||||
facets |
|
|||||||||
source | <xs:attribute name="sampleRate" default="0"> <xs:simpleType> <xs:restriction base="SFFloat"> <xs:minInclusive value="0"/> </xs:restriction> </xs:simpleType> </xs:attribute> |
type | MFString | ||
annotation |
|
||
source | <xs:attribute name="url" type="MFString"> <xs:annotation> <xs:appinfo> <xs:attribute name="componentName" type="componentNameChoices" fixed="Networking"/> <xs:attribute name="componentLevel" type="xs:positiveInteger" fixed="4"/> </xs:appinfo> </xs:annotation> </xs:attribute> |
type | containerFieldChoicesSoundSource | |||||||||||||
properties |
|
|||||||||||||
facets |
|
|||||||||||||
source | <xs:attribute name="containerField" type="containerFieldChoicesSoundSource" default="children"/> |