Bubble Sorted Amen Break

eieio 297 points 91 comments March 12, 2026
parametricavocado.itch.io · View on Hacker News

Discussion Highlights (20 comments)

eieio

(the amen break is one of the most commonly-sampled drum breaks in popular music: https://en.wikipedia.org/wiki/Amen_break )

exDM69

That's a fun two minutes for any computer scientist drum and bass fan.

staplung

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.

sandwell

It sounds like a Ventian Snares track. Love it.

marssaxman

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.

braebo

No sound on iPhone. Shame Apple is so hostile to the web. Tragic really.

onionisafruit

I would have expected it to be terrible to listen to, but it was pretty nice.

robin_reala

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

oybng

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

evereverever

This is bonkers and I love it.

uoaei

I need WebGL to play audio on HTML pages now?

empath75

Not playing it all the way through at the end is diabolical.

nvader

This deserves the top spot on the front page! Might I ask for the implementation of other sorting algorithms here?

jatari

-100 points for not having a volume slider.

idontwantthis

Can someone explain the comparison function?

Retr0id

I wish it'd play through the whole thing in order at the end

ttyyzz

429 Too Many Requests

ykl

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

ge96

Different bubble sort https://www.youtube.com/watch?v=m4EMG63W388 Or types of sorts

Negitivefrags

Can we get an Amen quicksort now?

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed