mdn / webaudio-examples

Code examples that accompany the MDN Web Docs pages relating to Web Audio.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API
Creative Commons Zero v1.0 Universal
1.28k stars 433 forks source link

Add audioworklet example #50

Closed wbamberg closed 3 years ago

wbamberg commented 3 years ago

This is for https://github.com/mdn/content/issues/6426 - the page on "Using AudioWorklet" (https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API/Using_AudioWorklet) has an example hosted on Glitch, that's broken. Rather than fix the Glitch example, it would be better to move it into this repo (see also https://github.com/mdn/content/pull/6428#pullrequestreview-695290146).

This PR also fixed all the links in this repo's README.

I haven't made any more substantial efforts to improve the example - apart from applying @sideshowbarker 's fix, fixing one unrelated problem with the CSS, and removing some old logging code, I've just copy/pasted it and checked it works.

sideshowbarker commented 3 years ago

I’d merge, but I don’t have write/push perms here…

wbamberg commented 3 years ago

You can see the example running at https://wbamberg.github.io/webaudio-examples/audioworklet/.

teoli2003 commented 3 years ago

@rumyra, I think you have write access here, can you help them?

Rumyra commented 3 years ago

I'm going to create a 'Peers' team this week which will give people write access to our highest activity demo repos 👍

wbamberg commented 3 years ago

Thanks for merging, Ruth! I filed https://github.com/mdn/content/pull/6819 to update the MDN page.