HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ggerganov
ggwave
C++2020–2026
ggerganov / ggwave

ggwave

Tiny data-over-sound library

16Distinct people
32Mentions
0Explicit recommenders
7.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Tiny data-over-sound library

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 6:28:55 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year32 dated mentions

Observed mentions: 2020-12-18 08:48:24 UTC to 2026-10-30 21:48:39 UTC.

0510152020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 14 mentions; 8 submissions, 6 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 3 mentions; 2 submissions, 1 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 7 mentions; 1 submissions, 6 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC1486
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC514
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC321
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC716
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC211

What Hacker News says

14 sources
ggerganov·Apr 21, 2021Submission

Show HN: I made a tool to communicate data using the PC speaker

Hi HN, r2t2 is a command-line tool for transmitting data through sound using the PC speaker on the motherboard. The name of the tool is a reference to the R2-D2 robot from Star Wars :) In short, you type some message and it gets FSK modulated and transmitted via sound through the PC speaker. Note that this is the speaker/buzzer that you connect to the motherboard and not the regular speakers that you connect to the sound card. I also made a simple web page that listens to the sound emitted by r2t2 and decodes the received messages. The page can be used by simply opening it on your phone and placing the phone near a computer/device that emits data with r2t2. I made this tool mostly for fun, but I think it might have some useful applications too. The advantage of this type of communication is that the hardware is very cheap (~$1/speaker), d
Read the rest
oes not require a sound card and the software is very simple and does not use any 3rd-party audio libraries.
189 points · Open discussion
Thanks for posting this - I'm the author. I recently posted this to Show HN with a bit of background about the project [0]. My next goals for ggwave is to improve the mobile SDKs and provide more examples. If you want to help out - check out this issue [1]. I am also planning to add some even lower bit-rate protocols, but make them more robust and hopefully remove the sound markers. - [0] https://news.ycombinator.com/item?id=25761016 - [1] https://github.com/ggerganov/ggwave/issues/2
In Ggwave: Tiny Data-over-Sound Library
Hello HN, This is a hobby project that I have been working on and off for the past few years. It started with a simple PoC [0] for sharing files through WebRTC using sound signaling to exchange the SDP between peers and I recently decided to extract the data-over-sound part into a standalone library [1] so I can use it in different projects. The current post is one such project: "Waver" - a simple application with the primary purpose to showcase the capabilities of my data-over-sound library. The main functionality of the app is to exchange short text messages through sound with nearby devices. All you need to use it is to enable the device's speakers and microphone. The app also includes an early prototype for sharing files with sound signaling. The app runs on iOS, Android, Linux, Mac OS and Web - I put quite some effort to make it easy
Read the rest
to try out :) The implemented data-over-sound protocol is quite simple. It is essentially a 6-tone FSK modulation scheme with special markers to mark the start and end of the transmission. The bandwidth is quite low (8-16 B/s), but I think the transmission is reliable. I've been testing it with a few devices across the room and it seems robust enough. The ultrasound protocols especially are very robust to surrounding noise. An additional challenge I had to solve while working on the data-over-sound protocol was to make the encoded data sound good to the human ear. Although the current sound is not the most pleasant thing to hear (especially the markers), I think it turned out relatively OK :-) There are a few reasons about why I decided to implement this FSK approach instead of using an existing and well-known modulation scheme used by modems: - My DSP knowledge is fairly limited - Most modulations typically sound like noise (not very pleasant to the ear) - Reliable air-gapped transmission seems to be much more difficult to achieve compared to over-the-wire - But mainly because I find it more fun to implement something from scratch There are similar solutions available on the market, but I feel they are difficult to try out. I wanted to make something free and very easy to test and see how it works. The data-over-sound library [1] still needs some work, but it's getting there. I am hoping to find some fun and potentially useful applications of this, so I am looking for ideas. Also, any feedback about the performance is very much appreciated. If you decide to try out the Waver app, make sure to watch the 2 min video in the link [2] for a quick tutorial. Also, there is a small easter egg at the end of the video :-) [0] - https://github.com/ggerganov/wave-share [1] - https://github.com/ggerganov/ggwave [2] - https://www.youtube.com/watch?v=Zcgf77T71QM
In Show HN: Waver – Messaging Through Sound

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.