Properties:
Name | Type | Default | Description |
---|---|---|---|
complete |
Function |
When completed. |
|
end |
number |
End time in seconds. |
|
filters |
filters.Filter[] |
Filters that apply to play. Only supported with WebAudio. |
|
loaded |
Function |
If not already preloaded, callback when finishes load. |
|
loop |
boolean |
Override default loop, default to the Sound's loop setting. |
|
muted |
boolean | false |
If sound instance is muted by default. |
singleInstance |
boolean |
Setting |
|
speed |
number |
Override default speed, default to the Sound's speed setting. |
|
sprite |
string |
The sprite to play. |
|
start |
number | 0 |
Start time offset in seconds. |
volume |
number |
Override default volume, default to the Sound's volume setting. |
Members
When completed.
End time in seconds.
filters filters.Filter[]
Filters that apply to play. Only supported with WebAudio.
If not already preloaded, callback when finishes load.
Override default loop, default to the Sound's loop setting.
If sound instance is muted by default.
- Default Value:
- false
Setting true
will stop any playing instances. This is the same as
the singleInstance property on Sound, but is play-specific.
Override default speed, default to the Sound's speed setting.
The sprite to play.
Start time offset in seconds.
- Default Value:
- 0
Override default volume, default to the Sound's volume setting.