Live data from Hacker News

Audio Modem Communication Library in Python

github.com

11–20 of 41 posts

Re: Audio Modem Communication Library in Python

#11
Btw, is there already a handshake and data protocol for the AI calls via voice to a business phone which happens to be received by another AI? So instead of voice call they try to negotiate using data packets and save some time and clarity.

Re: Audio Modem Communication Library in Python

#14

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

Was this inspired by any of the dialup modem protocols?

Indeed, I am using OFDM [1], which uses several carriers, each modulated via QAM [2].

[1] https://en.wikipedia.org/wiki/Orthogonal_frequency-division_...

[2] https://en.wikipedia.org/wiki/Quadrature_amplitude_modulatio...

Re: Audio Modem Communication Library in Python

#15
Awesome project. I used a similar program (minimodem[1]) a while ago to configure Wi-Fi settings via audio [2]. It's great being able to do some basic setting without having a radio connection. Amazon used the same technique in their Dash-Button albeit in the inaudible range [3].

[1] https://github.com/kamalmostafa/minimodem [2] https://www.youtube.com/watch?v=DfSHclXjobY [3] http://www.blog.jay-greco.com/wp/?p=116

Re: Audio Modem Communication Library in Python

#16
post #12

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

I’m wondering, did you build this just to see if you could, or did you have a use case in mind?

Both :)

The initial use-case was performing air-gapped communication for signing Bitcoin transactions [1] on an offline machine.

[1] https://github.com/spesmilo/electrum/pull/964

Re: Audio Modem Communication Library in Python

#17

Awesome project. I used a similar program (minimodem[1]) a while ago to configure Wi-Fi settings via audio [2]. It's great being able to do some basic setting without having a radio connection. Amazon used the same technique in their Dash-Button albeit in the inaudible range [3]. [1] https://github.com/kamalmostafa/minimodem [2] https://www.youtube.com/watch?v=DfSHclXjobY [3] http://www.blog.jay-greco.com/wp/?p=116

Thanks :)

Re: Audio Modem Communication Library in Python

#19

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

Have you tested this software on macos?

No, I've used it only on my Linux machine.

I guess it should also work on MacOS, since it depends on `numpy` [1] and `portaudio19-dev` [2] Debian packages (which should be installable via Pip/Homebrew).

[1] http://www.numpy.org/

[2] https://people.csail.mit.edu/hubert/pyaudio/

Re: Audio Modem Communication Library in Python

#20
post #11

Btw, is there already a handshake and data protocol for the AI calls via voice to a business phone which happens to be received by another AI? So instead of voice call they try to negotiate using data packets and save some time and clarity.

Nice idea :)

However, I'm not aware of any such protocol...

Post reply on HN