문제

I looking now at this article and it interested me, but unfortunately the real examples of HTML5 Web Audio Filters are not working. Can anyone please help me to sort it out, what is the problem, because I want to evaluate and work with this example.
Thank you in advance!

도움이 되었습니까?

해결책

Sure, just look in the console and you'll see the errors. Around line 595 of index.html, it's failing because the article is using the old deprecated types for biquadfilter - numeric values - and it needs to be changed to use the new string-based values. (I.e. a value of "3" - the default lowshelf filter - needs to be passed into currentFilterType as "lowshelf".) See http://webaudio.github.io/web-audio-api/#the-biquadfilternode-interface.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top