Previous Element | Next Element |
SoundInfo
This element sets the properties of the sound to be played.
Up to eight SoundEnvelope elements can also be specified to
modify the sound envelope. Each SoundEnvelope modifies the
volume of the left and right channels at a particular
position in the sound and must be ordered by mark attribute.
Attributes
uniquePlay | Optional attribute that, if yes, will not start the specified sound if the sound is already playing. | |
Values | yes no | |
Default Value | no | |
stopPlaying | Optional attribute that, if yes, will stop the specified sound if the sound is already playing in the current timeline. If the sound is not already playing then no action is taken. | |
Values | yes no | |
Default Value | no | |
loopCount | Optional attribute that specifies the number iterations to play the sound. | |
Type | Integer | |
Default Value | 1 | |
startPoint | Optional attribute specifying the position within the sound at which to start. Position is specified in Milliseconds into the specified sound. | |
Type | Integer | |
Default Value | 0 | |
endPoint | Optional attribute specifying the position within the sound at which to end. Position is specified in Milliseconds into the specified sound. | |
Type | Integer |
Child Elements
SoundEnvelopeParent Elements
ButtonPressSoundButtonReleaseSound
ButtonRollOutSound
ButtonRollOverSound
PlaceSound
Examples
Button Sound ExampleADPCM Sound Example
Simple MP3 Sound Example
Raw MP3 Example
Sound Envelope Example
Simple MP3 Sound From URL Example
Previous Element | Next Element |