I want to have a function that plays a single audio file at random points in the track but I'm not sure this is possible. I would rather go this route than to spawn an object at random that plays a clip but that's what I've been doing to get by.
Any ideas?
Develop games in your browser. Powerful, performant & highly capable.
You can use the "Seek to" function available in the Audio object
"Seek to
Seek a currently playing sound to a different location in the audio file. The time to seek to is given in seconds."