Settings

Theme

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

github.com

92 points by stephenhandley 7 months ago · 27 comments

Reader

freeamz 7 months ago

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!

  • jeremyleach 7 months ago

    This is wonderful - a very immediate and intuitive way to construct and create audio graphs!

nailer 7 months ago

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

https://idroppedmyphonethescreencracked.tumblr.com/

stephenhandleyOP 7 months ago

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/

wesz 7 months ago

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

xipix 7 months ago

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

chaosprint 7 months ago

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

https://glicol.js.org/

it's ported from Rust

tristanMatthias 7 months ago

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

  • stephenhandleyOP 7 months ago

    cool app. maybe its already possible but i'm missing how but would be awesome if dragging a new node between an existing connection it would automatically insert it between the nodes to avoid the steps to disconnect / reconnect

  • jeremyleach 7 months ago

    Nice app!

phantomathkg 7 months ago

Interesting library with a rather weird name.

  • mattigames 7 months ago

    Its just social engineering to make people who drop their phones get involved in audio creation.

noelwelsh 7 months ago

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.

  • zamadatix 7 months ago

    This provides ID + class based selection of nodes with a syntax which allows combining multiple filters. It's more akin to the methodology of selecting nodes in the DOM than just providing a name alone.

gitroom 7 months ago

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

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection