Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Reminds me of a cool hackathon project I saw a few years ago, The Infinite Jukebox. It finds pairs of beats in a song that sound alike and during playback has a chance at each beat with of jumping to its paired match, creating a seamlessly looped version of the song with added novelty from verses and choruses having varying order and length.

The original hack, done on song that works particularly well, is still up: http://infinitegangnamstyle.playlistmachinery.com

The playback code often gets stuck looping the first beat when loaded for the first time or when the tab loses focus, which is fixed by reloading.

It works quite well on songs with repetitive elements and instrumentation divided cleanly between beats. The original site for submitting arbitrary songs is broken, but a fork is hosted by someone else. Here with an instrumental piece it works well on: https://eternalbox.dev/jukebox_go.html?id=1LaCW0R8Q7oIY3tKtD...

An interesting series of posts on the creator's blog explains it works, how it interacts with the structure of pop songs, and how the parameters can be tuned for individual tracks.[1] And it's open source,[2] though the beat splitting is based on an API from (a company since purchased by) Spotify. It seems that once the initial processing is complete, the playback is purely client-side; this is probably why snapshots of the site at archive.org are fully functional, quite remarkably for such interactive content.[3]

There's also a variant where one playback 'needle' skips to similar parts of the track and one plays straight through, so that verses and choruses overlap as in a canon: https://eternalbox.dev/canonizer_go.html?id=7GhIk7Il098yCjg4...

[1] https://musicmachinery.com/2012/11/12/the-infinite-jukebox/

[2] https://github.com/UnderMybrella/EternalJukebox

[3] https://web.archive.org/web/2016/http://labs.echonest.com/Up...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: