The HTML cat is out of the Web Audio bag. I've finally released HYPERBLAM.
It’s my system for sampling, processing, and sequencing sound and music directly in HTML.
The HTML cat is out of the Web Audio bag. I've finally released HYPERBLAM.
It’s my system for sampling, processing, and sequencing sound and music directly in HTML.
* This is dependency free. No Tone.js or other dependencies. It's built from the ground up. It has taken... quite a while.
* It’s not a JS library. Nor is it a single Web Audio instrument. It's HTML if HTML was built for sound design and music.
* It's experimental. Not experimental as in "a throwaway idea" but experimental as in made *from* and *for* experimenting. It's my way back into enjoying playing with web tech.
* With support, there's plenty more HYPERBLAM could do.
Oooh thanks, that looks great!!
I found a couple typos:
--> In
<echo-blam
feeback="0.5"
cutoff="2000"
>
</echo-blam>
You meant feedback?
--> there's a dead link in the gain guide: https://hyperblam.how/examples/06-a-light-lo-fi-listen-with-lfos/
@heydon very cool! I hope to have time over the summer to experiment with this!!
Thank you!
@heydon Audio stuff goes way over my head, but I'm going to enjoy reading through this later and play around - I really appreciate you writing the guides with the diagrams and all 🤩
I'm blown away by the website as a whole though, the aesthetic is on point. Love the lil view transitions and SVG filter effects you've got going on. I'm going to need to spend some time in DevTools mode to do some learning for sure.
@heydon this is a piece-of-resistance! I've had great fun playing with the demos on my phone, all working nicely. Will have an extended play later tonight!
You should be very proud of this!
Damn. DOUBLE damn!
Ditto: "You should be very proud of this!"
"Quite some time ..." eeeeya!
@heydon that looks super exciting!
Are there any super minimal examples for people who are not used to writing html pages but want to toy around with this way to interact with the webaudio api?
e.g. html documents which are mostly stuff inside the <audio-blam> </audio-blam> and which start to play right away?
I understand that the interactivity and visualization are helping to show what is happening (also I like the stype of the web page), but at the moment I am wondering if there is UI stuff I need to learn first before I can write down audio sketches in hyperblam.
@fleuron Hi! Thanks for the interest. You can try following this setup page to begin with: https://hyperblam.how/guides/get-started/.
To see how the elements actually work together, I would step through the examples (https://hyperblam.how/examples/)
Let me know how you get on. If it's not easy to use, that's my fault, not yours.
@heydon I really appreciate that you're taking your time.
For me, the current technological barrier is not (yet) understanding how the elements interact, it's more getting a local file to make any sound. The guides and examples look great to expand on once I have a "hello world" kind of html file to start with.
I followed the https://hyperblam.how/guides/get-started/ guide, downloaded the zip, unpacked it. I have a folder where I put my html files and this folder has dist/hyperblam/hyperblam.js.
In my local copy of "I wear many hats", I replaced
<script type="module" src="https://hyperblam.how/static/hyperblam/dist/hyperblam/hyperblam.js"></script>
by
<script type="module" src="dist/hyperblam/hyperblam.js"></script>
This leads to a blinking "...loading" instead of the play button.
Upon inspecting the page, this might be caused by some security feature of my firefox: https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS/Errors/CORSRequestNotHttp?utm_source=devtools&utm_medium=firefox-cors-errors&utm_campaign=default
@heydon thanks for the quick diagnosis. I will look into either running a local server or using some place to host my html file, like codeberg pages.
I'll report back if I encounter anything too scary to tackle alone.
@heydon thanks for the recommendations!
ended up using caddy and managed to make a simple beat with a low pass on the kick, an echo (!) on the snare, and some other effects on a clap and the high hats.
I want to look into the grammar of chains and lfos next, but not today.