{"id":520680,"date":"2022-12-03T19:00:00","date_gmt":"2022-12-03T16:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/why-spotify-shuffle-is-not-truly-random\/"},"modified":"2022-12-03T19:00:00","modified_gmt":"2022-12-03T16:00:00","slug":"why-spotify-shuffle-is-not-truly-random","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/why-spotify-shuffle-is-not-truly-random\/","title":{"rendered":"#Why Spotify Shuffle is Not Truly Random"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3d90a6d014b\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3d90a6d014b\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/why-spotify-shuffle-is-not-truly-random\/#%E2%80%9CWhy_Spotify_Shuffle_is_Not_Truly_Random%E2%80%9D\" >&#8220;Why Spotify Shuffle is Not Truly Random&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/why-spotify-shuffle-is-not-truly-random\/#Random_Doesnt_Feel_Random\" >Random Doesn\u2019t Feel Random<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/why-spotify-shuffle-is-not-truly-random\/#How_Spotify_Shuffle_Works\" >How Spotify Shuffle Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/why-spotify-shuffle-is-not-truly-random\/#Enter_the_Algorithm\" >Enter the Algorithm<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/why-spotify-shuffle-is-not-truly-random\/#Random_Is_Hard\" >Random Is Hard<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CWhy_Spotify_Shuffle_is_Not_Truly_Random%E2%80%9D\"><\/span>&#8220;Why Spotify Shuffle is Not Truly Random&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<!-- UNCACHED CONTENT --><\/p>\n<figure style=\"width: 1201px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-847802 size-full\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/11\/spotify-shuffle.png?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Spotify Shuffle button.\" width=\"1201\" height=\"676\" data-credittext=\"Joe Fedewa \/ How-To Geek\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\">Joe Fedewa \/ How-To Geek<\/span><\/figcaption><\/figure>\n<p>If you\u2019ve ever used the shuffle button on <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/redirect.viglink.com\/?key=204a528a336ede4177fff0d84a044482&amp;u=https%3A%2F%2Fopen.spotify.com%2F&amp;cuid=xid:{xid}&amp;___trxnet=vg\">Spotify<\/a>, you\u2019ve probably noticed it often doesn\u2019t feel random at all. Turns out this is by design, and there\u2019s actually a lot that goes into how shuffle works on Spotify.<\/p>\n<p>You are very much not alone if this is a complaint you\u2019ve had. The <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/redirect.viglink.com\/?key=204a528a336ede4177fff0d84a044482&amp;u=https%3A%2F%2Fcommunity.spotify.com%2Ft5%2FAndroid%2FShuffle-Still-Doesn-t-Work-2021%2Ftd-p%2F5137861&amp;cuid=xid:{xid}&amp;___trxnet=vg\">Spotify Support forums<\/a> and <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.reddit.com\/r\/spotify\/comments\/8n8ud8\/spotify_shuffle_not_random_proven\/\">Reddit<\/a> are littered with people airing their grievances about the shuffle feature. It\u2019s clearly not working how people expect it to work. Let\u2019s take a look at why that is.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>Why Is It Called Spotify?<\/em><\/strong><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Random_Doesnt_Feel_Random\"><\/span>Random Doesn\u2019t Feel Random<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The core of this situation is our <em>perception<\/em> of what\u2019s random versus how random works in the real world. The common complaint is Spotify\u2019s shuffle mode doesn\u2019t feel random, but true random is not what we actually want.<\/p>\n<p>Flipping a quarter is a good example of this. If the coin is flipped 10 times, we expect to see a relatively even distribution of heads and tails. However, true random can just as easily result in 10 straight heads. Each time the coin is flipped, there\u2019s a 50\/50 chance it will be heads or tails. That chance doesn\u2019t change depending on the previous coin flip.<\/p>\n<figure style=\"width: 484px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-847894 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/11\/fisher_yates.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Two lines or colors in random orders.\" width=\"484\" height=\"134\" data-credittext=\"Spotify\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\">Two equally random orders. <span class=\"imagecredit\">Spotify<\/span><\/figcaption><\/figure>\n<p>The same thing <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lies to songs in a playlist. True random could end up playing the same artist a bunch of times in a row\u2014there\u2019s an equal chance for each song to play every time. Up until 2014, this was how the shuffle feature worked, but people complained that it wasn\u2019t random enough. So, Spotify changed it up.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>How to Search for Songs in a Spotify Playlist<\/em><\/strong><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_Spotify_Shuffle_Works\"><\/span>How Spotify Shuffle Works<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When you press the \u201cNext\u201d button, Spotify does not randomly select the next song right then and there. The next song was already decided at the moment you turned on shuffle mode.<\/p>\n<p>The name \u201cshuffle\u201d is actually a very accurate description of how it works. Think of it like shuffling a deck of playing cards. When you tap the shuffle button on a playlist, all the songs are shuffled into a new order. This happens every single time you click the shuffle button.<\/p>\n<p>You can see this if you check the queue. I made a playlist of 10 songs\u2014half of which are from the same artist\u2014and put it on shuffle five times. Spotify generated a new order of songs each time. Even in this small sample size, you can clearly see some of the issues people complain about.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-847895\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/11\/2022-11-10_16-02-59.jpg?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Playlists shuffled.\" width=\"650\" height=\"348\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<p>The same song was at the top of the list the first two times I shuffled\u2014that\u2019s more \u201crandom doesn\u2019t feel random.\u201d More importantly, the artist that appears in the playlist five times is never evenly distributed. In fact, in two of the shuffles, four out of the five songs were grouped together.<\/p>\n<p>That\u2019s how Spotify shuffle works on a basic level, but again, this is not random. Spotify stopped using true random in 2014. Now there\u2019s an algorithm that decides the shuffle.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>Streaming Music? You Should Be Making Your Own Playlists<\/em><\/strong><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Enter_the_Algorithm\"><\/span>Enter the Algorithm<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Thankfully, an engineer at Spotify outlined exactly how the algorithm works on <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/engineering.atspotify.com\/2014\/02\/how-to-shuffle-songs\/\">Spotify\u2019s Engineering blog in 2014<\/a>. The algorithm has almost certainly been tweaked since then, but it\u2019s surprisingly simple.<\/p>\n<p>First, the algorithm spreads out songs from the same artist. However, it intentionally doesn\u2019t always do this perfectly\u2014as seen above\u2014to maintain a sense of randomness. <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/general\/\" data-internallinksmanager029f6b8e52c=\"3\" title=\"General\" target=\"_blank\" rel=\"noopener\">General<\/a>ly, they\u2019ll appear every 20-30% of the length of the playlist.<\/p>\n<figure style=\"width: 533px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-847893\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/11\/algorithm.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Spotify shuffle algorithm.\" width=\"533\" height=\"458\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\">Each color is an artist. <span class=\"imagecredit\">Spotify.<\/span><\/figcaption><\/figure>\n<p>The algorithm also shuffles the songs by the same artist among each other. This is to prevent songs from the same albums from playing too closely together. Artists that only appear once in the playlist have a \u201crandom offset\u201d to prevent them from always being at the top of the list.<\/p>\n<p>That\u2019s it! The algorithm itself is quite simple. Maintaining a <em>feeling<\/em> of randomness is what really complicates things. If shuffle always perfectly arranged the artists in equal distance from each other, it would feel like a repetitive pattern. Shuffle has to strike a balance between true randomness and manufactured randomness.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Random_Is_Hard\"><\/span>Random Is Hard<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/keyj.emphy.de\/balanced-shuffle\/\">more advanced<\/a> music shuffling algorithms out there. The problem is adding complexity can make algorithms slower. Spotify\u2018s algorithm is simple, but that allows it to shuffle almost instantly.<\/p>\n<p>The human brain makes the concept of \u201crandom\u201d hard to execute. The algorithm is more about creating the <em>illusion<\/em> of randomness than true randomness because that is what our brains want. The system is never going to be perfect, but you can always hit the shuffle button one more time.<\/p>\n<p><em>If you\u2019re still curious about this topic, check out this <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/youtu.be\/OdLyKETk5o0\">excellent video by Gabi Belle on YouTube<\/a>.<\/em><\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/847793\/why-spotify-shuffle-is-not-truly-random\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Why Spotify Shuffle is Not Truly Random&#8221; Joe Fedewa \/ How-To Geek If you\u2019ve ever used the shuffle button on Spotify, you\u2019ve probably noticed it often doesn\u2019t feel random at all. Turns out this is by design, and there\u2019s actually a lot that goes into how shuffle works on Spotify. You are very much not&#8230;<\/p>\n","protected":false},"author":1,"featured_media":520681,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/11\/spotify-shuffle.png?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-520680","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/520680","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=520680"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/520680\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/520681"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=520680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=520680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=520680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}