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

Let me introduce you to a good time.

Step 1: https://strudel.cc/workshop/getting-started/ . Click play on coastline" @by eddyflux

Step 2: Listen for a while

Step 3: setcps(.75) -> setcps(1.5)

Step 4: Listen :)

That is the extent of my strudel knowledge, but damn this is cool.



I was trying to make it automatically randomly choose between the normal speed and twice speed after a long time. I think appending

.fast(chooseCycles(1, 2).slow(128))

at the very end does it. But I'm not actually sure. Would a strudel user mind informing me how this is done? Also, I was hoping to make it automatically shift the key, but I couldn't figure it out.


Kind of - that's switching between a fast version and a slow version of the track though if that makes sense, rather than changing the global tempo, so you'll get discontinuities in the music.

You can change the global tempo with something like

.cps("[0.75|1.75]")

and make it happen less often like

.cps("[0.75|1.75]/8")


Sadly doesn't even run at all on safari. "Importing a module script failed." :(


Also worked find on my Safari 18.6

uBlock/uMatrix perhaps? At least that was for me the issue on Firefox.


Running fine here on Safari 26.1 (Tahoe 26.1).


NOOOOOO!!!




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

Search: