Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for sound projects #39

Open
dalelane opened this issue Sep 20, 2021 · 0 comments
Open

Support for sound projects #39

dalelane opened this issue Sep 20, 2021 · 0 comments

Comments

@dalelane
Copy link
Collaborator

I think we should be able to get sound projects working, in the same way that we've got image projects working with TensorFlow.js in an embedded WebView.

I tried to lay the groundwork for that in the way I added image support, so it should... in theory... be an incremental step on that.

The bit I'm not sure about is whether the browser running in the WebView will get access to the device microphone (I didn't try doing that for images - using the native AppInventor camera support and throwing the data at the webview instead).

It will be much more difficult if we can't do that, as all of the audio encoding stuff is in the JavaScript library - we won't want to re-invent the audio encoding on the Android/Java side, so the feasibility of doing sound project support will come down to whether we can let a WebView play with the phone microphone.

Assuming that is possible, the rest should be easy.... I think?
Worth a try at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant