• ExLisper@lemmy.curiana.net
    link
    fedilink
    arrow-up
    22
    ·
    3 days ago

    I remember reading decades ago how music player devs would implement proper random playback and people would complain that it’s not really random because it played the same song second time soon after the first. So the devs had to change it and make it less random…

    • BeelzebubEiNukuKoskaan@piefed.social
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      3 days ago

      Thats why some players have “random” and “shuffle”.

      Random is truly random, it might play the same two songs multiple times back to back. Highly unlikely, but it might.

      Shuffle has a thing built in that avoids a song if it has been played within X amount of time or plays. Some shuffles might have other criteria as well.

    • grue@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      The algorithm the grandparent comment suggests is equally random. It’s just that it’s a random sequence rather than a random selection.

    • atomicbocks@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      3 days ago

      I remember reading this about the iPod, where they programed it to not play the same artist multiple times in a row or within certain number of songs of each other.