AudioPlayOpt:
Audio play configurations.paused?: boolean
If audio should start out paused.since
loop?: boolean
If audio should be played again from start when its ended.volume?: number
Volume of audio. 1.0 means full volume, 0.5 means half volume.speed?: number
Playback speed. 1.0 means normal playback speed, 2.0 means twice as fast.detune?: number
Detune the sound. Every 100 means a semitone.// play a random note in the octave play("noteC", { detune: randi(0, 12) * 100, })