The Infinite Jukebox

Another Music Hack Day weekend … this time in Boston hosted at MIT.  It was a pretty awesome event. The space at MIT was perfect for hacking, with the best network connectivity I’ve ever seen at a hacking event.   For my weekend hack, I took the idea from my Iceland hack (Infinite Gangnam Style), and made it work with any song.  The result is The Infinite Jukebox.

With The Infinite Jukebox, you can create a never-ending and ever changing version of any song.   The app works by sending your uploaded track over to The Echo Nest, where it is decomposed into individual beats.  Each beat is then analyzed and matched to other similar sounding beats in the song.  This information is used to create a detailed song graph of paths though similar sounding beats.  As the song is played,  when the next beat  has similar sounding beats there’s a chance that we will branch to a completely different part of the song. Since the branching is to a very similar sounding beat in the song, you (in theory) won’t notice the jump.  This process of branching to similar sounding beats can continue forever, giving you an infinitely long version of the song.

To accompany the playback,  I created a chord diagram that shows the beats of the song along the circumference of the circle along with with chords representing the possible paths from each beat to it’s similar neighbors.  When the song is not playing, you can mouse over any beat and see all of the possible paths for that beat.  When the song is playing, the visualization shows the single next potential beat.  I was quite pleased at how the visualization turned out. I think it does a good job of helping the listener understand what is going on under the hood, and different songs have very different looks and color palettes. They can be quite attractive.

I did have to adapt the Infinite Gangnam Style algorithm for the Infinite Jukebox. Not every song is as self-similar as Psy’s masterpiece, so I have to dynamically adjust the beat-similarity threshold until there are enough pathways in the song graph to make the song infinite. This means that the overall musical quality may vary from song to song depending on the amount of self-similarity in the song.

Overall, the results sound good for most songs.  I still may do a bit of tweaking on the algorithm to avoid some degenerate cases (you can get stuck in a strange attractor at the end of Karma Police for instance).  Give it a try, upload your favorite song and listen to it forever.  The Infinite Jukebox.

Some of my favorite listener contributed tracks:

  1. #1 by Republic of Nynex (@nynexrepublic) on November 12, 2012 - 2:36 pm

    I have been unable to successfully upload a particular song. I don’t know if it’s my fault! If I close my browser before the graph shows up, will the upload eventually show in the recent uploads list? Can an analysis fail entirely?

  2. #3 by Aaron on November 12, 2012 - 3:35 pm

    A UI quirk– I ran afoul of this twice before figuring out what the hell was actually going on the third time.

    The “Tweet” button doesn’t seem to appear until the song is fully loaded. So if you go and hover over the ‘play’ button while the song is loading, and click as soon as you see the big colorful circle appear on screen, you may end up back at the main screen because, while you weren’t looking, the “Tweet” button appeared and moved the “New Song” button over into the spot where the ‘Play’ button used to be.

    This is on Chrome 23.0.1271.64.

    • #4 by Paul on November 13, 2012 - 7:13 am

      Aaron – I’ve re-arranged the buttons. If you do a refresh, you should no longer see the buttons move just before you click

  3. #5 by Chris Smiddy on November 13, 2012 - 11:32 am

    When I minimize my browser or switch tabs the songs skip around.

    • #6 by Paul on November 13, 2012 - 11:59 am

      chris – yes, this is because browsers lower the priority of javascript in non-visible tabs. There’s nothing I can do about that. However if you want to play music in the background, you can just open the infinite jukebox in its own browser window and minimize that window.

      • #7 by mccannmedia on November 14, 2012 - 1:34 pm

        A ‘pop-out’ player might be a good addition.

  4. #8 by Bob on November 13, 2012 - 12:08 pm

    Does it only play in Chrome? I’ve got the latest 16.0.2 Firefox and it tells me I need “advanced web audio”.

    • #9 by Paul on November 13, 2012 - 2:54 pm

      Bob – the app relies on the web audio api which is currently supported by Chrome and Safari.

  5. #10 by Rebecca Samuelson on November 13, 2012 - 5:18 pm

    Well, there goes the DJ….

  6. #11 by mike on November 13, 2012 - 8:57 pm

    Are there any mobile browsers that support this?

    • #12 by Paul on November 13, 2012 - 9:00 pm

      maybe the lastest/fastest iphone and ipad, but I don’t know for sure. It is rather processor intensive.

  7. #13 by @jpwack on November 13, 2012 - 11:27 pm

    You should call it the markov-chain-lyric-destroyer ;)

  8. #14 by Peter Dolkens on November 14, 2012 - 12:06 am

    What happens when you click beats? It seems to highlight them. I’d suggest that it toggles a “Forced jump” which would allow you to pick a good point to force the song to loop for those with harsh intro / outros.

    A similar method to prevent jumps would also be nice. Maybe ability to select a jump and press delete?

  9. #15 by frangossauro on November 14, 2012 - 12:10 am

    Hahaha, marvelous. Uploaded a jamming session and the results are just marvelous.
    Diving in into the code!

  10. #16 by Baeocystin (@Baeocystin) on November 14, 2012 - 2:49 am

    I’ve had lots of fun playing around with this, thanks!

    Some tracks are silly, some funny, but what has surprised me most is Little Wing. Getting lost in the loop has been delightful.

  11. #17 by Harold Schellinx on November 14, 2012 - 7:20 am

    Congrats! This is absolutely brilliant :)

  12. #18 by Roger Boyle on November 14, 2012 - 7:23 am

    OK – I get as far as “calculating pathways through the sog” and it just sits there for 30 minutes. Am I being dim?

    • #19 by MaxRabbit on November 14, 2012 - 5:54 pm

      I’ve just realised – it works in Chrome, but not in Chromium for some reason. Chromium seems to get stuck with the “calculating pathways through the song” message

  13. #20 by Brian Kotarski on November 14, 2012 - 9:07 am

    Simply amazing. Is it too much to hope for an mobile application for iPhone or Android?

  14. #21 by briankotarski on November 14, 2012 - 9:08 am

    Simply amazing. Is it too much to hope for a mobile app for iPhone or Android?

  15. #22 by Thomas Dippel on November 14, 2012 - 10:00 am

    Which of Echo Nest’s API’s are you using to analyze the beats?

  16. #23 by Razvan on November 14, 2012 - 11:36 am

    When i’m listening to the uploaded songs on the Infinite Jukebox website the audio skips as if i dont have the right audio plug-in. My Chrome is up-to-date. How do i fix this? Thx

    • #24 by Paul on November 18, 2012 - 11:56 am

      the track/upload API method

  17. #25 by funkatronicanny Fleurmond on November 14, 2012 - 11:43 am

    I eagerly await this becoming an app on Android and iOS. Simply brilliant.

    One thing though: I hope the RIAA doesn’t become buthurt because of this. They always get trigger happy with innovative stuff like this.

  18. #26 by Razvan on November 14, 2012 - 12:03 pm

    Goin viral in 3… 2… 1…

  19. #27 by ramanan50 on November 14, 2012 - 1:59 pm

    Reblogged this on Ramani's blog and commented:
    Add your thoughts here… (optional)

  20. #28 by Jelle Fresen on November 14, 2012 - 2:01 pm

    Wow, this is really cool! Did you write your own beat detector, or did you use some open source library?

  21. #29 by JoshDComp on November 14, 2012 - 3:45 pm

    I don’t get it…for me it’s just looping the song without any changes…of course that could just be that Call Me Maybe has the lyrical depth or variation of a stack of two sheets of paper

    • #30 by Paul on November 18, 2012 - 11:56 am

      I used the Echo Nest analyzer for beat detection

  22. #31 by compto35 on November 14, 2012 - 3:47 pm

    I’m confused. For me, it’s just playing Call Me Maybe on repeat. Of course that could also be from the fact that Call Me Maybe has the lyrical depth and variation of a stack of two sheets of paper

  23. #32 by Dan on November 14, 2012 - 4:14 pm

    I must be making a mistake somehow, because I can’t figure out how to start this process. Where do i click to begin uploading a song and making my own song?

    • #33 by Paul on November 18, 2012 - 11:57 am

      yes, you are confused.

  24. #34 by Shattered-Earth on November 14, 2012 - 4:31 pm

    Are there any plans to turn this into an app of some kind for android or ipod? I would definitely shell out some money for this especially since it doesn’t seem to be working with our own music right now.

  25. #35 by Jamie on November 14, 2012 - 5:34 pm

    How long is the analysis expected to take normally? I uploaded Bela Legosi’s Dead by the Bauhaus and it seems to be taking quite a while…

  26. #36 by coggy9 on November 14, 2012 - 8:00 pm

    Have you thought about letting us use an existing URL for our music? Getting 500 errors when the page tries to load uploaded music. http://i.imgur.com/Y1tV3.png

  27. #37 by Tom Servo on November 14, 2012 - 9:47 pm

    There really needs to be an offline version of this. Or maybe an open source release, so that some whizkids can create a Foobar2k plugin (or whatever), to stretch songs to some user defined minimum length, or just keep it playing.

    Because this is awesome.

  28. #38 by tomservocc on November 14, 2012 - 10:05 pm

    Hrm, I’ve just decided to attempt to create my own version of this in C#, since I actually _do_ want an offline version of it. Should be a nice exercise making it work. I figure the hardest part is getting the actual BPM, right? So songs with varying tempo or a lack of regular percussions are a real problem?

  29. #39 by David on November 14, 2012 - 11:43 pm

    I like the keyboard controls. CTRL holds position. pressing left holds position, press left again top reverse playback, keep pressing left to speed up backwards playback. Press up to resume normal play. dont know if this is intended but i found it alot of fun to play with. Maybe I should get back to work now @_@

  30. #40 by dbunting on November 14, 2012 - 11:45 pm

    I dont know if its intended functionality but im enjoying playing with the keyboard controls.
    CTRL holds beat. Press left twice to reverse play back (1/2 speed?) keep pressing left to increase reverse play back. press up to resume normal play back. Theres more but ive been playing with this for too long and really should get back to work @_@

    • #41 by Paul on November 14, 2012 - 11:47 pm

      check the FAQ for more controls

  31. #42 by Josh-D. S. Davis on November 15, 2012 - 12:25 am

    Click filtering, especially in sections with no branches, would really be nice.
    Having different thresholds for different areas of a song might be useful, but not sure. Would be nice to use open swaths of unbalanced songs, but it might be hard to transition into those areas too.
    Overall, this is pretty darned amazing. Good job.

  32. #43 by Olive on November 15, 2012 - 1:28 am

    I have Firefox and cannot play songs. Is there a way to get at the site without downloading chrome?

    • #44 by Paul on November 15, 2012 - 6:29 am

      no, sorry, the app relies on a very specific feature (web audio) that is not supported in Firefox yet.

  33. #45 by evildave on November 15, 2012 - 1:43 am

    Your demo is wonderful, but you’re sending down mp3 files ‘in the clear’ for that javascript player to play. Anyone with a javascript debugger on their browser, or knows about ‘about:cache’, can see that.

    The RIAA doesn’t have to get ‘butthurt’, as someone else has pointed out. You’re sharing and re-distributing copyrighted material that anyone uploads, and everyone who downloads gets a whole copy of the song.

    Infringement is happening, and they could go after YOU for it.

    As great as this tool is, you need some kind of time limit for the uploads to expire, not to ‘share’ those uploads with people other than the ones who ‘try’ the tool, and have clear licensing arrangement for the audio you are demoing with.

    I don’t personally care, I think it’s great, but please don’t let yourself get burned.

    • #46 by Bobby on November 20, 2012 - 12:12 am

      POWER TO THE PEOPLE!! Dont let your creativity be put down by some suits!!!

  34. #47 by juuxjuux on November 15, 2012 - 2:00 am

    This is amazing. I’ve often thought that something like this should be possible, thanks for making it!

  35. #48 by scooterbaga on November 15, 2012 - 7:28 am

    I’ve noticed some odd skipping with this track:

    http://labs.echonest.com/Uploader/index.html?trid=TRTSPON13B03C610EC

    I’m wondering if there are any limitations for the type of mp3’s uploaded? It also has the name wrong, I’m guessing it doesn’t like certain symbols pulled from the tags. (Should be Kiara+Prelude)

    Love this app. It’d be really nice to have this as a standalone on my computer, android, etc. I could see this app becoming a new way to play music. Playlist support, customizable/randomized times to “dwell” on certain songs… I hope work continues.

  36. #49 by Shattered-Earth on November 15, 2012 - 8:08 am

    Any way to ask why some tracks just don’t seem to work? I tried to reupload them but i’m guessing the system recognizes the meta data and uses a cached file, but then the song just never finishes calculating or loading?
    Examples: http://labs.echonest.com/Uploader/index.html?trid=TRNVBCE13B00AAB6B9
    http://labs.echonest.com/Uploader/index.html?trid=TRDTBJF13B03F4BE3C
    http://labs.echonest.com/Uploader/index.html?trid=TRIYIQF13B009673BC

    • #50 by Paul on November 15, 2012 - 9:09 am

      Shattered-Earth – I can reproduce this, looks like a bug. I’ll dig in to fix it, but probably not for a few days. Thanks for the report! — Paul

      • #51 by Shattered-Earth on November 15, 2012 - 1:15 pm

        That’s totally fine, i don’t mean to sound demanding or anything because it’s your baby after all. It’s just amazing that it exists now and i can’t really imagine not using it for the rest of my life, haha. Far superior to just telling a song to play on repeat.

  37. #52 by Josh on November 15, 2012 - 8:13 am

    I can not express enough how urgently this needs to be a plugin for all popular music players.

    I suppose you could use it to automashup if you supplied two or more tracks to jump between since it jumps by similarity anyhow.

  38. #53 by marcus on November 15, 2012 - 8:16 am

    the infinite audio analyzation

  39. #54 by Gianfranco Cecconi (@giacecco) on November 15, 2012 - 9:22 am

    Fantastic job! Pity it can’t run properly in the background.

    I can give you a hint for a substantial improvement: you should allow the player to jump to different points in the song only according to tempo, e.g. every four beats if it’s a 4/4. I believe most of us feel when that inner pattern is broken and the overall feeling of the continuous song would be much better.

    Btw, of course you thought of making a Spotify app of it, didn’t you?

    • #55 by Paul on November 15, 2012 - 9:24 am

      thanks for the suggestions. And you can run it in the background if it is in its own window. (Chrome/Safari lower the priority of javascript for background tabs). –

  40. #56 by Muddox on November 15, 2012 - 11:16 am

    Is there a way to obtain a downloadable version of this or to download this and setup locally? My internet connection is absolutely terrible so trying to upload a good quality MP3 is… Well, it just doesn’t work. :(

    • #57 by Paul on November 15, 2012 - 1:10 pm

      Sorry, no, the app relies on talking over the network to the Echo Nest where all of the heavy analysis is done.

  41. #58 by Todd Snyder on November 15, 2012 - 12:06 pm

    this is outstanding – I have a song that is the perfect cadence for when I run, and I was considering trying to ‘make’ an extra long version of it by cut/pasting parts of it over and over and such, the infinite song is so much better. Any way to add the ability to download a generated song of X minutes long or such? Or do you know of anything that will do that?

    • #59 by Paul on November 15, 2012 - 1:11 pm

      Sorry no, but if you are a coder you could cook up something with the Echo Nest Remix – https://github.com/echonest/remix

      • #60 by Todd Snyder on November 15, 2012 - 11:58 pm

        I was a coder long ago, now I’m just a DBA (: I’ll check it out, perhaps it’s time to dust off my skills…

  42. #61 by Jared on November 15, 2012 - 12:34 pm

    Whenever I try to use this in Chrome it finishes the “Calculating pathways through song” and then I get the “Awww, snap” error in Chrome. Are there any plugins or codecs to download?

    • #62 by Paul on November 15, 2012 - 1:09 pm

      No plugins or codecs. Do make sure you have the very latest version since the Infinite Jukebox pushes the bounds of browser technology to the limit. My version is Version 23.0.1271.64 on Mac OS

      • #63 by Aileen on November 25, 2012 - 8:05 pm

        I have the same problem too and I double checked my version of Chrome and it is the most recent one. Any other ideas that I can try?

  43. #64 by Joe on November 15, 2012 - 2:00 pm

    Make an app for this on the app store, sell it for 99 cents (I would pay for it in a heart beat), and cash in! Seriously I can see this taking off on the mobile app marketplace.

  44. #65 by Rick M on November 15, 2012 - 6:26 pm

    Paul, I had an idea for an enhancement. I thought about doing it myself, but I have too many projects already. Add a history of jumps, that you can see building as each jump is taken. Clicking on a history entry would reset the playhead to a moment before the jump and resume playback, following the history.

    Then allow the user to disable certain paths (some paths just don’t work).

    Allow the history to be persisted, so a given generated remix can be replayed.

  45. #66 by dbunting on November 15, 2012 - 9:27 pm

    While i love this project wouldnt a more acurite title be the Infinite song? now something like this the could take a whole playlist analyze all the songs and then jump between them, that would be a neat trick and something i would love to see. As it stands this thing is going to get me fired because i cant stop playing with it while im at work LOL

  46. #67 by Hank McCoy on November 16, 2012 - 12:16 pm

    i think a neat to add a cutting tool that can get rid of a loop that the user doesn’t like. and maybe a tool to create a link between two parts. just so that people can do that and experiment.

    • #68 by Paul on November 29, 2012 - 2:44 pm

      I’ve adding a tuning button now so you can do some of these kinds of edits.

  47. #69 by Oláh Balázs on November 17, 2012 - 6:35 am

    Ubuntu 12.10 – 32 bit
    Chromium Version 22.0.1229.94 Ubuntu 12.10 (161065)

    Uncaught Error: SYNTAX_ERR: DOM Exception 12

    • #70 by Paul on November 17, 2012 - 1:01 pm

      Oláh – I think I fixed this issue. If you refresh the page and try it again to see if you get better behavior.

      –P

  48. #71 by Jason on November 17, 2012 - 1:40 pm

    I’m having an issue with any song I upload. The songs upload completely fine, and everything works out, but when I play the uploaded mp3, the display shows all the pathways and everything, but no sound is played! This doesn’t happen when I try to play recent uploads, only when I try to do this with my own music.

  49. #75 by Dylan on November 17, 2012 - 3:34 pm

    This is awesome, but I have a suggestion: It would be nice if, once I got sick of a song, I could let the song come to an end instead of having to stop it in the middle or increase the play speed to skip over the last few branches. Either an option that uses the algorithm normally, but allows the song to pass the last branch, or just an option that plays the song normally without branching.

    It’s just more satisfying, after playing the song for so long, to be able to finish it normally instead of cutting it off.

    I see that you’re also thinking of finding a way to prevent getting stuck in the last few branches, which i appreciate.

    Awesome work, and I hope to see you continue working on this, as it really deserves it.

    • #76 by Paul on November 17, 2012 - 3:54 pm

      thanks for the suggestion – perhaps I should add a ‘bring it on home’ key,to wrap it all up.

      • #77 by Dylan on November 17, 2012 - 5:14 pm

        That’s exactly what I’m looking for; Thanks for looking into it!

    • #78 by Paul on November 29, 2012 - 2:44 pm

      I’ve added this, so you can press ‘h’ to bring it on home.

  50. #79 by NotACat on November 17, 2012 - 5:30 pm

    I would love to see how this handled two (or more) similar songs concatenated together: maybe we could finally see just how inventive or not certain artists really are ;-)

  51. #80 by Tasgall on November 17, 2012 - 6:19 pm

    Anything I load crashes my browser (Chrome) at the “Calculating pathways through the song” step. Any ideas on how to fix this?

    • #81 by Paul on November 17, 2012 - 6:22 pm

      Try a full refresh of the web page. I’ve made some changes that might fix a few bugs with certain files. Also make sure that Chrome is at the latest version, they also had a few bugs that would cause a crash. My current version is Version 23.0.1271.64

  52. #82 by Chrissy on November 17, 2012 - 10:29 pm

    I was really excited to try this. Unfortunately, I am a musician who prefers rock music. Everything I have tried so far has turned out a very choppy, musical nightmare.

  53. #83 by Chee Seng on November 18, 2012 - 2:46 am

    This is definitely going to be the next big thing if it’s available for mobile platform, looking forward to it!

  54. #84 by Edward on November 18, 2012 - 2:47 am

    This is going to be the next big thing if it’s available for mobile platform, looking forward to it!

  55. #85 by Angelo on November 19, 2012 - 3:15 pm

    Is the code for this shared anywhere? Would love to dive in and play with it!

    • #86 by Paul on November 19, 2012 - 3:19 pm

      It is not in any public repository yet, but you can always right click to view source.

  56. #87 by Truth Sim on November 20, 2012 - 12:09 am

    INFINITE JUKEBOX should definitely be an app, it would be mad

  57. #88 by Angelo on November 20, 2012 - 4:26 pm

    app for spotify :D

  58. #89 by Ben_R on November 20, 2012 - 4:47 pm

    This is so fantastic! I hope you have a lot of server space, because I have been uploading everything I can think of. I really need a stand-alone version or a plugin to iTunes, I am going to become an addict.

  59. #90 by Mike on November 22, 2012 - 3:46 am

    I’ll bet this could work across artist catalogs, too. I’ll bet there are quite a few spots where you could jump between one Mumford and Sons song and the other without anybody noticing, although the tempo might have to be adjusted slightly to make it happen, and I’m not sure about the keys.

  60. #91 by Olaf on November 26, 2012 - 4:58 am

    The page seems to be stuck on “loading track”. Chrome is up-to-date. I’ve tried it with numerous tracks and even uploaded my own. Still, the screen doesn’t get past the “loading track” part. Anything I can do to make the track play? I’ve super keen to see the Jukebox in action.

    • #92 by Paul on November 26, 2012 - 11:31 am

      Do a hard refresh in the browser, and if is still giving you trouble, open up your console to see if there are any errors there.

  61. #93 by Jeremy Salwen on November 26, 2012 - 4:48 pm

    Hi Paul, the infinite jukebox is amazing. It’s a great concept and it’s executed wonderfully. However, as you mention, some songs have “strange attractors”. Karma Police in particular is one of my favorite songs to loop infinitely, but as you noticed, it gets stuck in small loop of an instrumental part near the end of the song, and so I have to manually restart it every time. You mention that you increase the sensitivity of the loop detection until there are enough loops to repeat forever. Is there any chance you could expose this control to the user? Or perhaps allow the user to manually add and remove connections?

    Also, what’s up with the beats “shrinking” every time we click on them? does this represent something?

    • #94 by Paul on November 27, 2012 - 7:39 am

      Jeremy – it sounds like you are running a very old version of the jukebox. Refresh your page and you should see some substantial improvements on songs like Karam Police. Also, there’s a new tuning feature that will let you adjust and customize the song graph.

  62. #95 by Pinky Ruffles on November 27, 2012 - 9:25 pm

    How can I record the songs that I uploaded and played thru your program ??? Many Thanks

    • #96 by Paul on November 27, 2012 - 9:37 pm

      sorry, but there’s no way to do that. — P

      • #97 by Pinky Ruffles on November 27, 2012 - 9:49 pm

        thanks for your quick reply… I am gonna try a few things even if I have to use my cassette deck…. Imagine taking a 30 second ringtone and changing it to a 2 min ringtone… Many Thanks

  63. #98 by Waldir on November 28, 2012 - 12:45 am

    Do you plan to host this somewhere where people can contribute tweaks and fixes? For instance, hovering the beats displays the beat coordinates (I suppose) in the same place where number of beats played is displayed. And the title could be a link to the home page. Stuff like that.

  64. #99 by Peter Mueller on November 28, 2012 - 2:56 am

    Absolutely brilliant algorithm and visualization! rocking to Donna Summer forever and Dave Brubeck forever. this is as close as my brain is likely to get to Neal Stephenson’s Snow Crash. This is as close as my mind is likely. this is close. this is my brain. brain. mind. crash. brilliant. Snow. summer. crash.

  65. #100 by Gav on November 29, 2012 - 10:02 am

    Sorry this isn’t working at all.
    If I select a previously uploaded track I get:
    Loading x%
    Calculating pathways through the song….
    ready!
    But the visualisation area remains blank, the play button doesn’t do anything and I get the following javascript error:
    Uncaught ReferenceError: twttr is not defined index.html:2029
    ?

    • #101 by Paul on November 29, 2012 - 10:04 am

      Hi Gav – thanks for digging in and including an error message. It looks like you may have an older version of the app that has a bug. Try a hard refresh of the page and try again. Let me know how it comes out.

      • #102 by Paul on November 29, 2012 - 10:21 am

        hmmm … maybe there’s something else going on that I don’t understand. I’ve removed the twitter button until I figure it out. Do a hard refresh now and the problem should be gone.

  66. #103 by Omar on December 6, 2012 - 5:48 pm

    I tried this once and it worked. But now when ever i try it, i get the “Aw, Snap” nonsense. I have the most recent version of chrome, i turned all my plug-ins off, and i refreshed the page constently. It gets to the “Creating pathways through the song” part and it just crashes.

    • #104 by Paul on December 10, 2012 - 7:03 am

      hmmm … what OS are you running on?

  67. #105 by sardiax on December 8, 2012 - 2:47 am

    I actually really like the way this plays music in reverse(start up, hit left twice.)

    There seems to be a bug, or maybe this just wasn’t intended – but if it loops back to the home sample it gets stuck, and just replays it over and over, even on infinite.

    • #106 by Paul on December 10, 2012 - 7:02 am

      yeah, that’s the expected behavior. Proper Infinite mode only works when you go forward.

  68. #107 by Hans Henrik on December 13, 2012 - 4:16 pm

    in http://labs.echonest.com/Uploader/index.html?trid=TRNXIZR13B95D2E569&thresh=48&bp=18,50,42 with settings

    Branch Similarity Threshold: 48
    Branch Probability Range: 18% to 50%
    Branch Probability Ramp-up: 40%
    Loop extension optimization: ON
    Allow only reverse branches: OFF
    Allow only long branches: OFF
    Remove sequential branches: OFF

    and infinite mode,
    it will get stuck near the end, constantly saying “so get your game on – where the hell are my cheetos?” infinitely (or at least over 30 minutes:p)

    • #108 by Paul on December 13, 2012 - 4:19 pm

      hans – thanks for the info – yeah, that may be subtle bug in the end-of-song pathfinding. I’ll take a look when I get a few minutes. — Paul

  69. #109 by DP(DoomsdayProphet) (@DannyPage) on December 20, 2012 - 5:35 pm

    Legend of Zelda (NES) is great. I wonder if video games just use loops, or do some of them do more intelligent mixing?

    http://labs.echonest.com/Uploader/index.html?trid=TRZKTKE1391CF1238E

  70. #110 by mavin773 on December 21, 2012 - 4:35 am

    I love it. I just wish it didn’t crash chrome. Yes, I cleared my cache and reloaded the page. I even attempted to see if I could get something from the console to tell me why it crashes but I got nothing. I also tried using Chrome Canary and a recent Chromium build, and I got mixed results with it crashing more often than working. I would really love to try out this song that I uploaded. http://labs.echonest.com/Uploader/index.html?trid=TRMNNPV13BBB6C17C1 however it never is able to move past the “Calculating pathways through song…” stage and promptly crashes then.

    I hope that later, this whole invention could be ported to a wholly client side based piece of software, or some kind of open source project. It would be fun since I can see the uses of this particular innovation being a major boon to mashup artists and those who would like to lengthen or shorten songs for their own purposes like YouTube videos.

    The work is really impressive to me. I love it!

    • #111 by mavin773 on December 21, 2012 - 6:01 pm

      Upon further investigation, I have noticed that works fine on on Mac OSX but it frequently crashes on Windows (version 7). I’m not sure why that is.

  71. #112 by dBLOOD on December 27, 2012 - 1:02 pm

    Listen guys. It’s fine if you are afraid of sued by the copyright-jerks, or you don’t want to enable people to use this as a real jukebox by enabling it to run in the background, it’s fine, I understand. But please, don’t try to tell me bullshit like “we are unable to program this stuff that you can use it in the background.” If I have limited acces, it’s fine. If someone obviously thinks I’m stupid, not so much.
    FYI it works fine under chrome, I just wish it would work on a decent browser like Failfox or Opera.

    • #113 by Paul on December 27, 2012 - 1:47 pm

      woah, chill out there Donald. There’s a technical reason why the jukebox doesn’t run in a non-visible tab. It’s because Chrome runs Javascript at a lower priority for these background tabs. You can always run it in its own window and minimize the window if you want to run it in the back ground. As for why is doesn’t run Firefox or Opera, read this post: Why does the Infinite Jukebox only work in Chrome and Safari?

      • #114 by Chris Messina on January 4, 2013 - 8:26 pm

        Works fine in a background tab in Safari Version 6.0.2 (8536.26.17).

  72. #115 by Chris Messina on January 4, 2013 - 8:27 pm

    Have you thought of applying this awesome trick to music videos? Seems like the way videos are cut these days would allow for similar infinite continuity of a given video…

  73. #117 by saymonz on January 10, 2013 - 6:01 pm

    Know what I would love more than Infinite Jukebox? Standalone desktop version of Infinite Jukebox :D! Any chance to have that anytime soon?