test("should stop a BufferSourceNode immediately", () => {
            sampler.onChange(["audioData", buffer]);
            sampler.onChange(["note", note]);
            expect(sampler["queue"][0].$stateAtTime("00:01.000")).toBe("PLAYING");