The following attributes may be used on the <success> and <fail> elements:
Attribute | Description | Required |
source | the path to a sound-file directory, or the name of a specific sound-file, to be played. | Yes |
loops | the number of extra times to play the sound-file; default is 0. | No |
duration | the amount of time (in milliseconds) to play the sound-file. | No |