web-audio-api
web-audio-api copied to clipboard
React native
Hi,
Great library ! Do youu think it would be possible to use it with react native ? How would you proceed with the "connect" bit in order to connect it to the speaker output of a phone?
@tom-s Why wouldn't you use the regular Web Audio API?
I wish i could but i don't think the web audio api is implemented in react native.
2016-04-26 17:36 GMT+02:00 Brad Isbell [email protected]:
@tom-s https://github.com/tom-s Why wouldn't you use the regular Web Audio API?
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/sebpiq/node-web-audio-api/issues/55#issuecomment-214785806
Why make a native app at all? Why not just wrap a normal web page, if you must have a presence in an app store?
I might be wrong, but i think embedding a webview using web audio html5 api is not gonna work. My requirement is to make a native app, so normal webpage is not a solution for me.
@tom-s Where does your requirement to make a native app come from? It sounds kinda like you would consider using a webview if you thought it would work (and I personally don't know why it wouldn't)
In webview it is impossible to get mic input, at least in iPhones, and also there might be trouble getting sound if the phone is in silent mode. In all other aspects I don’t see reasons why webview should not work, web-pages with web audio api def work.
WebView equivalents on iOS and Android both use the WebKit engine, which implements some version of the Web Audio API.
It looks as if in 2020 Android/iOS have still not made the WebAudio API available as a direct API without loading the entire chrome/safari instance. Facebook closed a request from last year, so it's clear the corpseorations are not planning on doing this any time soon. This library would prove revolutionary if ported to RN. We could finally build instruments that work on all platforms. Right?