playcanvas / engine

JavaScript game engine built on WebGL, WebGPU, WebXR and glTF
https://playcanvas.com
MIT License
9.54k stars 1.33k forks source link

.ogg loop tags #3378

Open MaldivirDragonwitch opened 3 years ago

MaldivirDragonwitch commented 3 years ago

See forum post for more info: https://forum.playcanvas.com/t/request-ogg-loop-tags/21290

In short: Ogg Vorbis is a lossy audio format that gives an option to put loop tags into the meta of the file which, if recognized by the audio player, can loop the song at any given point and repeat it indefinitely. This is mainly used so the song is able to have an intro that DOESN’T repeat once the song loops.

yaustar commented 2 years ago

Wonder if we can do this for MP3s as well as a setting/property of the slot or asset?