


To fix this, the Miller Shuffle algorithm aims to offer good randomness and no repeats without the excess resource usage of the commonly-cited Fisher-Yates algorithm. If your music service doesn’t keep track of your shuffle-point between sessions, you’ll often get annoying repeats if you’re listening on a day-to-day basis. The problem with this is that even with a good random number source, you’ll get a lot of premature repetitions. This can often be as simple as songIndex=random(NumOfSongs). realized that many big name streaming services use incredibly simple algorithms to choose shuffled songs. wants to fix unsatisfying shuffles, and he’s developed the Miller Shuffle algorithm to do so. This is then followed by a bunch of frustrating skips as we hear the same four or five tracks that have been regularly replayed for the last few days. When listening to music, most of us reach for the shuffle button on the regular.
