Cracked – Method chaining/CSS-style selector web audio library

by stephenhandleyon 5/16/2025, 2:46 AMwith 23 comments

by freeamzon 5/16/2025, 4:23 AM

Hmm seems like the jQuery of Web Audio API? How are the browser support on mobile?

Edit: with a bit pure data flavor mixed in... super nice!

by naileron 5/16/2025, 3:53 AM

Just in case you scrolled past it, the live demo was in the github website link:

https://idroppedmyphonethescreencracked.tumblr.com/

by stephenhandleyon 5/16/2025, 2:46 AM

WebAudio-based library that provides quick way to set up a web audio graph.

Desktop wrapper: https://github.com/billorcutt/Cracked

Cat examples: https://idroppedmyphonethescreencracked.tumblr.com/

by weszon 5/16/2025, 3:08 AM

This is brilliant! I'm gonna use it to prototype synths for my drum patterns/bass lines website.

by xipixon 5/16/2025, 5:50 AM

Can it handle "nodes" that emit a different number of audio samples than they consume?

I'm thinking of time stretch effects like mine https://github.com/bungee-audio-stretch/bungee

by chaosprinton 5/16/2025, 9:09 AM

if you are looking for some performant declarative web audio lib in js, check:

https://glicol.js.org/

it's ported from Rust

by tristanMatthiason 5/16/2025, 5:10 AM

Would love to plug this into https://synthia.app

by phantomathkgon 5/16/2025, 4:36 AM

Interesting library with a rather weird name.

by noelwelshon 5/16/2025, 8:33 AM

I find the underlying premise a bit odd. I can name values in Javascript just fine:

const whatever = ...

I would rather refer to them by these names than by strings. It's both faster and safer to do so.

by gitroomon 5/16/2025, 5:47 AM

This is super cool, Im definitely gonna mess around with it for my own synth experiments!