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

Ultrasound support? #24

Open
matthewsanders opened this issue Feb 4, 2022 · 1 comment
Open

Ultrasound support? #24

matthewsanders opened this issue Feb 4, 2022 · 1 comment

Comments

@matthewsanders
Copy link

This is a great project! Thank you for sharing!

What would be required to use this library in the inaudible ultrasound range?

I have been evaluating a few different libraries and most provide a way to configure the frequency range and support inaudible communication. They all have down sides, however, so I am trying to find the solution with the most robust implementation and I find qrtone to be promising in this regard.

I would prefer to use the wasm library so if I need to make a custom build I would appreciate any build instructions you may have for this.

Also is there a limit to the payload size that can be sent? I would like to be able to basically send files between devices.

Thank you!!

@nicolas-f
Copy link
Member

Hi,

Thanks for your interest in QRTone.

The frequencies are defined in the qrtone.c file, you could use the 16khz-20khz range for mostly inaudible communication.

The transfer rates of data over audio (through air not wires) are quite low (1 byte each 85 ms).
When using data-over-audio, only the "link" should be sent, the receiving phone would use internet in order to download the file content.

There is another library with javascript support:

https://quiet.github.io/quiet-js/

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

2 participants