Had a little downtime, so made a little engine sound experiment using Web Audio API.
7 Oscillators, a wave shaper, and two filters.
Still playing with it, but I think it sounds pretty neat.
The things I do to procrastinate working on actual projects...
Conversation
Notices
-
Embed this notice
Talon (talon@dragonscave.space)'s status on Tuesday, 09-Jan-2024 01:37:05 JST Talon -
Embed this notice
Talon (talon@dragonscave.space)'s status on Tuesday, 09-Jan-2024 01:37:01 JST Talon Do we have a web audio API equivalent but not for the browser? And I do mean both equally powerful but also easy to use?
-
Embed this notice
Talon (talon@dragonscave.space)'s status on Tuesday, 09-Jan-2024 01:37:02 JST Talon And it's not much code at all. Maybe about 160 lines? This is why I love the web audio API. Seriously. It is epic. It has no right being this good, and I'm really not sure why it's in a browser. But I'm not complaining.
GreenSkyOverMe (Monika) repeated this. -
Embed this notice
Talon (talon@dragonscave.space)'s status on Tuesday, 09-Jan-2024 01:37:03 JST Talon There's still some issues. For example I'm pretty sure something with my distortion calculations is slightly off, because it crackles quite a bit when it changes. But adding or removing harmonics is pretty easy, and setting the harmonic multipliers is too, so you can get quite a variety out of it. Maybe a convolver or something to get it to sound better as well, it sounds very dry and unrealistic without it. If I'm bored I might add all that.
-
Embed this notice
Talon (talon@dragonscave.space)'s status on Tuesday, 09-Jan-2024 01:37:04 JST Talon I only played with this for maybe 10 minutes or so. So if I took more time, I could probably get it to sound better. It definitely needs more sculpting. But a lot of it is quite configurable. Maybe I'll drop it somewhere if people want to mess with it.
-
Embed this notice