Bubble Sorted Amen Break
https://parametricavocado.itch.io/amen-sortingI wish it'd play through the whole thing in order at the end
loading story #47356412
loading story #47356767
loading story #47357262
loading story #47357428
(the amen break is one of the most commonly-sampled drum breaks in popular music: https://en.wikipedia.org/wiki/Amen_break)
loading story #47354423
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
loading story #47355426
loading story #47356913
loading story #47355130
loading story #47355841
loading story #47355654
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.
It randomizes slices of the sample and begins to play the slices in the random order. Meanwhile it begins the bubble sort algorithm at a pace that matches the tempo, sorting the slices into their chronological order. Throughout, it only plays the unsorted slices. (I was kinda hoping it would play the sorted sample at the end.)
I actually wanted it to play them as it went, so that it would be <unsorted><sorted> each time through, with the former shrinking and the latter growing.
The idea is that it slices the Amen Break into however many slices you specify, and the list being sorted is the indices for those slices. At each step, it plays the slice the pivot is being compared to.
Because it only plays the samples being compared, it never plays the sorted chunks, so it's missing a "punchline" of sorts.
loading story #47357727
You're right. It doesn't play the sorted parts, which is strange. I expected to have a series of random-then-controlled slices with the random part getting shorter and the controlled part getting longer, but it really is just a shortening loop of random beats.
Would have been cool if it played the sorted ones at the end as a final run through victory lap
Did you play it to the end? It's absolutely sorting from smallest to largest. Unless you have a confused understanding of a bubble sort, it's doing a bubble sort
So it's sorting from earliest to latest, really?
The value that is being sorted isn't obvious to me. It's obvious that it is sorting it. I'm guessing maybe some dB level of each of the hits/notes. If that was the case, I'd expect the initial unsorted view to line up with the pattern of the waveforms which is not the case. Maybe it's just an unsorted list of values sorted in sync to the rhythm. It's weird though that the segment corresponds to a segment of the audio. I just don't see how they are linked.
It's sorting by index of the slice. Pressing "shuffle" jumbles the slices up. So it puts the slices of the break back in the correct order. You never hear the result.
Set it to 8 slices and it becomes easy to see what it's doing: look at the waveform and the now-playing highlight jumping around.
Give it a minute or two.
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.
loading story #47354582
That's a fun two minutes for any computer scientist drum and bass fan.
This deserves the top spot on the front page!
Might I ask for the implementation of other sorting algorithms here?
This afternoon I was getting the oil changed for my car, and while I was in the waiting room the Amen Break started playing from a nearby speaker.
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
loading story #47355269
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:
Different bubble sort
https://www.youtube.com/watch?v=m4EMG63W388
Or types of sorts
This is unreasonably fun.
Not playing it all the way through at the end is diabolical.
tbh i expect it to be much more interesting if doing other kind of sorts
It sounds like a Ventian Snares track. Love it.
I would have expected it to be terrible to listen to, but it was pretty nice.
loading story #47354892
This is bonkers and I love it.
429 Too Many Requests
No sound on iPhone. Shame Apple is so hostile to the web. Tragic really.
loading story #47354656
loading story #47355746
-100 points for not having a volume slider.
Can someone explain the comparison function?
Can we get an Amen quicksort now?
[flagged]