var ctx = new webkitAudioContext();
pw = ctx.createWaveshaper();
Run Code Online (Sandbox Code Playgroud)
每次我在Google Chrome中使用CreatePeriodicWave()时,我都会得到
SyntaxError: Failed to construct 'PeriodicWave': invalid real array
Run Code Online (Sandbox Code Playgroud)
我应该在函数中放置什么来避免这个错误?