#Audio Player - Playlist

1 messages · Page 1 of 1 (latest)

twin hamlet
#

I have a playlist with audios, but I want to know how to make it so that the same audio doesn’t play twice in a row. /w PHOTOS PLEASE

ripe solstice
#

i cant provide images but if you do a bit of reading then you should figure out how to do it

depending on how youve stored it you will either store the audio in a variable OR the index for it in a variable and then before playing any audio you compare the chosen audio to whats stored in the variable and reroll if it is the same

empty ginkgo
#

@twin hamlet Do this. It will play them in order of top to bottom on the list, then restart at the top.

twin hamlet
#

the song can still play twice

#

just not in a row

ripe solstice
twin hamlet
ripe solstice
#

how though? words too complex for you to understand?

serene trench
#

you need the Not Helpful role XD

twin hamlet
#

honestly

twin hamlet
ripe solstice
#

well, im trying. being verbose isnt my strong suit

honest dirge
# twin hamlet I have a playlist with audios, but I want to know how to make it so that the sam...

You can prevent a song from playing twice in a row by doing the following.

  • When you wish to play the next song, create a copy of the list of songs using the "List Copy" chip, and set a temporary "List<audio>" variable to its output.
  • Remove the current song from the list variable using the "List Remove Item (All)" chip, with the "Item" input being the current song.
  • Pick a random song from the list variable using the "Random From List" chip.
    Let me know if this helps.
uncut crown
#

Replying so that searches can link to the same result

twin hamlet