Difference between revisions of "AudioClip"
From Web3D.org
Abergstrom (Talk | contribs) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
*[[Node Reference]] | *[[Node Reference]] | ||
==AudioClip== | ==AudioClip== | ||
+ | |||
+ | Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/sound.html#AudioClip AudioClip] | ||
+ | |||
<pre> | <pre> | ||
AudioClip : X3DSoundSourceNode, X3DUrlObject { | AudioClip : X3DSoundSourceNode, X3DUrlObject { | ||
Line 6: | Line 9: | ||
SFBool [in,out] loop FALSE | SFBool [in,out] loop FALSE | ||
SFNode [in,out] metadata NULL [X3DMetadataObject] | SFNode [in,out] metadata NULL [X3DMetadataObject] | ||
− | SFTime [in,out] pauseTime 0 (- | + | SFTime [in,out] pauseTime 0 (-∞,∞) |
− | SFFloat [in,out] pitch 1.0 (0, | + | SFFloat [in,out] pitch 1.0 (0,∞) |
− | SFTime [in,out] resumeTime 0 (- | + | SFTime [in,out] resumeTime 0 (-∞,∞) |
− | SFTime [in,out] startTime 0 (- | + | SFTime [in,out] startTime 0 (-∞,∞) |
− | SFTime [in,out] stopTime 0 (- | + | SFTime [in,out] stopTime 0 (-∞,∞) |
− | MFString [in,out] url [] [ | + | MFString [in,out] url [] [URI] |
SFTime [out] duration_changed | SFTime [out] duration_changed | ||
SFTime [out] elapsedTime | SFTime [out] elapsedTime | ||
Line 19: | Line 22: | ||
</pre> | </pre> | ||
− | + | ==DTD Validation== | |
+ | |||
+ | ===Children=== | ||
+ | |||
+ | Children must appear as follows: | ||
+ | # A single, optional IS. | ||
+ | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | ||
− | + | ===Attributes=== | |
+ | * There are no limits on the acceptable range of values for the ''pitch'' field. | ||
− | + | ==Schema Validation== | |
+ | ===Children=== | ||
− | + | Children must appear as follows: | |
+ | # A single, optional IS. | ||
+ | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | ||
− | + | ===Attributes=== | |
+ | * There ''pitch'' field is restricted to positive values, i.e. greater than zero. | ||
− | + | ==Schematron validation== | |
− | + | ||
+ | TBD | ||
− | |||
*[[Node Reference]] | *[[Node Reference]] |
Latest revision as of 09:39, 24 April 2015
Contents
AudioClip
Specification Link: AudioClip
AudioClip : X3DSoundSourceNode, X3DUrlObject { SFString [in,out] description "" SFBool [in,out] loop FALSE SFNode [in,out] metadata NULL [X3DMetadataObject] SFTime [in,out] pauseTime 0 (-∞,∞) SFFloat [in,out] pitch 1.0 (0,∞) SFTime [in,out] resumeTime 0 (-∞,∞) SFTime [in,out] startTime 0 (-∞,∞) SFTime [in,out] stopTime 0 (-∞,∞) MFString [in,out] url [] [URI] SFTime [out] duration_changed SFTime [out] elapsedTime SFBool [out] isActive SFBool [out] isPaused }
DTD Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
Attributes
- There are no limits on the acceptable range of values for the pitch field.
Schema Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
Attributes
- There pitch field is restricted to positive values, i.e. greater than zero.
Schematron validation
TBD