quiet / quiet-js

Transmit data with sound using Web Audio -- Javascript binding for libquiet
BSD 3-Clause "New" or "Revised" License
2.2k stars 151 forks source link

Is it possible to use npm mic? #30

Closed thewhobox closed 4 years ago

thewhobox commented 5 years ago

Hey,

i would like to use the npm package mic (or something else) to receive the data. It should run on a Raspberry without browser, so it will listen to the attached microphone and do Things without Display or something else.

I forked the quietjs-bundle and got it work to send data over Speaker and receiving it on my cell phone. But i dont get the mic to work :/

Maybe my solution is completle wrong (i get the mic stream and slice it to the size of samplebuffsize).

Does any one know how i can make this work?

Thanks :)