小编Pac*_*Dev的帖子

Google Chrome中createPeriodicWave()的参数是什么?

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)

我应该在函数中放置什么来避免这个错误?

javascript google-chrome html5-audio web-audio-api

6
推荐指数
2
解决办法
1343
查看次数