Live data from Hacker News

Ask HN: Why are modern music players so bad at playing music in random order?

news.ycombinator.com

21–30 of 152 posts

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#21
If it literally plays the same progression of music over and over, it's because the randomization is poorly designed. I had an early MP3 player that literally had the same "random" order, to the point where I always knew what song would come next.

In that case, it's because random numbers generated by a computer are pseudorandom, or just generated by the exact same arithmetic sequence. For instance, here's a really bad pseudo-random number generator: Start with 4. Take the last number, divide it by 2, and if it's even add 5. If it goes over 100, subtract 100. (I didn't claim it was good.)

These pseudo-random number generators can be improved by providing a seed number, which means if you give it the same starting point it will generate the exact same sequence, but the key is giving it a random seed. Often programs provide the current time as the seed. My last MP3 player would have been much better if they did that.

Spotify does a much better job with actually randomly shuffling playlists. But the problem with Spotify is if you listen to, say, Wilco radio, it's not adventurous enough and keeps playing the same few songs over and over in random order until you get sick of all of them.

Spotify upped its game with the "daily mix" feature, but yeah, radio stations are kind of crappy right now.

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#23
post #15

Here's the problem: go ahead and ask a bunch of different people what they want/expect their shuffle/random button to do and you'll get a bunch of different answers. 1. I want it to play in a truly random fashion, with replacement (same song twice in a row is possible). 2. I want it to play in a truly random fashion, without replacement (each song is removed from the list once played). 3. I want it to "seem" random (…

[deleted]

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#24

> no tune was played twice until all of the tunes were played... That doesn't sound random. I use Google Play Music and it "randomizes" things in the way you desire. It takes your playlist and shuffles the entries; you can even press a button to see how it's sorted it. That ordering sticks around forever if you take no further action, though, so it will repeat that random ordering indefinitely unless you press the sh…

If its programmed like youtube, it only shuffles the last 100 you have visited in your list, not the whole list.

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#25
Hopefully someone will pop up with a logic listing of the way WinAmp did "shuffle". Surprisingly complicated. "Random" isn't enough, even with a good PRNG. Believe it or not radio DJ's had more job than just talking over your favorite bits of the song.

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#27
post #15

Here's the problem: go ahead and ask a bunch of different people what they want/expect their shuffle/random button to do and you'll get a bunch of different answers. 1. I want it to play in a truly random fashion, with replacement (same song twice in a row is possible). 2. I want it to play in a truly random fashion, without replacement (each song is removed from the list once played). 3. I want it to "seem" random (…

Good point...

I mainly dont want to hear a playlist that starts with the same tune every time and then progresses through the same order of tunes when I select Random.

So often, in Google Play Music selecting random will play any of of 10 pre-set playlist cues.... The tunes will be a mix of one big polaylist that just starts at various points on the master playlist. This is why I often run across the same tunes, and why they follow each other in the exact same order.

e.g.

Normal Play Cue: A-B-C-D-E-F-G

Random is selected -

Random play attenpt 1. B-A-C-D-F-G-E (Several tunes present on the micro SD card never play)

Random play attenpt 2. F-G-E-B-A-C-D (Several tunes present on the micro SD card never play)

Random play attenpt 3. B-F-G-E-A-G-E (Several tunes present on the micro SD card never play)

I prefer the "Shuffle" feature I guess if you want to look at the semantic side of this discussion, where not tune is played twice or in the same order whenever the random button is pressed, and every time I press random, the player should recall the last tune, and pick a new playable tune each time the skip button is pressed or after the prior tune comes to an end.

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#29
post #3

Dunno about contemporary music players, but: > no tune was played twice until all of the tunes were played That is definitely not compatible with actual mathematical “randomness”. Try rolling a die multiple times and see whether you get all six numbers before repeats. It’s very unlikely (probability of all six rolls being unique = 6!/6^6 = 1.5%) Which brings up the interesting question — what do humans actually expec…

In statistics classes we learned that all problems can be reduced to problems with balls and urns. In this problems you can put the ball back in the urn or not put it back, both are valid things and can model different problems.

Re: Ask HN: Why are modern music players so bad at playing music in random order?

#30
A bit tangential, but for a while I've wanted the ability to "pin" certain songs together for the purpose of random shuffles so that they always get played back to back. One good example of this is the second half Abbey Road; if I'm shuffling some Beatles songs, I really want "Carry That Weight" to come immediately after "Golden Slumbers" (and if I'm being honest, I want "The End" coming right after both of those). I know that I could just manually concatenate the songs together with some sort of music editor and then put that as a single song in my library, but I've always wondered if there were any music players that supported this sort of thing built-in when shuffling music. Has anyone ever used a player that lets you do this, or am I just the only one who wants this?
Post reply on HN