News for hackers. Stuff that matters.

roman_zeyde

Re:Audio Modem Communication Library in Python on Monday June 18, 2018 @03:04PM (#17340808)
Unfortunately, VoIP doesn't allow reliable OFDM communication... It's preferable to transmit and receive the audio as-is (without any compression).
Re:Audio Modem Communication Library in Python on Monday June 18, 2018 @04:01AM (#17336596)
Thanks, great to hear :)
Re:Audio Modem Communication Library in Python on Monday June 18, 2018 @02:34AM (#17336335)
QAM is using both carrier's amplitude and phase to encode information, so I/Q can be thought as [1]:

  I = amplitude*cos(phase)
  Q = amplitude*sin(phase)
[1] http://whiteboard.ping.se/SDR/IQ
Re:Audio Modem Communication Library in Python on Monday June 18, 2018 @01:21AM (#17336143)
The original goal was transmitting ~10kB in a few seconds over an audio cable, so I didn't try to improve the transmission speed much further. I guess that adding error correction coding will allow increasing the highest possible bit-rate (currently I'm using only CRC-32 for error detection).
Re:Audio Modem Communication Library in Python on Sunday June 17, 2018 @05:16PM (#17334379)
Thanks a lot, I definitely agree :)

I didn't try Google Nearby, since I was developing the modem to run on a desktop machine (but later I've created a simple Android app [1], supporting the lowest bit-rate).

Unfortunately, I don't have a working web-based version of my modem...

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

Re:Audio Modem Communication Library in Python on Sunday June 17, 2018 @04:24PM (#17334154)
Nice idea :)

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

Re:Audio Modem Communication Library in Python on Sunday June 17, 2018 @04:23PM (#17334151)
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 on Sunday June 17, 2018 @04:15PM (#17334104)
Thanks :)
Re:Audio Modem Communication Library in Python on Sunday June 17, 2018 @04:08PM (#17334065)
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 on Sunday June 17, 2018 @04:04PM (#17334030)
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 on Sunday June 17, 2018 @02:19PM (#17333544)
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 on Sunday June 17, 2018 @02:17PM (#17333533)
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 on Sunday June 17, 2018 @02:14PM (#17333524)
~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 on Sunday June 17, 2018 @01:43PM (#17333365)
Author here, thanks for posting this :)

Would be happy to answer any question.

Re:Ask HN: Alternatives to Yubikey? on Tuesday June 13, 2017 @11:23AM (#14545447)
I can suggest using TREZOR and Ledger Nano S hardware devices for common GnuPG operations, e.g. signatures and decryption.

Please take a look at https://github.com/romanz/trezor-agent/blob/master/README-GP... for more details.

Disclosure: I am the main developer of this project.