3 ms·
Looks nice! I made one of these, but with drum machine samples instead, back when <audio> elements were the new shiny thing. You might want to look into adding
by BHSPitMonkey 3y ago
Looks nice! I made one of these, but with drum machine samples instead, back when <audio> elements were the new shiny thing.
You might want to look into adding a DynamicsCompressorNode near the end of your web audio stack; it should help with the clipping issues you're getting whenever there's polyphony going on.
- farmeroy 3y agoThanks! Yes, the sine waves really build on each other and have unpredictable volumes. I'll try the DynamicsCompressorNode out