5 ms·
Send Data with Sound
- vbekkerm 2y agoi thought the MODEM days were behind us...
- jhbadger 2y agoAnd of course audio tapes were a common way of storing computer data in the 1970s and 1980s.
- pdh 2y agoCool to see this done with webaudio. Reminded me of https://github.com/ggerganov/ggwave https://github.com/ggerganov/ggwave
- HelloUsername 2y agoDiscussed on 24-feb-2025, 69 comments https://news.ycombinator.com/item?id=43162793 https://news.ycombinator.com/item?id=43162793
- knorker 2y agoTurning data into audio is a big thing nowadays with amateur radio. Ironic that the author overlaps so much with that field, without noticing that they chose the same name as probably the most used amateur radio programmer in the world. If you're interested, the state of the art is VARA. It's closed source though, so NinoTNC may be a more interesting choice.
- jedimastert 2y agoI'm struggling to find the protocol for VARA, although maybe my Google abilities are just failing me.l The protocol at least should be openly available according to the FCC
- knorker 2y agoIt's unclear to me too. I'm not a lawyer, nor is my ham license even in the US, but perhaps "you can decode it by using our software" satisfies the legal requirements? It's not, to my knowledge, deliberately obscured. That would be a legal no no, I think. But yes, people have fought over VARA's state here.
- matja 2y agoThere's also http://www.whence.com/minimodem/ http://www.whence.com/minimodem/ which implements some standard methods: > standard FSK protocols such as Bell103, Bell202, RTTY, TTY/TDD, NOAA SAME, and Caller-ID
- deathanatos 2y agoI've never gotten minimodem to actually work. E.g., printf 'Hello, world\n' | minimodem --tx 440 minimodem --rx 440 (you can choose any freq.) results in a lot of, ### CARRIER 440 @ 800.0 Hz ### � ### NOCARRIER ndata=1 confidence=1.507 ampl=0.060 bps=439.96 (0.0% slow) ### ### CARRIER 440 @ 800.0 Hz ### � ### NOCARRIER ndata=1 confidence=1.858 ampl=0.053 bps=439.96 (0.0% slow) ### ### CARRIER 440 @ 800.0 Hz ### � ### NOCARRIER ndata=1 confidence=1.832 ampl=0.063 bps=439.96 (0.0% slow) ### and even when it does hit, ### CARRIER 440 @ 800.0 Hz ### Helln, world� ### NOCARRIER ndata=14 confidence=2.939 ampl=1.167 bps=438.67 (0.3% slow) ### If I try something like the example where he cats a man page: ### CARRIER 1200 @ 1200.0 Hz ### ��-O���܇����������������������=����~`���|�����������������������������_��������=����??�����?�����oﯰ������������������|���������������������߿��������������������������������������~�����`�|�w������������-Ӱ��>��み����>����� … I'm in a quiet room.
- ASalazarMX 2y agoProbably this post was inspired by all the fuzz gibberlink made last week, which uses ggwave, another data-over-audio protocol. https://github.com/PennyroyalTea/gibberlink https://github.com/PennyroyalTea/gibberlink
- littlekey 2y agoI had no idea this was real! I saw the video earlier and thought it was just faked for social media.
- tdeck 2y agoThis is a cool concept but it actually seems slower than if they'd just continued to speak words.
- ASalazarMX 2y agoText is incredibly efficient and compressible. Combine it with some of the other projects mentioned here, and it would be like: - Shall we switch to audio data for more efficient communication? - Yes. [MODEM NOISES START]
- tdeck 2y agoI assume the long-winded "shall we switch" dialog was more for effect in the demo, but there's no reason why it couldn't hear "I'm an AI" and just send a quick enquiry data burst without having to continue the conversation in English.
- thamer 2y agoIt's probably not slower than words, the rate for English pronunciation is something like 150-200 words per minute only. That said, the "gibberlink" demo is definitely much slower than even a 28.8k modem (that's kilobit). It sounds cool because we can't understand it and it seems kinda fast, but this is a terribly inefficient way for machines to communicate. It's hard to say how fast they're exchanging data from just listening, but it can't be much more than ~100 bits/sec if I had to guess. Even in the audible range you could absolutely go hundreds of times faster, but it's much easier to train an LLM that has some audio input capabilities if you keep this low rate and likely very distinct symbols, rather than implementing a proper modem. But why even have to use a modem though? Limiting communication to audio-only is a severe restriction. When AIs are going to "call" other AIs, they will use APIs… not ancient phone lines.
- 1970-01-01 2y agoWhat's the baud?
- pdh 2y agoconst CHARACTER_DURATION = 0.07; // seconds - balanced for accuracy while still fast (up from 0.055s) const CHARACTER_GAP = 0.03; // seconds - balanced for accuracy while still fast (up from 0.025s) 10 symbols per second
- tanepiper 2y ago12 years ago, I worked on this prototype - https://github.com/tanepiper/adOn-soundlib https://github.com/tanepiper/adOn-soundlib The original plan was to develop essential "audio QR codes" that would allow short codes to be transmitted that could be parsed by certain apps and used to drive different interactions.
- jagged-chisel 2y agoWhat was the UX like? QR is entirely passive and requires no batteries nor logic and it continues to exist on paper. Does some device listen for apps nearby? Do I need to walk up and press a button?
- tanepiper 2y agoThe core idea was to work with a commercial TV broadcaster in to embed the codes in certain ads, or have it as part of a TV show - so the "listener" would need an active app to handle it. If it had all gone off well, the eventual plan was to have it be used on a live show where users could also interact. We had some prototypes ready with a native app - but then the Brexit referendum happened - and our company had a couple of clients pull out of upcoming projects - and the company got shuttered.
- xnx 2y agoHow much greater is the capacity over open air vs POTS lines that maxed out at 56K?
- karmakaze 2y agoSending ascending/descending ascii punctuation is fun.
- deleted 2y ago[deleted]
- textninja 2y ago> Doooooooooo dooodeeedoooodeeee doooooooooo doooooooooooo bshshhhhhzhhhhhhzhhhh Anyone?
- eigenblake 2y agoWhat's so special about this? Homo sapiens have been doing this for hundreds of thousands of years /s
- thomascountz 2y agoOG: https://quiet.github.io/quiet-js/ https://quiet.github.io/quiet-js/
- rajnathani 2y agoThere's an Amazon-backed close-to-$100M funded established company in India called ToneTag which has its use case for sound data transfer for retail payments/etc. I still don't understand how they work from a consumer-use standpoint, but I find it fascinating.