bbc / r-audio

A library of React components for building Web Audio graphs.
Other
179 stars 14 forks source link

Safari and webKitAudioContext #2

Closed jamesopstad closed 5 years ago

jamesopstad commented 5 years ago

This is a great library and just what I was looking for to better integrate Web Audio with React. At the moment, however, is doesn't work at all with Safari as this still uses webKitAudioContext and has various other differences with the spec. You may want to look at https://github.com/cwilso/AudioContext-MonkeyPatch/ if you're interested in cross browser compatibility.

jakubfiala-bbc commented 5 years ago

Hey @jamesopstad – sorry for replying so late, for some reason I didn't get an email notification for this. Thanks for pointing this out, I'll fix this right away and let you know once it's published!

jakubfiala-bbc commented 5 years ago

@jamesopstad this should now be fixed in r-audio v1.2.0 and published on npm. Please bear in mind a lot of the nodes r-audio supports are not supported in Safari, so you may have trouble running some of the examples.