# How does an iPod decide which songs to play?

**URL:** <https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645>\
**Category:** Factual Questions\
**Created:** [September 26, 2009, 2:33pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645 "2009-09-26T14:33:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnny\_L.A](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/johnny_l.a/32/1084_2.png) [@Johnny\_L.A](https://boards.straightdope.com/u/Johnny_L.A)\
**Post date:** [September 26, 2009, 2:33pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/1 "2009-09-26T14:33:03Z")

</div>

I normally have my iPod Touch in Shuffle mode. One thing I’ve noticed is that the same songs come up frequently in the rotation, while other songs seem never to be played. Is it just the breaks of randomness? Or are some songs weighted more heavily, such that they get played more and other songs that are not frequently played are not? (That seems strange, since it becomes a Catch 22.)

---

<div class="post-metadata">

**Author:** ![ftg](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ftg/32/2801_2.png) [@ftg](https://boards.straightdope.com/u/ftg)\
**Post date:** [September 26, 2009, 4:53pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/2 "2009-09-26T16:53:02Z")

</div>

The human mind is great at finding patterns where none exist. Cf. superstitions.

Having songs repeat or omitted in a long stretch is pretty much what is supposed to happen in a truly random sequence.

There was a thread recently about possible iPod RNGs but nothing came of it.

---

<div class="post-metadata">

**Author:** ![panamajack](https://avatars.discourse-cdn.com/v4/letter/p/47e85d/32.png) [@panamajack](https://boards.straightdope.com/u/panamajack)\
**Post date:** [September 26, 2009, 4:58pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/3 "2009-09-26T16:58:09Z")

</div>

Do you have any ratings on the songs? I don’t recall if the iPod takes that into account; it might, though, which could explain it. One thing that happens is that ‘unrated’ songs actually are considered 0-star if you have any other rated songs in the collection, at least for iTunes.

---

<div class="post-metadata">

**Author:** ![kayaker](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/kayaker/32/441_2.png) [@kayaker](https://boards.straightdope.com/u/kayaker)\
**Post date:** [September 26, 2009, 5:04pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/4 "2009-09-26T17:04:59Z")

</div>

I’ve also noticed that with my IPod “shuffle” does not appear to be random. Just sayin.

---

<div class="post-metadata">

**Author:** ![Sage\_Rat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sage_rat/32/399_2.png) [@Sage\_Rat](https://boards.straightdope.com/u/Sage_Rat)\
**Post date:** [September 26, 2009, 5:05pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/5 "2009-09-26T17:05:44Z")

</div>

It could be either a poor random number generator that has a tendency to produce values within a certain range, or it could be happenstance. It’s hard to say.

I know that letting iTunes on my computer run continuously will result in wildly disparate play counts for songs, but I haven’t run any math to determine whether this falls within the range expected by chance.

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [September 26, 2009, 5:52pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/6 "2009-09-26T17:52:11Z")

</div>

There was a short article in the latest issue of The American Statistician that investigated the claims made in Steven Levy’s [2005 Newsweek article](http://www.msnbc.msn.com/id/6854309/site/newsweek/displaymode/1098/) that might suggest that the iPod shuffle prefers certain songs/albums/artists. None of the events described are at all unlikely under the assumption that songs really are shuffled at random. Rather, it appears that we have yet another case of people misunderstanding the nature of randomness.

The article is [here](http://pubs.amstat.org/doi/pdf/10.1198/tast.2009.07073), but you’ll either need to be an ASA member or buy access in order to get to it.

---

<div class="post-metadata">

**Author:** ![Johnny\_L.A](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/johnny_l.a/32/1084_2.png) [@Johnny\_L.A](https://boards.straightdope.com/u/Johnny_L.A)\
**Post date:** [September 26, 2009, 5:57pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/7 "2009-09-26T17:57:31Z")

</div>

> [@ftg](#):
>
> The human mind is great at finding patterns where none exist. Cf. superstitions.

I don’t think it’s confirmation bias. I haven’t been keeping a spreadsheet, but certain songs do get played ‘all the time’ while others rarely get played.

> [@ultrafilter](#):
>
> Rather, it appears that we have yet another case of people misunderstanding the nature of randomness.

That’s why I wrote this:

> [@Johnny\_L.A](#):
>
> Is it just the breaks of randomness?

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [September 26, 2009, 6:33pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/8 "2009-09-26T18:33:31Z")

</div>

> [@Johnny\_L.A](#):
>
> I don’t think it’s confirmation bias.

Why?

---

<div class="post-metadata">

**Author:** ![muttrox](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@muttrox](https://boards.straightdope.com/u/muttrox)\
**Post date:** [September 26, 2009, 7:44pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/9 "2009-09-26T19:44:55Z")

</div>

> [@Johnny\_L.A](#):
>
> I haven’t been keeping a spreadsheet

Maybe you should. Not trying to be snarky, but it would be a good experiment.

I only have I-tunes, not an Ipod, but it keeps stats on how often songs are played. If the Ipod has that also, it should be simple to dump the stats into a chi-squared test and see if you’re on the right track or not.

---

<div class="post-metadata">

**Author:** ![sparky\_1](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@sparky\_1](https://boards.straightdope.com/u/sparky_1)\
**Post date:** [September 26, 2009, 7:57pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/10 "2009-09-26T19:57:01Z")

</div>

I can not stand the way my iPod shuffles song. I too have noticed that it seems to replay only a few and never play others.

---

<div class="post-metadata">

**Author:** ![Fubaya](https://avatars.discourse-cdn.com/v4/letter/f/c2a13f/32.png) [@Fubaya](https://boards.straightdope.com/u/Fubaya)\
**Post date:** [September 26, 2009, 8:52pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/11 "2009-09-26T20:52:37Z")

</div>

From what I understand, I think that when you click shuffle, it generates a list of songs in random order and will go down the entire list. If you listen to the entire thing, it should play everything once.

If you turn it off, click shuffle again, skip songs, stop the random play to play a specific song etc, it generates a new list.

That’s how I remember it, I could be wrong. There’s a lot of [discussion](http://www.google.com/#hl=en&source=hp&q=ipod+random+algorithm&aq=f&aqi=&oq=&fp=fceeb2705a2dd16) online about it.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [September 28, 2009, 1:12pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/12 "2009-09-28T13:12:39Z")

</div>

> [@Johnny\_L.A](#):
>
> I don’t think it’s confirmation bias. I haven’t been keeping a spreadsheet, but certain songs do get played ‘all the time’ while others rarely get played.

Shuffles don’t keep track of the number of times songs get played? My two ipods do (nano and iPhone). Plug it in, open up iTunes, click on the ipod’s icon, check it’s library, and sort by “number of times played”.

---

<div class="post-metadata">

**Author:** ![CookingWithGas](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cookingwithgas/32/485_2.png) [@CookingWithGas](https://boards.straightdope.com/u/CookingWithGas)\
**Post date:** [September 28, 2009, 1:41pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/13 "2009-09-28T13:41:38Z")

</div>

> [@Munch](#):
>
> Shuffles don’t keep track of the number of times songs get played? My two ipods do (nano and iPhone). Plug it in, open up iTunes, click on the ipod’s icon, check it’s library, and sort by “number of times played”.

Keeping a record of what’s been played is different than managing the shuffle order using number of times played as a basis.

This has been explored in the media a few times and Apple has sworn that it’s pseudo-random and makes no attempt to give preference to artists or songs. Google “ipod shuffle randomness” for lots of reading material.

\*\*Fubaya \*\*is correct that shuffle mode creates a playlist of all the songs on the device and plays the entire list (if you let it).

On mine, some songs I hear often, and some songs have never been played at all–and that is the nature of randomness. Sometimes randomness is not fair. 😛

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [September 28, 2009, 2:05pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/14 "2009-09-28T14:05:53Z")

</div>

> [@CookingWithGas](#):
>
> Keeping a record of what’s been played is different than managing the shuffle order using number of times played as a basis.

Sure, but it’s close enough for government work. And we’re talking about a shuffle - that’s all it does!

---

<div class="post-metadata">

**Author:** ![ultrafilter](https://avatars.discourse-cdn.com/v4/letter/u/3d9bf3/32.png) [@ultrafilter](https://boards.straightdope.com/u/ultrafilter)\
**Post date:** [September 28, 2009, 2:09pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/15 "2009-09-28T14:09:21Z")

</div>

> [@Munch](#):
>
> Sure, but it’s close enough for government work.

Not at all.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [September 28, 2009, 2:19pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/16 "2009-09-28T14:19:39Z")

</div>

> [@ultrafilter](#):
>
> Not at all.

How so? The OP said he normally has it in shuffle mode. What am I missing? No, it’s not going to be scientific. Yes, random number distribution is going to have groupings that don’t \*seem \*random. But it’s still going to give us a rough estimation of how “random” it is.

---

<div class="post-metadata">

**Author:** ![Johnny\_L.A](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/johnny_l.a/32/1084_2.png) [@Johnny\_L.A](https://boards.straightdope.com/u/Johnny_L.A)\
**Post date:** [September 28, 2009, 2:28pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/17 "2009-09-28T14:28:03Z")

</div>

> [@Fubaya](#):
>
> From what I understand, I think that when you click shuffle, it generates a list of songs in random order and will go down the entire list. If you listen to the entire thing, it should play everything once.

> [@muttrox](#):
>
> Maybe you should. Not trying to be snarky, but it would be a good experiment.

That would not be practical. Normally I use my Touch on the bus, and then take it off when I get to the office. Then, depending on what KEXP is playing, I’ll pop it into the radio/iPod player on my desk. At the end of the day I’ll listen to it as I’m going to the bus and riding to my car. To make a spreadsheet I’d have to go back to the beginning and see what’s played, and then enter the data. I’m usually very busy at work, and I usually don’t have time to enter a single line on my Prius mileage spreadsheet; let alone a large number of songs. Also, I power off before the weekend and before telecommuting days; so the random playlist is lost.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [September 28, 2009, 2:47pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/18 "2009-09-28T14:47:50Z")

</div>

> [@Johnny\_L.A](#):
>
> That would not be practical. Normally I use my Touch on the bus, and then take it off when I get to the office. Then, depending on what KEXP is playing, I’ll pop it into the radio/iPod player on my desk. At the end of the day I’ll listen to it as I’m going to the bus and riding to my car. To make a spreadsheet I’d have to go back to the beginning and see what’s played, and then enter the data. I’m usually very busy at work, and I usually don’t have time to enter a single line on my Prius mileage spreadsheet; let alone a large number of songs. Also, I power off before the weekend and before telecommuting days; so the random playlist is lost.

Or you could just reset all of your songs to “never been played” and exclusively shuffle (rather than play specific songs/albums).

---

<div class="post-metadata">

**Author:** ![dracoi](https://avatars.discourse-cdn.com/v4/letter/d/90db22/32.png) [@dracoi](https://boards.straightdope.com/u/dracoi)\
**Post date:** [September 28, 2009, 4:52pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/19 "2009-09-28T16:52:38Z")

</div>

A while back, Apple actually added a feature to iTunes that made it “more random.” The irony is that using that setting is actually LESS random because iTunes makes an effort to weight songs that haven’t been played for a while and to avoid playing songs from the same artist/album twice in a row.

It’s all just another example of the fact that what statisticians mean by “random” and what the average guy on the street means by “random” are two totally different things.

---

<div class="post-metadata">

**Author:** ![Algernon](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Algernon](https://boards.straightdope.com/u/Algernon)\
**Post date:** [September 28, 2009, 6:39pm UTC](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645/20 "2009-09-28T18:39:39Z")

</div>

> [@sparky\_1](#):
>
> I can not stand the way my iPod shuffles song. I too have noticed that it seems to replay only a few and never play others.

> [@Fubaya](#):
>
> From what I understand, I think that when you click shuffle, it generates a list of songs in random order and will go down the entire list. If you listen to the entire thing, it should play everything once.

With about 6000 songs in my iPod I never made it through all of them – a direct consequence of wanting to re-sync and get the new songs I seem to regularly add to iTunes.

Combining that with the seemingly obvious poor randomization (I too heard some songs over-and-over again, even if I started at a different spot in the generated playlist), I got really frustrated.

So to fix both these problems, I created a smart playlist of about 300 songs. It consists of all new songs (under a certain playcount) because I want to hear them more frequently for awhile, and the 200 songs played least recently.

With only 300 songs I can go through the entire playlist before wanting to re-sync. Then when I do, I get a new set of songs to listen to.

[Next page](https://boards.straightdope.com/t/how-does-an-ipod-decide-which-songs-to-play/511645.md?page=2)
