Difference between revisions of "AudioClip"

From Web3D.org
Jump to: navigation, search
 
Line 29: Line 29:
  
 
# A single, optional IS.
 
# A single, optional IS.
# A single, optional node derived from X3DMetadataObject for the ''metadata'' field.
+
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
  
 
===Attributes===
 
===Attributes===
Line 42: Line 42:
  
 
# A single, optional IS.
 
# A single, optional IS.
# A single, optional node derived from X3DMetadataObject for the ''metadata'' field.
+
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
  
 
===Attributes===
 
===Attributes===
  
* There ''radius'' field is restricted to positive values, i.e. greater than zero.
+
* There ''pitch'' field is restricted to positive values, i.e. greater than zero.
  
 
==Schematron validation==
 
==Schematron validation==

Latest revision as of 09:39, 24 April 2015

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:

  1. A single, optional IS.
  2. 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:

  1. A single, optional IS.
  2. 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