Search:

<< >>
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

view by post / day / month

posts
my descent into madness 3/29/2003
prisoner 3/27/2003
a new stereophonic sound spectacular 3/26/2003
chelsea, chelsea, chelsea 3/25/2003
one liner 3/21/2003
vengeance (abridged) 3/21/2003
can we? 3/19/2003
we're involved in craziness 3/19/2003
black and white crystal ball 3/17/2003
handy dandy 3/17/2003
more science babble 3/7/2003
do you remember what the music meant? 3/7/2003
random number generators 3/4/2003
giddyup 3/3/2003

previous next
 
 
more science babble 3:03pm 3/7/2003  

Revisiting my consideration of random number generators in the context of shuffling songs in mp3 players, i found a nice summary of random number generation. I would imagine that Winamp employs a linear congruential generators of the type Xn+1 = (aXn + c) mod m, which means that it generates a random number series in which the next number in the sequence is calculated deterministically from the number before it. Such series have interesting properties that relate back to my observations of Winamp's randomness, particularly when the constants a, c, and m are not selected wisely. Moreover, i found that Winamp has an option that lets you select the "shuffle window size", which supposedly dictates the percentage of the playlist that is shuffled over. I had it set at 33% for some reason, which may further explain why Winamp appeared to be randomly-challenged. This shuffle window size bears striking similarities to the properties of the constant m above. However, i can't imagine why you would want to restrict the number of songs over which Winamp shuffles.

last edited 3:03pm 3/7/2003 back to top
 
 
previous next