Pseudo Random Sequences

Roger Burton West roger at firedrake.org
Mon Jul 23 10:00:43 BST 2007


On Mon, Jul 23, 2007 at 09:48:14AM +0100, Mark Blackman wrote:

>possibly, the obvious thing to do is treat each track like a lottery
>ball and thus draw it only once until the hopper is exhausted, but would
>require some way of "refilling" the hopper at some point which is another
>UI button, so possibly sub-optimal.

That's the standard approach - starting a random play generates a
playlist of all tracks, which is then played through.

The shuffle-playlist generator I wrote tries to avoid having two
consecutive tracks by the same artist.

R


More information about the london.pm mailing list