frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Transmitting data via ultrasound without any special equipment

https://halcy.de/blog/2025/06/27/transmitting-data-via-ultrasound-without-any-special-equipment/
57•todsacerdoti•3h ago

Comments

adzm•2h ago
The web tool is fun! I decided to give it a harder test and turned up some fans and background music up pretty loud and it still managed to decode the message.

Though after a certain point it stops recognizing it, I was still surprised how well it did with noise. I'm sure noise in higher frequencies (or the right harmonics) would be much harder to handle, but solvable in interesting ways too

ac29•2h ago
See also: https://github.com/ggerganov/ggwave
blensor•51m ago
GGWave is a really great tool and does support audible and inaudible versions.

We are using it in XRWorkout to automatically sync up ingame recordings with external recordings, we are using the audible version instead of the ultrasound version so a human can sync it up too if they are using a regular video editor instead of doing it automatically in our own tools

Here is an example how that sounds https://xrworkout.nyc3.digitaloceanspaces.com/data/video/036...

thijson•1h ago
It might be useful to study the techniques that modems used to transmit data over phone lines. I seem to recall trellis coded modulation being used:

https://en.wikipedia.org/wiki/Trellis_coded_modulation

The acoustic channel is bound to suffer from multipath too, so some equalization may be needed too.

https://en.wikipedia.org/wiki/Equalization_(communications) https://www.ti.com/lit/an/spra140/spra140.pdf

In order to receive the signal far from the transmitter, some form of spread spectrum encoding could be used, like CDMA. The spreading factor could be negotiated.

https://en.wikipedia.org/wiki/Direct-sequence_spread_spectru...

cogman10•1h ago
Another step to look into if you really want to have fun is implementing some sort of QAM.
ghurtado•1h ago
Did somebody say Spectrum?

https://softspectrum48.weebly.com/notes/tape-loading-routine...

I always assumed that PWM was the go-to method for this kind of low bandwidth / high noise medium, I wonder why the author didn't go that route and used FM instead

nomel•39m ago
> Tape data is encoded as two 855 T-state pulses for binary zero, and two 1,710 T-state pulses for binary one.

Is that not FM, more specifically FSK, just with some extra harmonics?

echoangle•1h ago
Isn't the "Illustrated for zoomers" version of the frequency domain wrong? I'm pretty sure the bars over the timeline show volume over time, not intensity over frequency. So the middle bar doesn't represent a specific frequency but a specific time interval in the song.
jnwatson•1h ago
Chromecast has used ultrasound in lieu of pairing code for a while now.
TrackerFF•46m ago
IIRC, there was some commercial product - years ago - that worked by using ultrasonic data transfer.

It went something like this: You install some app on your phone, which then listens for incoming audio in the ultrasonic range. The audio is coded instructions, which then would do things like blink a light on your phone or whatever. The idea was that this could be used at events (sport, music, whatever) to create light shows on the mobiles, without relying on good wifi coverage or similar in the avenue. As you could use the PA for the data transmission.

avsm•22m ago
We demonstrated this in 2003 using the smartphones of the era (they didn’t have good filters, so you could detect ultrasound quite easily).

See https://anil.recoil.org/papers/audio-networking.pdf sec 2.1 for the 2003 paper and some ancient videos at https://anil.recoil.org/projects/ubiqinteraction if you want some Nokia nostalgia :-)

tanepiper•6m ago
I wrote a very similar web implementation 12 years ago as a proof of concept - if it got the go-ahead, the plan was to test it with some commercial TV broadcasting in the UK where a ultrasonic short code could be sent to phones using an app with a Web view, or possibly native app.

Sadly never got picked up, although we proved the concept could work - but it certainly had it's challenges.

https://github.com/tanepiper/adOn-soundlib

https://github.com/tanepiper/adon-ad-platform

lxe•37m ago
18-20khz is not really ultrasound. Many people can still hear this range, and it's very unpleasant when played (at least to me).

For comparison, medical imaging ultrasound is 2-20 MHz (that's MEGA hertz) I think,

thfuran•26m ago
Yeah, 18 kHz isn't really ultrasound, but 50 kHz definitely is and nobody's hearing that. You definitely don't need to go up into the MHz range and can't if the goal is to use existing audio equipment.
polotics•12m ago
what is it about websites that can't be zoomed? do the authors not realise their choice of fonts won't always fit with mobile phone screens?

NASA's Future SLS Booster Failed Its First Test [video]

https://www.youtube.com/watch?v=F85bTJLdaTo
3•perihelions•1m ago•0 comments

Android phones could soon warn you of "Stingrays" snooping on your communicatio

https://arstechnica.com/gadgets/2025/06/future-android-phones-could-warn-you-about-data-stealing-fake-cell-towers/
2•todsacerdoti•2m ago•0 comments

US Supreme Court backs Texas online porn age-check law

https://www.reuters.com/legal/government/us-supreme-court-poised-rule-challenge-texas-age-check-online-porn-2025-06-27/
1•PessimalDecimal•3m ago•0 comments

From code reuse to the impact of generative AI

https://lemire.me/blog/2025/06/27/from-code-reuse-to-the-impact-of-generative-ai/
1•ibobev•4m ago•0 comments

Learn OCaml – Exercises

https://ocaml-sf.org/learn-ocaml-public/#activity=exercises
1•smartmic•5m ago•0 comments

Deep in Copy Constructor: The Heart of C++ Value Semantics

https://www.gizvault.com/archives/deep-in-copy-constructor
3•ricecat•6m ago•0 comments

Largest in-person AV conversational dataset ever released

https://huggingface.co/datasets/facebook/seamless-interaction
1•peloqube•6m ago•0 comments

Tech CEO Pays $400k to Conduct the Toronto Symphony

https://www.nytimes.com/2025/06/27/arts/music/mandle-cheung-toronto-symphony-mahler.html
1•perihelions•7m ago•0 comments

AI Age Shopify For Online Shopping Website

https://www.selltosky.com
1•liurenju•8m ago•1 comments

Gemini CLI

https://github.com/google-gemini/gemini-cli
1•RyanShook•8m ago•0 comments

Obeying orders dulls our sense of moral responsibility, brain scans reveal

https://medicalxpress.com/news/2025-06-obeying-dulls-moral-responsibility-brain.html
1•PaulHoule•9m ago•0 comments

Navy SEALs, Performance vs. Trust, and AI

https://mljar.com/blog/navy-seals-performance-vs-trust-and-ai/
1•pplonski86•9m ago•0 comments

Shadowology Collection part 3 [2022 video]

https://www.youtube.com/watch?v=7aytzT0qwJI
1•Stratoscope•10m ago•0 comments

Unsupervised pretraining in biological neural networks

https://www.nature.com/articles/s41586-025-09180-y
1•domofutu•10m ago•0 comments

World Bank: Fragile states falling further behind as conflicts grow get deadlier

https://www.independent.co.uk/news/world-bank-people-washington-life-expectancy-covid-b2778531.html
1•Bluestein•13m ago•0 comments

The Circuit Board Club

https://circuitboard.club
1•radeeyate•14m ago•0 comments

[DELETED]

https://files.catbox.moe/omq94l.PNG
1•lihaciudaniel•14m ago•1 comments

Non-Transactional, Positive-Sum, and Multi-Turn

https://feld.com/archives/2025/06/non-transactional-positive-sum-and-multi-turn/
1•rmason•15m ago•0 comments

Show HN: I built an AI app that counts the number of R's in strawberrrrry

https://claude.ai/public/artifacts/3bf549ca-85d7-4c5f-bdee-4bee4a7bbdbf
1•thngkaiyuan•15m ago•0 comments

Brazil Supreme Court rules digital platforms are liable for users' posts

https://www.ft.com/content/4a5235c5-acd0-4e81-9d44-2362a25c8eb3
4•dmitrygr•17m ago•0 comments

Could Mysterious Black Hole Burps Rewrite Physics?

https://www.scientificamerican.com/article/why-some-black-holes-keep-burping-light-after-eating-a-star/
1•raattgift•18m ago•0 comments

Case for Electricity Interconnector Between North America and Europe (2024) [pdf]

https://ember-energy.org/app/uploads/2024/12/Analysis-Security-and-efficiency-The-case-for-connecting-Europe-and-North-America.pdf
3•whall6•23m ago•0 comments

Largest SRB Fails During Testing [video]

https://www.youtube.com/watch?v=EC9icOKGJ94
2•perihelions•24m ago•0 comments

Intro to GIS Programming: A Practical Python Guide to OSS Geospatial Tools

https://gispro.gishub.org/
1•raybb•28m ago•3 comments

Parallel LLM Generation with a Concurrent Attention Cache

https://eqimp.github.io/hogwild_llm/
2•barrenko•29m ago•0 comments

A Brief History of Children Sent Through the Mail

https://www.smithsonianmag.com/smart-news/brief-history-children-sent-through-mail-180959372/
14•m-hodges•29m ago•3 comments

Claude on Rails

https://obie.medium.com/introducing-claudeonrails-a25fb82ae37b
3•gregorymichael•30m ago•1 comments

Simulations reveal the secret to strengthening carbon fiber

https://www.ornl.gov/news/simulations-reveal-secret-strengthening-carbon-fiber
2•gmays•33m ago•1 comments

CopyTrack: Minimal Clipboard Logger for Windows

https://github.com/Loki3737/loki/releases
1•loki3737•36m ago•2 comments

Aligning Security Incentives: Success-Based Pricing

https://rsolv.dev/blog/success-based-pricing
1•Arubis•37m ago•0 comments