HTC Audio Manager shuffle question

apemonkeyman

Senior Member
May 23, 2007
73
2
38
Cheltenham
Does anybody know what the algorithm is that is used by HTC Audio Manager?

When I select All Songs & shuffle, most of the time I get the same song come up as 2nd in the list, & most of the rest of the songs, although in apparently random order, have shown up many times before. This is despite the fact that I have about 6GB of songs on there! If it were randomised properly then I wouldn't expect so much repetition.

I recall in my youth, using the random function on an Oric 1 "computer" produced the same number 1st time, everytime, unless I seeded a variable with the time. The random result would then be different everytime I tested, as though the algorithm needed something to start from that was not 0 or NULL. Just wondering if the HTC shuffle algorithm may have a similar issue. :confused:
 

fards

Inactive Recognized Developer
Nov 17, 2005
7,104
1,818
253
Currently Reverse Engineering 42
Does anybody know what the algorithm is that is used by HTC Audio Manager?

When I select All Songs & shuffle, most of the time I get the same song come up as 2nd in the list, & most of the rest of the songs, although in apparently random order, have shown up many times before. This is despite the fact that I have about 6GB of songs on there! If it were randomised properly then I wouldn't expect so much repetition.

I recall in my youth, using the random function on an Oric 1 "computer" produced the same number 1st time, everytime, unless I seeded a variable with the time. The random result would then be different everytime I tested, as though the algorithm needed something to start from that was not 0 or NULL. Just wondering if the HTC shuffle algorithm may have a similar issue. :confused:

yeah I suspect it does.. I noticed it in the leaked betas, and hoped we'd have a working one when the final came. If you turn on shuffle, then off then back on again it seems to work a bit better.
 

apemonkeyman

Senior Member
May 23, 2007
73
2
38
Cheltenham
yeah I suspect it does.. I noticed it in the leaked betas, and hoped we'd have a working one when the final came. If you turn on shuffle, then off then back on again it seems to work a bit better.
I find that after moving off the Music tab to do something else, with music paused, when I return to Music there is a "progress wheel" top left & after it goes then the songs are in alphabetical order, despite shuffle being on.

I knock shuffle of then on again & it reshuffles, but most of the time 1 particular song is 2nd & I keep getting repeats of songs over & over like I have only a small library to be shuffled.

Grrr. :mad: