I am current learning web audio api (issues)

i use gitHub code and paste it my local machine and i also download audio in same folder but audio is not playing. i used this code https://github.com/mdn/learning-area/blob/master/javascript/apis/introduction/web-audio/index.html

Ok now i got it solution this server issue i not used server for this

@digitalparesh perfect, glad you figured it out!

You’ll need to use a local web server to test any code that fetches a resource via your JavaScript. So for example you’ll comes across the same issue with Fetch and XMLHttpRequest.

1 Like

Now I am working on server not local machine thank you i don’t repeat this mistake while learning fetch