phoboslab/underrun

type error in Chrome

kdahlhaus opened this issue · 1 comments

Great article! I get this when attempting to play the game:

Uncaught TypeError: Failed to set the 'buffer' property on 'AudioBufferSourceNode': The provided value is not of type 'AudioBuffer'.
at X_ ((index):24)
at ut ((index):24)
at (index):24

Chrome Version 61.0.3163.100 (Official Build) (64-bit) under Linux Mint

I believe I hit the same issue in Microsoft Edge. It looks like main.js tries to play an audio clip (when printing out "Initiating...") prior to generating it with the Sonant-X API.