As the title says. I have tried to play random audios in a loop using AudioStreamPlaylist and as a child track an AudioStreamRandomizer but when looping the sound, it just plays the same sound over and over. I don’t post this as an error as I don’t really know if this is intended or an error, so any help or workarounds are appreciated.
No, I am saying that if you have an AudioStreamRandomizer with 3 sounds, and you put an AudioStreamPlaylist around it in loop you will always hear the same sound.
This is the structure:
Playlist (Loop enabled)
Randomizer
Song 1
Song 2
Song 3
Let’s suppose the randomizer selects the first one, then Song 1 will play on loop every time. It will not try to random select other songs when looping.
Ok so I went and looked at a test project I did to make this happen. I used an AudioStreamPlaylist and turned on Shuffle and Loop. It randomizes the playlist for you every time it loops. No need for an AudioStreamRandomizer