4 ms·
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 underne
by fenomas 6y ago
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!
- heldrida 6y agoThanks, I'll use it!