chrome的The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.
添加这个监听事件
document.documentElement.addEventListener("mousedown", () => {
if (context.state !== "running") context.resume();
});