Live data from Hacker News

Audio Modem Communication Library in Python

github.com

1–10 of 41 posts

Re: Audio Modem Communication Library in Python

#3

Author here, thanks for posting this :) Would be happy to answer any question.

Very cool concept! Radio stations used to share software over the airwaves by using something like this.

How long would it take to transmit a 3MB jpeg and then encode it,?

Re: Audio Modem Communication Library in Python

#5

Author here, thanks for posting this :) Would be happy to answer any question.

In your experience, how reliable is the communication between 2 devices when using speakers and microphone (no cable) at distance ~3 meters? What bandwidth do you typically achieve in such conditions?

Re: Audio Modem Communication Library in Python

#6

Author here, thanks for posting this :) Would be happy to answer any question.

In your experience, how reliable is the communication between 2 devices when using speakers and microphone (no cable) at distance ~3 meters? What bandwidth do you typically achieve in such conditions?

~3 meters is indeed quite a challenging scenario. I've tested it with the lowest bit-rate supported (1 kbps), but it doesn't work reliably.

You can try my Android app [1] to reproduce the experiments for short transmissions.

[1] https://play.google.com/store/apps/details?id=bit.zeyde.audi...

Re: Audio Modem Communication Library in Python

#7
post #4

Author here, thanks for posting this :) Would be happy to answer any question.

Can work above the audible spectrum?

Currently, it does not - mainly because I've tried to use all available bandwidth (to increase the bit-rate).

Please take a look at https://github.com/quiet/quiet-js for an ultrasonic data transmission.

Re: Audio Modem Communication Library in Python

#8
post #3

Author here, thanks for posting this :) Would be happy to answer any question.

Very cool concept! Radio stations used to share software over the airwaves by using something like this. How long would it take to transmit a 3MB jpeg and then encode it,?

Thanks!

Using an audio cable (for better SNR), I have managed to achieve and sustain 60kbps for long periods time - so 3MB file should take ~7 minutes to transmit.

Re: Audio Modem Communication Library in Python

#9

Earlier quoted context omitted.

In your experience, how reliable is the communication between 2 devices when using speakers and microphone (no cable) at distance ~3 meters? What bandwidth do you typically achieve in such conditions?

~3 meters is indeed quite a challenging scenario. I've tested it with the lowest bit-rate supported (1 kbps), but it doesn't work reliably. You can try my Android app [1] to reproduce the experiments for short transmissions. [1] https://play.google.com/store/apps/details?id=bit.zeyde.audi...

Nicely done, I'll note for the readership here that a similar technique works fine at 300 baud across the room using FSK.

Something you might consider is to write a web camera backend for it and use the screen/webcam. That has a lot more bandwidth and has higher SNR as the selector effect of the web camera is so much better than that of a microphone.

Re: Audio Modem Communication Library in Python

#10
post #9

Earlier quoted context omitted.

~3 meters is indeed quite a challenging scenario. I've tested it with the lowest bit-rate supported (1 kbps), but it doesn't work reliably. You can try my Android app [1] to reproduce the experiments for short transmissions. [1] https://play.google.com/store/apps/details?id=bit.zeyde.audi...

Nicely done, I'll note for the readership here that a similar technique works fine at 300 baud across the room using FSK. Something you might consider is to write a web camera backend for it and use the screen/webcam. That has a lot more bandwidth and has higher SNR as the selector effect of the web camera is so much better than that of a microphone.

FSK across the room? Does that have noise restrictions?

I’ve found all the phase modulation schemes work poorly across the room. DSSS works ok but is very slow. I would be curious how reliable FSK is in that situation.

Post reply on HN