9 ms·
Ggwave: Tiny Data-over-Sound Library
- svilen_dobrev 2y agoaudio- steganography? or watermarking? pfft, it may even have multiple channels one over another, so one can tune to one or another (if knows how to decode)..
- potatoman22 2y agoPlay chords to transmit more info?
- genewitch 2y agohttps://www.youtube.com/watch?v=EtNagNezo8w https://www.youtube.com/watch?v=EtNagNezo8w in action (ostensibly) - a demo i just saw. it is a software modem using FSK, but i don't know anything else about it. I am annoyed because i could have had this idea; i'm a HAM who really only cares about "Digital Modes", and have software modems capable of isdn speeds over "AF"
- knowaveragejoe 2y agoThat's really neat! I realize this demo is a contrived setup, but it is basically an example of what Eric Schmidt was talking about when agents start communicating in ways we can't understand.
- whalesalad 2y agoYeah I watched this last night and immediately thought of skynet and how dystopian the world could become in the next few years/decades.
- dmitrygr 2y agoThere are dozens of these in existence. Some you may have used without knowing even, eg: https://www.engadget.com/2014-06-27-chromecast-ultrasonic-pairing.html?guccounter=1 https://www.engadget.com/2014-06-27-chromecast-ultrasonic-pa... This is also how modems used to work, for the young'uns who do not know this.
- genewitch 2y ago>This is also how modems used to work they still do, but they used to too.
- codetrotter 2y agoOutside of hobbyists that do it for fun, and maybe some data centers using it as an out-of-band means of access, is anyone still using dial-up?
- flyinghamster 2y agoThere might still be credit card terminals using 300 bps Bell 103 (which has a short set-up time due to its lack of training sequences). 1200 bps V.23 and Bell 202 are still in use in radio telemetry applications.
- dmitrygr 2y agoMany aviation fuel pumps in far-out-of-the-way airports use dial-up to authenticate credit cards swiped to pay for the fuel.
- reaperducer 2y agoOutside of hobbyists that do it for fun, and maybe some data centers using it as an out-of-band means of access, is anyone still using dial-up? I use it to connect to a Windows machine that runs a large piece of machinery in a remote location. My dry cleaner's credit card reader, too.
- philsnow 2y agoAll kinds of modems use this kind of scheme as well, PSK is too low-bandwidth for modern needs so everything is QAM these days. DOCSIS specifies I think QAM-256. Inter-datacenter fiber links use "modems" as well.
- genewitch 2y agoyes and also soundcard modems: https://i.imgur.com/8mhB4u7.png https://i.imgur.com/8mhB4u7.png QAM16 over a PC soundcard into a radio. It's enough bandwidth to stream video between VLC instances. not "slow scan TV", either, fast scan. Uh, don't try and find this if you're going to use it to pollute the spectrum i am licensed for.
- nomel 2y agoThe acoustic modem is back in style [1]! And, of course, same frequencies (DTMF) [2], too! DTMF has a special place in the phone signal chain (signal at these frequencies must be preserved, end to end, for dialing and menu selection), but I wonder if there's something more efficient, using the "full" voice spectrum, with the various vocoders [3] in mind? Although, it would be much crepier than hearing some tones. [1] Touch tone based data communication, 1979: https://www.tinaja.com/ebooks/tvtcb.pdf https://www.tinaja.com/ebooks/tvtcb.pdf [2] touch tone frequency mapping: https://en.wikipedia.org/wiki/DTMF https://en.wikipedia.org/wiki/DTMF [3] optimized encoders/decoders for human speech: https://vocal.com/voip/voip-vocoders/ https://vocal.com/voip/voip-vocoders/
- bigiain 2y agoI'm wondering if shifting frequency chirps like LORA uses would work in audio frequencies? You might be able to get the same sort of ability to grab usable signal at many db below the noise, and be able to send data over normal talking/music audio without it being obvious you're doing so. (I wanted to say "undetectably", but it'd end up showing up fairly obviously to anyone looking for it. Or to Aphex Twin if he saw it in his Windowlicker software...)
- nomel 2y agoThe issue is the (many) vocoders along the chain remove anything that don't match the vocal patterns of a human. When you say hello, it's encoded phonetically to a very low bitrate. Noise, or anything outside what a human vocal cord can do, is aggressively filtered or encoded as vocal sounding things. Except for DTMF, which must be preserved for backwards compatibility. That's why I say it would be creepy to do something higher bitrate...your data stream would literally and necessarily be human vocal sounds!
- _def 2y agoData exfiltration via bird
- westurner 2y ago"Using the Web Audio API to Make a Modem" (2017) https://news.ycombinator.com/item?id=15471723 https://news.ycombinator.com/item?id=15471723
- Jayeshgreat 2y ago[dead]
- Jayeshgreat 2y ago[dead]
- nickcw 2y agoIt sounds quite nice. It is also about the same bitrate as RTTY which was invented in 1922 and is still in use by radio amateurs round the world. Here is what that sounds like https://youtu.be/wzkAeopX7P0?si=0m0urX7sDp6Jojqe https://youtu.be/wzkAeopX7P0?si=0m0urX7sDp6Jojqe Not as musical but quite similar
- lxe 2y agoThe amateur radio community is chock full of innovation for low bandwidth weak signal decodable comm protocols. There's also V.xx modem standards that are kinda dependent on the characteristics of the phone lines, but might work for audio at a distance?
- kurisufag 2y agoham optimizes for the wrong thing, imo. look at ft8: perfect for making contacts at low power with stations far, far away, but really only tuned to the particular task of making contacts. you can package some text alongside, but fundamentally all amateur operators are looking for is a SYN / ACK with callsigns.
- lhamil64 2y agoThere's also JS8call which is a modified version of FT8 meant for actual communication. IIRC you can do some neat things with it, like relaying a message through another user if you don't have a direct path to the recipient.
- the-angry-dome 2y agoAs one of the accursed hams, I wonder what ggwave's propagation profile would be compared to RTTY / CW (Morse code) etc. Would be interesting to try it out.
- tdeck 2y agoRTTY is the sound of "satellites" in a lot of media.
- jancsika 2y agoThere was a research paper on doing data-over-sound with sounds that were designed to be pleasing to humans. The demos sounded like little R2D2 blips and sputters. Perhaps a researcher for Microsoft or something. Anyone know the paper I'm talking about? I can't find it.
- jaustin 2y agoI wish I knew the paper, but https://github.com/chirp https://github.com/chirp was a proprietary data-over-sound-through-air implementation that worked pretty well and sounded really cute (to my ears, anyway). It's not a paper, but there's this https://www.scientia.global/wp-content/uploads/2017/10/Chirp.pdf https://www.scientia.global/wp-content/uploads/2017/10/Chirp...
- freeamz 2y agoThere are a lot open source one: https://github.com/quiet/quiet-js https://github.com/quiet/quiet-js Remember seeing them quite a bit a few years ago.
- regularfry 2y agoIn the spirit of abusing an error correction mechanism for aesthetics (see: QR codes with pictures in them, javascript without semicolons) could you do that here? How much abuse can the generated signal take? Just listening to the samples here they're really not that far off. Could probably use a little softening at the edges on the higher tones but it's nowhere near as unpleasant as it could be.
- iszomer 2y agoI guess this was discussed in some fashion, ~16h ago.. - GibberLink [AI-AI Communication] | https://news.ycombinator.com/item?id=43168611 https://news.ycombinator.com/item?id=43168611
- andrewmcwatters 2y ago"Hey ChatGPT, please fork ggwave, but make communication nothing but the sound of human screams."
- deleted 2y ago[deleted]
- InfiniteLoup 2y agoPlease don't give Skynet any ideas...
- mtaras 2y agoThis sounds delightful, I might make esp32s talk to each other like that just because it's adorable
- jononor 2y agoWould be fun to have a few collaborating robots! Maybe they can comment on what they see, for example
- ConanRus 2y agoexpecting a Blue AI box in 3,2,1
- rkagerer 2y agoSee also: https://github.com/romanz/amodem https://github.com/romanz/amodem
- knowitnone 2y agoNeat! Can I connect cross over audio cable - headphone output to mic input and would that increase performance?
- vodou 2y agoThis is cool! Some of Teenage Engineering's Pocket Operators, at least PO-32 [1], uses a data-over-sound feature. Does Ggwave use a simple FSK-based modulation just because it "sounds good"? Would it be possible to use a higher order modulation, e.g., QPSK, in order to achieve higher speeds? Or would that result in too many uncorrectable errors? [1] https://teenage.engineering/products/po-32 https://teenage.engineering/products/po-32
- nimish 2y agoAcoustic couplers are back baby! Who's up for Phreaking AI? This rules.
- oersted 2y agoHere's two voice AIs talking in GGWave :) https://github.com/PennyroyalTea/gibberlink https://github.com/PennyroyalTea/gibberlink
- cyberax 2y agoNice! It reminds me of https://www.araneus.fi/audsl/ https://www.araneus.fi/audsl/
- philsnow 2y ago> Bonus: you can open the ggwave web demo https://waver.ggerganov.com/ https://waver.ggerganov.com/, play the video above and see all the messages decoded! I could not get this to work unless I played the video on one device and opened it on another. While trying to get it to work from my MBP, waver's spectrum view didn't really show much of anything while the video was playing. Is this the mac filtering audio coming into the microphone to reduce feedback?
- ssfrr 2y agoDoes it work with separate browsers on the same machine? Not sure but I’d guess this sort of filtering would be more common on the browser than the OS
- Evidlo 2y agoAlso see Andflmsg. It supports more modulation schemes than just FSK and you can use it as a modem for your HAM radio. : https://sourceforge.net/projects/fldigiiles/AndFlmsg/ https://sourceforge.net/projects/fldigiiles/AndFlmsg/
- crowselect 2y agoI wonder if i could learn to whistle a message?
- megadata 2y agoDepends on how deep on the spectrum you are. I don't meant it in a bad way, I'm on there too. Perhaps a lesson from Ron McCroby would be a start: https://m.youtube.com/watch?v=baEoyXoDVc4 https://m.youtube.com/watch?v=baEoyXoDVc4
- sigmonsays 2y agothis is so awesome, i want to use it!
- megadata 2y agoWasn't there a Google project, Chirp or something? Did this over speakers and microphones? That seems to have disappeared.
- Ey7NFZ3P0nzAe 2y agoChrip.io now leads to Sonos
- megadata 2y agoApparently Sonos acquired them in 2020. https://audioxpress.com/news/data-over-sound-pioneer-chirp-acquired-by-sonos https://audioxpress.com/news/data-over-sound-pioneer-chirp-a... Seems to have been euthanized.
- h1k3r_xlii 2y ago[dead]
- bjpirt 2y agoOne of the nicest data through sound implementations I came across was in a kid's toy (often the best source of innovation) It was a "Bob the Builder" play set and when you wheeled around a digger, etc the main base would play a matching sound. I immediately started investigating and was impressed to see no batteries in the movable vehicles. I realised that each vehicle made a clicking sound as you moved it and the ID was encoded into this which the base station picked up. Pretty impressive to do this regardless of how fast the vehicle was moved by the child.
- stavros 2y agoWas it based on the frequency of the click?
- sejje 2y ago>Pretty impressive to do this regardless of how fast the vehicle was moved by the child. Probably not, eh?
- stavros 2y agoProbably yes, because the frequency of a note doesn't change based on how quickly the next note is played after it.
- sejje 2y agoGuess I misunderstood. The first time you said "frequency of the click" -- I would personally respond with clicks per second. "Frequency of the note" in your next comment clears it up. It probably was that, you're right.
- SergeAx 2y agoI'm gonna put R2D2 chirps through this on the weekend!
- blensor 2y agoI love GGWave. We've been using it in our VR game to automatically sync ingame recordings with an external camera. At the beginning of the recording it plays the code "xrvideo" which in the second stage of merging the video it looks for the tag in both streams and matches them up
- artemonster 2y agoIs this a tool for stealing corporate data? Whats the actual use?
- Kerbonut 2y agoI wonder how the LG appliances work for this. They also send data over sound for diagnostics.
- franga2000 2y agoLove ggwave! I used it on a short film set a few years ago to automatically embed slate information into each take and it worked insanely well. If anyone wants details: I had a smartphone taped to the back of the slate with a UI to enter shot/scene/take and when I clicked the button it would transmit that information along with a timestamp as sound. This sound was loud enough to be picked up by all microphones on set, including scratch audio on the cameras, phones filiming BTS, etc. In post-production, I ran a script to extract this from all the ingested files and generate a spreadsheet. I then had a script to put the files into folders and a Premiere Pro script to put all the files into a main and a BTS timeline by timestamp. Yes, timecode exists and some implementations also let you add metadata, but we had a wide mix of mostly consumer-grade gear so that simply wasn't an option. I posted a short demo video on Reddit at the time, but it got basically no traction: https://www.reddit.com/r/Filmmakers/comments/nsv3eo/i_made_a_tool_for_organising_footage_looking_for/ https://www.reddit.com/r/Filmmakers/comments/nsv3eo/i_made_a...
- bfors 2y agoVery cool solution!
- qingcharles 2y agoThis is a smart solution. We need one of those digital slates with this built-in now.
- vednig 2y agoI remember discovering ggWave few years ago, before the rebrand, it's still the only working( and fastest verifiable) library that can transmit data over sound. I could not get to work on a project using this then, because of college. But now I am integrating this in my startup for frictionless user interaction. I want to thank the creators and contributors of GGWave for doing all the hard work for these years. If I find something to improve I'd like to contribute to the codebase too.
- waldik13 2y agoIf you're interested in using GGWave in Python, check out ggwave-python, a lightweight wrapper that makes working with data-over-sound easier. You can install it with pip install ggwave-python or pip install ggwave-python[audio], or find it on GitHub: https://github.com/Abzac/ggwave-python https://github.com/Abzac/ggwave-python. It provides a simple interface for encoding and decoding messages, with optional support for PyAudio and NumPy for handling waveforms and playback. Feedback and contributions are welcome.
- jaydeep11 2y ago[flagged]
- jaydeep112233 2y ago[flagged]
- jaydeep112233 2y ago[flagged]
- JMO7 2y ago[flagged]
- JAYMOE7 2y ago[flagged]
- deleted 2y ago[deleted]
- EliVon2025 2y agoHow are you
- EliVon00o9 2y agoHow are you