Comments (5)
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.
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.
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.
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.
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)
- How to prevent Module clobbering with Aubio.js another Emscripten lib? HOT 1
- Tuning Quiet for Reliable Low Bitrate Whisper HOT 5
- Is it possible to use npm mic?
- too quiet :D HOT 6
- Ultrasound more powerful HOT 2
- Empty text + click Send makes the button permanently disabled
- Instructions to use locally HOT 3
- Will it work in headless browser?
- "sendtext" example doesn't work HOT 1
- Online demo doesn't work on mobiles HOT 2
- Usage with React HOT 1
- Sample/demo of FSK HOT 2
- React Native HOT 1
- Demo text receiver doesn't work HOT 1
- quietjs splits message into frames in audible mode HOT 1
- Unable to run the example send text code on server HOT 1
- Demo text receiver doesn't show the text that I sent
- Big problem: all mobile browsers do not support (i.e. are blocking) ultrasonic frequencies HOT 1
- Safari mobile support HOT 1
- Online demo is more powerful HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quiet-js.