PlayOptions
Sound, as small as it can be: Web Audio, decoded buffers by name, and simple tones for games without sound files. Silent while the host says muted, during pauses and breaks (the engine suspends it), and until the page may play audio (resumed on the first event the page receives).
Properties
Section titled “Properties”volume?
Section titled “volume?”
optionalvolume?:number
0–1 (default 1).
optionalrate?:number
Playback rate (pitch): 1 normal.
optionalloop?:boolean
Start again at the end, until stop() (default false).