-
Notifications
You must be signed in to change notification settings - Fork 68
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
interest in serial over audio using webjack? #57
Comments
Hi Jeffrey,That sounds really interesting! I think it would be great to try. There is the possibility that it will work on mobile devices that support WebRTC as well!Please let me know how I can help.. (I have experience with WebRTC but not much in the way of audio processing)BestShawnOn Mar 2, 2020 5:29 PM, Jeffrey Warren <[email protected]> wrote:Hello, I am one of the developers of WebJack (https://github.com/publiclab/webjack) and love your library. I was curious if you'd be interested in an audio connection implementation of this lib, which would wrap WebJack and allow for connecting using the browser's WebRTC microphone API. It's not as solid as your implementation but is nice because it requires no app, and works on phones.
I think making a WebJack wrapper offer exactly the same methods as p5.serialport would be pretty easy, but wanted to ask if you're interested in this first. Otherwise I think I could refactor the simple example i have to at least match p5.serialport: https://p5js.org/examples/interaction-arduino-sensor-data-via-webjack.html
Thanks!
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Awesome, thanks for replying! My first thought was to try to split out the constructor, maybe here, and just substitute a wrapper around WebJack that has the same But given that there is a lot of websockets based code higher up, this maybe isn't a bad place. On the other hand, if our goal is to just make it easy to switch, maybe not mixing the code up but instead offering a Thanks again! |
In terms of API to be compatible with, these three methods seem most important:
However, maybe we'd want to create a simple one for |
Hello, I am one of the developers of WebJack (https://github.com/publiclab/webjack) and love your library. I was curious if you'd be interested in an audio connection implementation of this lib, which would wrap WebJack and allow for connecting using the browser's WebRTC microphone API. It's not as solid as your implementation but is nice because it requires no app, and works on phones.
I think making a WebJack wrapper offer exactly the same methods as p5.serialport would be pretty easy, but wanted to ask if you're interested in this first. Otherwise I think I could refactor the simple example i have to at least match p5.serialport: https://p5js.org/examples/interaction-arduino-sensor-data-via-webjack.html
Thanks!
The text was updated successfully, but these errors were encountered: