this post was submitted on 06 Nov 2023
472 points (94.0% liked)

memes

9806 readers
4 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to [email protected]

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 42 points 1 year ago* (last edited 1 year ago) (2 children)

There are two basic ways of doing "random" songs:

  1. Pick a new song randomly each time a song ends. This is the naive way to do it and can result in playing the same song twice.
  2. Randomly shuffle the list of songs once and then go through the shuffled list in order, guaranteeing that no single song gets played a second time before all songs have been played.

The strategies are different, but I'd argue that they're equally "random."

I've got a cheap Chinese aftermarket head unit in my car that uses strategy #1, and it's mildly infuriating.

[–] [email protected] 22 points 1 year ago (1 children)

Yeah, but all modern music platforms use a more advanced random, where it will avoid putting two different songs by the same artist in a row for example. But it's still based on the second strategy you wrote.

[–] [email protected] 1 points 1 year ago

This seems somewhat flawed. Lets say you have 90 songs by Vengaboys, and 10 songs by Slayer in your playlist. In order to play every song without playing Vengaboys back to back, you'd need to play Slayer 4x more often than you play Vengaboys.