Hacker News

142

Bubble Sorted Amen Break

by eieio177333563655 comments
I wish it'd play through the whole thing in order at the end
by Retr0id1773341820
(the amen break is one of the most commonly-sampled drum breaks in popular music: https://en.wikipedia.org/wiki/Amen_break)
by eieio1773335636
Cool, but I don't see how it's sorting anything. It just seems to play a randomized arrangement of the slices. You can re-randomize as much as you like but there's no sort option as far as I can see.
by staplung1773336822
My personal prize for the most chopped amen goes to Breakage’s Final mix of Equinox’s Acid Rain VIP. https://www.youtube.com/watch?v=LoKlz6_I4vY
by robin_reala1773338441
I can't help laughing. This is great.

I don't understand the comparison function, but it's really enjoyable listening to the algorithm work out its logic.

by marssaxman1773337423
This deserves the top spot on the front page!

Might I ask for the implementation of other sorting algorithms here?

by nvader1773341469
If you aren’t familiar with the Amen Break, here’s a now classic 18 minute documentary on the Amen Break and its origins and evolution:

https://youtu.be/5SaFTm2bcac?si=J99_Sh9x3fIBCSms

by ykl1773343314
That's a fun two minutes for any computer scientist drum and bass fan.
by exDM691773336728
Automatic chopping has existed for decades, popularised here: https://web.archive.org/web/20051225061044/http://www.cus.ca... https://github.com/mdsp/Livecut See also, dblue Glitch, chrisGlitch, Renoise
by oybng1773338865
Not playing it all the way through at the end is diabolical.
by empath751773340930
It sounds like a Ventian Snares track. Love it.
by sandwell1773337239
-100 points for not having a volume slider.
by jatari1773341542
I would have expected it to be terrible to listen to, but it was pretty nice.
by onionisafruit1773338265
429 Too Many Requests
by ttyyzz1773341901
This is bonkers and I love it.
by evereverever1773339120
Can someone explain the comparison function?
by idontwantthis1773341783
No sound on iPhone. Shame Apple is so hostile to the web. Tragic really.
by braebo1773337679
I need WebGL to play audio on HTML pages now?
by uoaei1773339328
[flagged]
by themarogee1773342560