Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Wafxr – sound effect generator for WebAudio (andyhall.github.io)
6 points by fenomas on July 8, 2020 | hide | past | favorite | 6 comments


Great work you have here! Thanks for sharing!


Thanks much! I hope it saves a few souls from the endless frustration of dealing with low-level WebAudio APIs ;)


I'm actually thinking that I can use it in a project for an artist who's collaborating with a museum - it's a sort of clone of radio.garden, at the moment I've got a white noise placeholder (I know it sounds like crap) but the goal is to manipulate the sound while "tuning the radio station" (https://www.punkbit.com/prototyping/world-radio-tuning-dial/)

I also think that your skills are very welcomed to Audiokit (http://audiokit.io/), it's not Javascript but you can use Swift lang, check it out!


Ah, I see what you mean yeah... if you're already familiar with low-level audio, you might find it more useful to look at `wasgen`, which is the library underneath wafxr. It's harder to use but much more general. You basically give it an array of objects describing the sounds you want, like:

    { type: 'n0', /* white noise */
      gain: { a:0.1, s:0.5, d:0.5, r:0.1 }, /* asdr envelope */
    },
And it makes all the nodes and applies the envelopes and cleans up afterwards, etc. Wafxr is basically a friendly UI for it, but for what you're doing I guess you'd prefer to be scripting the sounds directly.

Audiokit looks very cool, I don't have any apple devices but I'll keep an eye on it!


Thanks, I'll use it!


Very nice




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

Search: