Giter Club home page Giter Club logo

Comments (5)

brian-armstrong avatar brian-armstrong commented on May 18, 2024

Well, it's hard to guess precisely what might cause this. Just to be sure, you're running the text transmit/receive example with the audible profile? Which browser are you using to receive with?

In my experience with using iPhone -> desktop/laptop, I'd say I've had pretty good luck with both profiles. It helps to make sure that the iPhone's speakers are pointed directly at the microphone on your computer, if possible. Transmission via echo/reverb is possible but less reliable. I'd also generally recommend trying quieter volumes rather than louder ones. Are you trying this in a location with a lot of ambient noise?

from quiet-js.

jonroig avatar jonroig commented on May 18, 2024

Hey man... thanks for the quick response.

I'm sending with an iPhone, receiving on a MacBook Pro, audible profile... and yeah, but really, this is a more of a generic question, since if I use quiet.js in my project, it'll apply to a wide range of different phone to computer-type scenarios. I'm looking for an easy way to send a short blast of data super reliably from a small tinny speaker without too much concern for transmission time.

Basically, my goal is to use something like quiet.js to initiate a connection between a phone and a computer, then connect them up more permanently behind the scenes. Sure, I could use QR codes to bridge that gap -- and I might -- but there's something super cool about quiet.js, it'd be a lot more fun to transmit a guid via audio then through the screen / webcam hookup.

Maybe what you've built is overkill for what I need? Is there some area of your lab page that I should explore a bit?

Regardless, it's been fun playing with this project... thanks for making it!

from quiet-js.

brian-armstrong avatar brian-armstrong commented on May 18, 2024

Just to be clear, are you testing with https://quiet.github.io/quiet-js/index.html or https://quiet.github.io/quiet-js/lab.html ? The lab is currently only intended for "self" tests where the receiver and transmitter are the same. The lab numbers each frame so that it can track error and transmission rates, and there's presently no way of synchronizing this information, so it isn't possible to use the lab across devices, although getting that functionality is on my TODO list for sure.

I think your intended use sounds like a good match. I imagined that quiet could be used as a sort of audible QR code specifically, and I think it should work well that way. I imagine you could have the phone periodically send frames containing the guid until the remote API endpoint you've written tells it that another device has received it, or something like that.

Thank you for the kind words. If you get your project working, please do let me know, it sounds interesting.

from quiet-js.

jonroig avatar jonroig commented on May 18, 2024

Yup. That's exactly my plan - send out bursts until the receiver registers a "hit." At that point, I'll signal back to the original client using sockets that it's all good and the connection has been made.

I'm testing with https://quiet.github.io/quiet-js/index.html
I did get it that working - it turned out to be something with my Chrome browser itself on the receiving end, so that's all good.

I'll just go with the regular "audible" profile for now, see how it goes.

from quiet-js.

brian-armstrong avatar brian-armstrong commented on May 18, 2024

Glad to hear you got it. The configuration on the receiver side is a little tricky. If there's anything that I can change to make that easier, please let me know

from quiet-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.