Stage::playSoundCopy()
Starts a separate copy of a sound at its own volume. Calling this again can overlap the previous copy. The returned handle controls only this play; stopSound() and stopAllSounds() also stop copies owned by this stage. The stage's ordinary volume does not change a copy's explicit volume.
Examples
Syntax
Java
.playSoundCopy(name, volume)
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | a sound already added with addSound() |
| volume | double | volume from 0 to 100 percent |
Return
SoundPlayback