Live data from Hacker News

Bubble Sorted Amen Break

parametricavocado.itch.io

21–30 of 127 posts

Re: Bubble Sorted Amen Break

#21
post #2

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

And a tragic story at that: >Coleman died homeless and destitute in 2006. It was unlikely he was aware of the impact he had made on music. Neither he [band leader Spencer] nor Coleman received royalties for the break.

A reminder that your society will be judged not on how the most fortunate lived but how the least fortunate lived. Context still matters but there's a meaningful difference between "Anne Brontë died of Consumption (Tuberculosis), at that time there was no cure" and "Dave died of TB, he couldn't afford the cure at current market prices".

Re: Bubble Sorted Amen Break

#23

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

Yup, this is essentially what the original concept of the Jungle genre was built around. Chop up the Amen Break, mix the notes(?) around, repeat them as you see fit, and add other samples/vocals around the drum patterns you've created.

A couple favorites from the 90s:

https://youtu.be/mL2Bgj-za5k?si=fhXHhNGjA-RZkiD7

https://youtu.be/a5meT63flnM?si=ggvypNCFfUUq3Qxq

Re: Bubble Sorted Amen Break

#25
post #4

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.

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.

Re: Bubble Sorted Amen Break

#26
post #15

Earlier quoted context omitted.

iOS seems to mute the web audio apis when the phone is in silent mode (the switch on the side of the phone). If you toggle it on, then this site (and many others) play sound. I have no idea why it works this way and it’s frequently annoying.

Why wouldn't it work that way? Whether it's a hardware toggle like on iPhone or a software one like in Android, I want silent to mean silent . Not "silent but if a web page decides to play sound it can".

There is some amount of the "Focus follows brain" problem here. What we want is for things to do what we meant, all the time, and in this case it's very possible that the visitor wanted to hear the music. It is not practical (without yet to invented technology) for that to work so we have a substitute - there's a switch and you should remember to press it.

"Focus follows brain" is how everybody wants windowed UIs to work. When I type on the keyboard the letters go where my brain thought they should go - duh, but of course that's unimplementable, so the Windows UI provides "Click to focus" - if I click on a Window the typing goes there until I click another window, meanwhile some Unix systems do "Focus follows Mouse" - if I move the mouse over a Window then my typing goes there even without clicking. Neither is what we actually wanted, both are trying to approximate.

Re: Bubble Sorted Amen Break

#27
post #7
post #4

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.

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?

Re: Bubble Sorted Amen Break

#29
post #4

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 each time through, with the former shrinking and the latter growing.

Re: Bubble Sorted Amen Break

#30
post #15

Earlier quoted context omitted.

iOS seems to mute the web audio apis when the phone is in silent mode (the switch on the side of the phone). If you toggle it on, then this site (and many others) play sound. I have no idea why it works this way and it’s frequently annoying.

Why wouldn't it work that way? Whether it's a hardware toggle like on iPhone or a software one like in Android, I want silent to mean silent . Not "silent but if a web page decides to play sound it can".

The phone will still make sound if I launch a music app, why is a web page different?

And I hate web pages making sound! But the UX is confusing, and it’s changed over the years, seemingly without reason.

Iphones now have a software toggle as well, which may have coincided with the shift from “mute ringer” to “mute (almost) everything” that came with the multifunction button.

Post reply on HN