UK & world technology
Sign inJoin us
TechBlastTechnology. Unpacked.UK & world technology
← Latest news

From Dev.to

Web Audio plays my sample once. Why does the second MIDI hit fail?

Reuse the decoded AudioBuffer. Give each hit its own playback node. The first press of a pad works. The second brings up InvalidStateError on start(). If both calls use the same AudioBufferSourceNode,...

Read the full report at Dev.to ↗