Close
0%
0%

OFFgrid-SDR

One SDR receiver. Two hardware platforms. Dozens of decoders. No installation.

Similar projects worth following
A self-contained web receiver for RTL-SDR sticks (tested with the RTL-SDR Blog V4) and over the network from SDR Play RSP devices,
built for listening to DAB, FM, Long Wave, Medium Wave and Shortwave broadcasts - anywhere, with or
without an internet connection. Everything - radio libraries, DSP, fonts - is inside
index.html. Nothing is downloaded when it runs.
Can also connect to SDR Play RSP tuners via SDR connect server running over a local network

OFFgrid-SDR

A complete radio receiver in a single HTML file: no install, no internet, no account

Plug an RTL-SDR stick into almost any computer, open one file in the browser, and you have a working receiver for long wave, medium wave, shortwave, FM, DAB, DRM, airband and VHF/UHF. Everything is inside index.html: radio drivers, DSP, decoders, fonts. So it runs from a USB pen drive, with no internet at all. Got an SDRplay RSP? It can use that too, across your network.

Source and downloads: github.com/diddy-boy/OFFgrid-SDR

Version 3.0 onwards has a completely re-written UI for a more polished look and feel.

Why it exists

The humble RTL-SDR stick deserves more than being a cheap way into other software. OFFgrid-SDR is built for it, and for places without internet:

  • Remote stations and expeditions: send a stick, an antenna and a pen drive, and people can hear news, weather fax and NAVTEX with no internet.
  • Emergency kits: when the internet or the power is down, radio still works.
  • Locked-down computers: schools, libraries, work laptops and Chromebooks. It’s just a page you open.
  • Privacy: nothing leaves your computer.
  • Fully offline, FT8 included: it sets its clock from shortwave time stations.
  • Teaching: demo mode for ham radio classes and clubs.

What it can do

Bands

  • FM broadcast in stereo with RDS, following your country’s band plan.
  • Long wave (100–500 kHz), medium wave, and every shortwave broadcast band.
  • Ham bands from 160 m to 70 cm, including 6 m and 4 m.
  • CB, set up as each country uses it: CB US (AM), CB Europe (FM) and CB UK (FM), each with channel numbers.
  • PMR446 and airband, with 8.33 kHz channels.
  • The famous “Mystery” stations like The Buzzer.
  • Anything from 100 kHz to 1766 MHz in general coverage.

Digital radio, decoded in the browser

  • DAB and DAB+:
    • station names, station text and programme type;
    • SlideShow pictures and station logos;
    • a forgiving re-lock that rides through gaps in the samples.
  • DRM:
    • AAC, and xHE-AAC;
    • station text and SlideShow pictures;
    • Journaline news pages;
    • every robustness mode and bandwidth found by itself.

Decoders: RDS · CW · RTTY · PSK31/63/125 · FT8 and FT4 (with countries, distances, deep decoding and a “Heard” summary) · WSPR · time signals · NAVTEX · DSC · ACARS · VDL2 · APRS · AIS ships · SSTV · Hellschreiber · weather fax

AUTO: listens for a couple of seconds, works out what the signal is, and switches to the right mode, tuned exactly onto it.

Signal Monitor: watch up to 8 signals at once while you listen to something else.

  • Measured continuously: level, noise floor, S/N, bandwidth, occupancy, transmissions (count, length, longest, active and silent time, and how regular they are), fades and drift.
  • Follow: tracks a drifting signal, even a satellite’s Doppler shift on a pass.
  • Analyse: names a signal’s mode in about 6 seconds.
  • Per-signal speakers.
  • Recording: a clip of each transmission.
  • Export: save the log as CSV.

Waterfall replay: heard something a moment too late? Pause the waterfall, box any signal from the last minute, and replay it, decode it, or save it as MP3 plus a raw IQ file for SDR# and SDR++.

Listening tools:

  • Filters and clean-up: synchronous AM with selectable sidebands, noise reduction, a noise blanker, a hum filter, an auto notch, an AI voice cleaner (RNNoise), a smart notch and squelch.
  • Finding stations: Seek, Scan, a band survey, 50 memories and frequency labels.
  • Keeping records: a logbook and recording.
  • Panorama: up to 10 MHz at once.

Hardware it works with:

  • RTL-SDR sticks, directly over USB, with HF upconverters supported.
  • SDRplay RSPs, through SDRplay’s SDRconnect, on the same computer or anywhere on your network:
    • wide views of up to 10 MHz;
    • Lite mode for Wi-Fi and slow networks, about 0.2 MB/s instead of 8 MB/s;
    • a built-in network speed test;
    • automatic antenna switching on the RSPdx.

Built-in self-test: 99 checks across...

Read more »

  • OFFgrid-SDR 3.1: DRM+, AM stereo, weather alerts, and a radio that knows where it is

    diddy • 4 days ago • 0 comments

    OFFgrid-SDR 3.1 is out! It's still one HTML file: no install, no internet, no account. Plug in an RTL-SDR stick, open the page in Chrome or Edge, and listen. This release adds new ways to listen, makes the radio fit wherever you are in the world, and fixes a stack of things the self-test caught.

    DRM+: digital radio in the FM band

    DRM already worked on long, medium and short wave. DRM+ (DRM's robustness mode E, about 100 kHz wide) brings it to the VHF bands, FM included. The same DRM key now switches to DRM+ by itself above 30 MHz, and reads the station's name, settings, SlideShow pictures and Journaline news pages.

    The hard part was testing. DRM+ broadcasts are rare, and I couldn't find a single recording of a real one. So the receiver was checked against an independent transmitter's signal, sstv.org.uk's published mode E sample, and an independent receiver, OpenDigitalRadio's libdrmplus:

    • Every multiplex frame matched libdrmplus byte for byte.
    • The sample's picture came out with exactly the checksum it should have.

    Sound from DRM+ isn't decoded yet, because nothing has verified DRM+'s audio framing. If you can record a real DRM+ station as raw I/Q at 192 kHz or more, please get in touch!

    AM stereo (C-QUAM)

    AM stereo was the 1980s answer to FM, and some stations in North America, Australia and Japan still use it. OFFgrid-SDR now finds it by itself from its 25 Hz pilot tone, in AM or SAM, and lights the ST lamp.

    • Fading: C-QUAM carries its stereo in the carrier's phase, and night-time skywave scrambles exactly that. When it does, the decoder drops back to clean mono, as the real radios did.
    • Tested on: the demo's AM stereo stations. Reports from real stations are very welcome.

    Weather radio with SAME alerts

    For the USA and Canada there's a new WX tab with the seven weather channels. The decoder reads each warning's SAME code and shows:

    • what the alert is, for example a Tornado Warning;
    • who issued it;
    • the counties it covers;
    • how long it lasts.

    A radio that knows where it is

    There's a new Settings → Location tab: your region, your nearest city and your callsign. From that, OFFgrid-SDR sets:

    • the right FM band, from Japan's 76–95 MHz to the Americas' 200 kHz channels;
    • medium-wave spacing: 9 kHz in most of the world, 10 kHz in the Americas;
    • the ham bands;
    • the CB bands for your part of the world, including new UHF CB for Australia and New Zealand, and FRS/GMRS for North America;
    • whether the WX and DAB tabs appear.

    Smaller things that make a big difference

    • RDS "Also on": a station's other frequencies, one click to tune there.
    • Seek stops on the station, not beside it: on FM it finds the centre of the signal, in AM it finds the carrier, and it now copes with network delays through SDRconnect.
    • SSTV gets USB/LSB keys, thanks to Bear, a ham whose 40 m SSTV net asked about it.
    • AUTO recognises DRM by its timing as well as its shape, so a fading DRM broadcast is no longer mistaken for SSB.
    • New ham bands: 2200 m, and 1.25 m for the Americas. 60 m now covers every country's allocation.

    Try it

    No stick? Open index.html?demo, press Power on, and pick a station from the demo list, including the new DRM+, AM stereo and weather alert stations. Everything's on GitHub, and the full list of changes is in the app's help panel.

    GitHub: https://github.com/diddy-boy/OFFgrid-SDR

    73, and happy listening!

  • OFFgrid-SDR 3.0: a field radio in a web page

    diddy • 11/26/2026 at 19:35 • 0 comments

    OFFgrid-SDR is still a complete radio receiver in a single HTML file: no installation, no internet, no account. Plug in an RTL-SDR stick, open the page in Chrome or Edge, and listen. Version 3.0 is the biggest update yet. It's a complete redesign, plus a batch of fixes that came out of testing on real hardware.

    Why a redesign?

    Most SDR software looks the same: dark grey panels, a spectrum on top, a wall of controls. I wanted OFFgrid-SDR to feel like an instrument you'd take into the field. So 3.0 is laid out like a radio console:

    • the spectrum and waterfall fill the middle, set into the case like a screen;
    • the mode keys run down a rail on the left;
    • the frequency sits underneath, like the dial on a car radio;
    • the panels run the full height of the right side.

    It has an olive-drab case, and keys that stand proud and stay pushed in when they're on. The orange Power key gets a green lamp when the radio's running.

    The tuning dial

    Under the frequency there's a scale behind glass that slides past a fixed pointer as you tune. Drag it sideways and it follows your hand, a channel step at a time. Click a mark to jump there, or scroll over it. Your memories appear along its top edge as tags, with station names where there are any; click one to recall it.

    I avoided rotary knobs on purpose. They look great but work badly with a mouse or trackpad. The sliders became mixing-desk faders instead: hardware looks, but they still drag, click, scroll and take arrow keys like any slider.

    DRM: more than one station per frequency

    A user in India, Venkatesh, reported that All India Radio's DRM transmitters carry up to three services on one frequency (two programmes and a Journaline news service), and OFFgrid-SDR only ever played the first. The JavaScript DRM decoder now:

    • collects every service the station announces, gathered over several seconds, since stations spread these descriptions out;
    • plays the chosen service's own audio stream, with its own codec settings;
    • lists the services in the DRM box, much as Dream does.

    To test it without Indian signals, the demo mode's DRM signal generator now builds a station carrying three services. Two copies of the demo jingle didn't fit in a 10 kHz channel, so it's a 20 kHz DRM channel, which also tests the decoder at a width nothing else in the demo uses.

    DAB, and a lesson in network streaming

    OFFgrid-SDR can also use an SDRplay RSP across the network, through SDRplay's SDRconnect. DAB through SDRconnect was cutting out for a split second every few minutes. The diagnostics log showed why:

    • DAB needs a full 2.048 MHz stream: 8.2 MB/s, continuously.
    • My network averaged exactly that, but dipped every half-minute or so.
    • The tenth of a second of reserve occasionally ran dry, and DAB, which packs its audio into frames, lost a whole frame.

    On DAB the reserve is now nearly half a second, which nobody notices, since DAB audio already runs a second or more behind. Every lost frame is now logged with the network's state at the time. The remaining rare cuts turned out to be data SDRconnect drops upstream during Wi-Fi stalls: TCP never loses data in transit, so if it's missing, it was never sent.

    Other fixes worth mentioning

    • Device choice, and a WebUSB quirk. Chrome only lists USB devices it remembers granting the page access to, and it can forget, especially for a page opened from a file. So "no stick listed" didn't mean "no stick plugged in", and OFFgrid-SDR sometimes skipped a perfectly good stick. Now the chosen device is always tried first, then the other, with a clear message when neither is there.
    • FM de-emphasis by location: 75 µs in the Americas and South Korea, 50 µs elsewhere. Before, it was 50 µs everywhere, so FM sounded slightly bright and hissy for American listeners.
    • No more stereo flicker on empty channels. The FM stereo pilot detector accepted noise as a pilot now and then. Stereo now needs a real station, as on a normal radio.
    • CB Brazil: all 80 of Anatel's...
    Read more »

  • OFFgrid-SDR 2.5: optimised for lower-spec PCs

    diddy • 11/23/2026 at 12:22 • 0 comments

    2.5 started as a "no new features" release. The plan was optimisation, stability and tidying up, and the test machine was the slowest I own: a Lenovo 300e Gen 2 Chromebook, about five years old. If it runs well on that, it runs well on most lower-spec PCs.

    The dropouts that weren't a CPU problem

    On the Chromebook, FM had the odd audio dropout, and the Signal Monitor made it worse. OFFgrid-SDR already has a built-in CPU breakdown, so I logged FM, shortwave, DRM, the Monitor and SDRconnect and went through the numbers.

    Two things turned up:

    • The gap counter was lying. It counted a "gap" whenever a block arrived with less than 3 ms queued before the previous block started, but each new block still brings its own 50 ms. After one real dry-out, the radio library restarts the queue exactly one block ahead, so every block after that counted as a gap: 300 a minute, nearly all inaudible. The real problem was that the queue had no headroom left. Now the restart lead adapts: each real dry-out adds 25 ms, up to 150 ms, and a calm minute brings it back down. Retune pauses don't count.
    • The real culprit was USB. The logs showed "samples lost" at 3-5%: one 50 ms block missing every few seconds. The library keeps only two USB transfers in flight, so any busy moment on the page let the stick's small buffer overflow. Raising that to four (rtl_sdr itself uses 15) ended the losses completely, with no added latency.

    After both fixes: no dropouts on the 300e, FM steady at 59 fps, and CPU down from 44% to 40%.

    FM in Low-power mode

    Low-power mode halves the sample rate to 1.024 MHz, yet FM barely got lighter: 27.5% of a core against 23-29% at full rate. Splitting the timing into stages showed why. The first filter, down to 336 kHz, was taking 19% on its own, and its cost is per sample out, not in.

    That filter is deliberately long (401 taps) because at 2 MHz and above, a strong station 400 kHz away would otherwise fold into the channel. I measured the response outside the browser:

    • At 2.048 MHz, the long filter is needed: a station 400 kHz away is down 91 dB, against only 64 dB with 151 taps.
    • At 1.024 MHz, 151 taps are plenty: the passband is flat to 150 kHz, and everything from 200 kHz out is down at least 61 dB.

    So the tap count now follows the sample rate. FM's first stage fell from 19.2% to 11.8% of a core in Low-power mode, and the page overall from 38% to 29%.

    Smaller wins

    • The spectrum's dB conversion used Math.hypot, which is slow in V8. Working from power directly (10*log10(re² + im²)) gives identical output, and that step runs about 45% faster.
    • The S-meter rewrote 30 segments every frame, so now it only touches the page when the reading changes.
    • The waterfall overlay redraws only when a row is added.

    Automatic device choice

    OFFgrid-SDR can use an RTL-SDR stick or an SDRplay RSP through SDRconnect. At Power on, if your chosen device isn't there, the other one stands in for that session. There's no delay when your device is present, as navigator.usb.getDevices() answers instantly and a live SDRconnect replies in about 40 ms. Your saved choice never changes.

    RTL-SDR Blog V4 on 10 m

    Below 28.8 MHz, the V4 receives through its HF upconverter, and that oscillator puts a big spike right in the middle of 10 m. A new trial setting centres the stick at 28.825 MHz instead, so the library switches it to the VHF input with the upconverter off. On my V4, the spike shrank to a small bump (the crystals still run at 28.8 MHz), and the noise floor below 28.8 MHz looked unchanged.

    And some fun

    Once it was stable, I let myself add a few things:

    • Display colours: Amber (still the default), Orange, Lime, Green, Cyan, Blue, Violet, Rose, and VFD: an 80s vacuum-fluorescent look with glowing digits, smoked teal glass and faintly visible unlit segments. A Glow option gives any colour that treatment.
    • Waterfall colours: Classic, Turbo, Inferno, Ice, Greyscale, one matching the display colour, and a colour-blind-friendly...
    Read more »

  • OFFgrid-SDR 2.4: a Signal Monitor, Lite mode for SDRplay RSP devices

    diddy • 11/19/2026 at 08:05 • 0 comments

    Version 2.4 of OFFgrid-SDR is out. It’s still a single index.html: open it in Chrome or Edge, plug in an RTL-SDR stick, and it runs with no internet, no install and no server. This release grew a lot more than planned, so here’s the tour.

    The headline: a Signal Monitor

    You can now watch up to eight signals at once while listening to something else entirely. Tune to a signal, hit Watch, and it becomes a coloured, numbered band on the spectrum. It’s measured continuously:

    • average and peak level, noise floor, S/N and occupied bandwidth;
    • occupancy, transmission count, average and longest transmission, and active versus silent time;
    • the interval between transmissions, flagged “Every 30 s” when it’s regular, so beacons stand out;
    • fades;
    • drift: right now in Hz per second, over 10 minutes in Hz per minute, and the total shift.

    Each signal can have its own speaker, panned left to right, with Solo, and levelled so a fading AM station doesn’t blow your ears off. ⏺ records a clip of every transmission, starting 1.5 seconds before the squelch-style detector even notices it, and you can save the whole log as CSV.

    Analyse takes about 6 seconds of a signal and works out what it is without retuning: Morse speed, FSK shift and baud rate, PSK symbol rate, AM, FM or SSB. It also names the standard mode it matches: RTTY, NAVTEX or DSC, PSK31 or PSK63, weather RTTY. A fun bug along the way: real RTTY sends a 1.5-bit stop bit, so a naive baud estimator comes out at exactly twice the true rate.

    Follow keeps the band locked onto a drifting signal. The obvious test case is a satellite pass, where the Doppler shift sweeps the frequency down by several kHz, fastest at closest approach. So the demo now includes a simulated satellite beacon on 145.900 MHz that does exactly that. The band, its speaker and (if you’re tuned to it) the radio itself all track it, and Drift now traces the Doppler curve live.

    SDRplay RSPs over the network: Lite mode

    2.3 added SDRplay RSP support through SDRplay’s SDRconnect WebSocket API. The catch is bandwidth: raw IQ at 2 MHz is about 8 MB/s, and the new 10 MHz wide view is about 40 MB/s, which means wired gigabit.

    Lite mode asks SDRconnect for its own demodulated audio and its spectrum instead of IQ: about 0.2 MB/s, roughly a fortieth, at any width. OFFgrid keeps SDRconnect’s VFO, mode and filter in step with its own UI, and levels SDRconnect’s audio to match. It also aligns SDRconnect’s spectrum with the full-stream one by cross-correlating them when you switch, because the API doesn’t document exactly where the bins sit. The audio decoders, waterfall and monitor all keep working; only the IQ-hungry features (DAB, DRM, AIS, VDL2, waterfall replay) need the full stream.

    Also new for RSPs:

    • Wide views: 6, 8 and 10 MHz, with a span switch in the header.
    • Panorama: now simply the RSP’s own 10 MHz view.
    • A network speed test on the Test button.
    • The RSPdx’s Antenna C: properly handled. SDRconnect only lists it below 200 MHz.


    DAB that survives the real world

    DAB gained a forgiving re-lock. When samples go missing (USB hiccups, Wi-Fi gaps), the receiver finds its place again within the next frame and marks the lost frames as erasures for the error correction to deal with. You get a blip at most, instead of a second or more of silence while it searches the whole multiplex again.

    That broke something real first. The BBC’s national multiplex is a single-frequency network: the same signal arrives from several transmitters at once, offset in time. My “is this symbol damaged?” test was reading those perfectly normal echoes as damage, and a strong multiplex decoded nothing. Fixed, and the demo multiplex now has a second “transmitter” so the self-test catches that class of bug.

    New bands

    • LW, 100–500 kHz: broadcasters, NDBs, the 136 and 472 kHz amateur bands, and NAVTEX. The demo has a navigation beacon sending its ident in slow Morse.
    • CB US (AM), CB Europe...
    Read more »

  • OFFgrid-SDR 2.3: SDRplay RSPs over the network, Journaline news on DRM, and a lot of detective work

    diddy • 11/14/2026 at 16:23 • 0 comments

    OFFgrid-SDR 2.3 is out! It’s still a single HTML file that runs entirely in your browser, with no installs, no internet, and no server, but this release opens the door to a second family of radios.

    SDRplay RSPs, over your network

    Until now, OFFgrid-SDR has been all about the humble RTL-SDR stick on USB. 2.3 adds support for SDRplay’s RSP receivers, through SDRplay’s own SDRconnect software and its WebSocket API. Run SDRconnect’s headless server on the computer the RSP is plugged into (a Raspberry Pi in the shed works nicely), point OFFgrid-SDR at its address, and press Power on. Since there’s no USB on OFFgrid-SDR’s side, the user doesnt have to plug a RTL stick in to use if a SDR connect server is running.

    Users can use the RTL SDR when mobile and connect to the SDR connect at home on the home network.

    Along the way it learned some RSP manners:

    • Antennas can switch by frequency on the RSPdx: Antenna A from 30 MHz up and Antenna B below by default, all changeable, including custom ranges for that medium-wave loop on Antenna C.
    • Gain handling made for RSPs. They have two gain stages, and full front-end gain overloads easily on a busy band, so the slider keeps the last tenth for full gain, and Auto picks the middle LNA state for each band.
    • A NET badge shows the connection’s health: green, amber or red, with the network speed, buffer and RSP settings a hover away.

    There’s a full setup guide (SDRconnect.md) in the repo, including how to run SDRconnect’s headless server as a systemd service on a Pi, so it’s always ready.

    DRM gets news, and gets tougher

    • Journaline news pages: when a DRM station sends them (All India Radio does), a News button appears, with menus, articles and lists.
    • Riding through fades: instead of stopping to rebuffer, a fade is now bridged silently, and frames caught in a fade are decoded a second and third time. On one fading recording of TDF, dropped frames fell by over a third.

    The detective stories

    Real-world testing on three setups turned up some fun puzzles:

    • The mystery lines on the DAB waterfall. Dark lines appeared across the band every few seconds, on an RTL stick and an RSP alike. The culprit turned out to be DAB itself: every 96 ms frame starts with a 1.3 ms “null symbol” of near-silence, and on a wide waterfall each line used just 1 ms of signal, so now and then a line fell entirely inside one. Each line now spans 4 ms, and the lines are gone.
    • DAB cutting out, but only through one RSP. That one turned out to be a 1 GB Raspberry Pi 4 swapping memory to its SD card with the desktop running, dropping samples on the way. Raspberry Pi OS Lite fixed it completely, and that lesson is now in the guide.
    • FT8 sounding humming and noisy. Changing from USB to FT8 was quietly switching off the noise blanker and hum filter. They now stay on for CW and the digital modes, where they can only help.

    And the rest

    • RTL, NET or DEMO shown beside the band name, so you always know what you’re listening with. Hovering over NET shows network statistics.
    • Plain-English messages when the stick can’t tune (including the classic “upconverter switched on with no upconverter”)
    • The display rests when the radio’s off, saving power on laptops and tablets
    • Sharper DAB logos, the screen kept awake on tablets, and a noise blanker doing 40% less work for the same result
    • Backups are now checked as they load

    Download

    Grab it from GitHub: https://github.com/diddy-boy/OFFgrid-SDR/

    Just download index.html and open it in Chrome or Edge. If you’re on 2.2, Check for updates will point you to it too.

  • OFFgrid-SDR 2.2: aircraft datalink, DAB pictures, and a radio that holds up on old hardware

    diddy • 11/09/2026 at 01:13 • 0 comments

    Version 2.2 is out. It started as a tidy-up of the DAB receiver added in 2.1 and grew into the biggest release yet: a new aircraft datalink decoder, station text and pictures for DAB and DRM, a systematic test of every kind of DAB audio, and a lot of work making everything lighter on modest hardware. As always, it’s a single HTML file that runs offline in a Chromium browser with an RTL-SDR stick plugged in. No install, no server, no internet needed once it’s loaded.


    The source, the full changelog and the licence notices (including the small pl_mpeg changes) are on GitHub at https://github.com/diddy-boy/OFFgrid-SDR, where you can also download the latest version.

    Requested on GitHub: VDL2 and full screen

    Two features in this release came straight from GitHub requests.

    VDL2 decoding. VDL Mode 2 is the digital successor to ACARS: aircraft and ground stations exchanging short D8PSK bursts at 10,500 symbols a second, around 136.6 to 137 MHz. OFFgrid-SDR now decodes every VDL2 channel in the stick’s view at once, picking the channel set from your locator (six channels in Europe, four in North America, or the worldwide common channel at 136.975 MHz). ACARS messages carried over VDL2 are shown in full, with registration, flight, label and text. The network traffic (CPDLC and friends) and the acknowledgements are summarised, and there’s a “Messages only” switch to hide the chatter. Each aircraft’s country is looked up from its 24-bit ICAO address using a built-in table, so it works with no internet connection at all.

    The decoder was written from the standard rather than ported. To keep myself honest, I built dumpvdl2 locally and used it as an oracle: first to prove a VDL2 transmitter I wrote for the demo was correct, then to check the receiver against a real recording made near a local airport. On that recording, OFFgrid-SDR decodes the same four frames dumpvdl2 does, including a Ryanair position report. Along the way, the testing caught a Reed-Solomon bug, an HDLC framing bug, and a missing filter that was costing a few dB on weak bursts. The decoder runs in a Web Worker, and a shared channeliser plus some hot-loop tuning took six channels from 80% of a core down to around 11%.

    Full screen / kiosk mode. Another requested feature. A button at the end of the top bar, or the F key. Handy for a tablet or a dedicated listening station. Should work for Android users.

    DAB and DAB+: text, logos and SlideShow

    The DAB receiver now shows each station’s “now playing” text and programme type. Station logos are decoded from the multiplex’s SPI service, the way the BBC sends them, and stored per multiplex, so a first visit collects them over a few minutes and later visits show them instantly. The SlideShow pictures a station sends inside its own audio stream (much more common in mainland Europe than in the UK) appear in the logo’s place: the latest slide if there’s no logo, or each new slide for ten seconds before the logo returns.

    Testing on real multiplexes was revealing. The BBC’s national multiplex sends logos over the air; the two UK commercial multiplexes I recorded send no pictures at all, since their radios fetch logos online. So the tooltip now says plainly when a multiplex doesn’t broadcast logos, rather than implying they’re on their way.

    The bugs a test matrix finds

    A user recording of the Sound Digital multiplex showed four MP2 stations playing silence. They used MPEG-2’s 24 kHz mode, whose 48 ms frames span two DAB CIFs; the receiver was cutting them in half, and the MP2 decoder rejected them outright. Fixing that meant three small changes to pl_mpeg, including one to its frame-sync search, which only recognised 48 kHz headers.

    That prompted a proper test matrix, so stations in other countries wouldn’t hit similar surprises: all 96 DAB protection profiles carried through a simulated transmission with noise, 51 MP2 combinations checked against ffmpeg, and 16 DAB+ profiles (AAC-LC, HE-AAC,...

    Read more »

  • OFFgrid-SDR 2.1: DAB, DAB+ and xHE-AAC DRM, all in the browser

    diddy • 11/02/2026 at 18:18 • 0 comments

    Version 2.1 is out, and it’s the biggest update yet. OFFgrid-SDR now plays DAB and DAB+ digital radio and DRM in xHE-AAC, still from a single HTML file, with no installation and no internet connection needed once it’s downloaded.

    I’ll be honest: these two features were a lot of work, far more than anything before.

    DAB and DAB+, from scratch

    There’s no DAB library you can drop into a web page, so the whole receiver is written from the DAB standard itself, in JavaScript running in a background worker:

    • The radio side: locking onto the multiplex using its null symbol and phase reference, frequency correction to a fraction of a hertz, and differential QPSK demodulation of 1,536 carriers, with each carrier weighted by how reliable it is.
    • The data side: Viterbi decoding, time de-interleaving across 16 frames, both of DAB’s protection schemes (EEP and the older UEP), and a Reed–Solomon decoder for DAB+.
    • The sound: DAB+ (HE-AAC) through FAAD2, and the original DAB’s MP2 through pl_mpeg, both compiled to WebAssembly.

    Then came the debugging. Real broadcasts found bugs that test signals never would: an 8-bit overflow that had me decoding a slice of Radio 2 while calling it Radio 1 Dance; a frequency correction quietly doubling the error instead of removing it; and a setting in FAAD2’s DRM support that threw away half of every real DAB+ station’s audio frames. I fixed that last one with a small, documented patch to FAAD2.

    Tested off air on BBC National DAB (12B) with an ordinary RTL-SDR stick, on both a DAB+ station and an MP2 one. Tune anywhere in a multiplex with AUTO on, and it finds the channel, switches to DAB and lists the stations. Click one to listen, or let it start one for you. The box shows each station’s format, bit rate and channels, plus the signal in dB, and if the sound can’t be played, it tells you why.

    xHE-AAC for DRM

    More and more DRM broadcasters are moving to xHE-AAC, the newer, more efficient codec. OFFgrid-SDR now plays it using libxaac, the decoder inside Android, compiled to WebAssembly. Getting there meant translating DRM’s compact codec description into the standard form libxaac expects, building a stand-in for a C library feature WebAssembly lacks, and checking the result against a real broadcast recording: it matches Fraunhofer’s own decoder almost sample for sample, stereo included.

    Try it without a stick

    The demo mode now includes a real DAB multiplex (“OFFgrid DAB” on 12A, with a DAB+ and an MP2 station) and two DRM stations, one in AAC and one in xHE-AAC. These aren’t recordings: they’re genuine signals built from the standards, decoded by the same receivers that handle off-air signals. So the demo is a real test that everything works, and a way to try OFFgrid-SDR before buying any hardware.

    Free and open

    OFFgrid-SDR is free software under the GPL. Every decoder built in has its exact source and build script in the repository, and each one rebuilds byte-for-byte.

    👉 Download it from GitHub: https://github.com/diddy-boy/OFFgrid-SDR

    As always, feedback and reception reports are very welcome. I’d especially love to hear from anyone with DRM xHE-AAC stations in range, since I can’t receive any from the UK. 73!

  • OFFgrid-SDR 2.0: DRM digital radio in a single HTML file

    diddy • 10/30/2026 at 00:18 • 0 comments

    OFFgrid-SDR 2.0 is out, and the headline feature is one I wasn’t sure was possible when I started: DRM (Digital Radio Mondiale) decoding, with sound, running entirely in the browser, still in a single offline index.html file, still driven by a plain RTL-SDR stick over WebUSB.

    Adding DRM was by far the most work in this whole project. Everything else in 2.0 (6 m and 4 m bands, a wider status line, a batch of fixes) took days. DRM took most of the development time, and it fought back at every stage.

    Why DRM is hard

    DRM is digital broadcasting on long, medium and short wave. On the waterfall it’s a flat block about 10 kHz wide, and when it’s received well it sounds close to FM. Under the hood, it’s a serious piece of engineering:

    • OFDM with around 200 carriers, in four “robustness modes” (A to D) with different symbol and guard lengths, chosen by the broadcaster for the propagation it expects.
    • Pilot cells scattered through every frame, with phases defined by formulas and tables in the ETSI standard (ES 201 980), which the receiver uses to measure and undo the channel.
    • Three channels in every signal: the FAC (fast access channel: the signal’s settings), the SDC (service description: the station’s name and audio settings), and the MSC (main service channel: the audio).
    • Multilevel coding: 16-QAM or 64-QAM, where each constellation point carries bits from two or three separately coded levels, decoded one after another, each re-encoded to help decode the next.
    • Interleaving over up to 2 seconds, so a fade only damages scattered bits that the error correction can repair.
    • The audio itself is AAC, usually with SBR and often parametric stereo, packed into DRM’s own “audio super frames”.

    There’s no shortcut: you build the receiver, layer by layer, and every layer has to be bit-exact before the next one can even be tested.

    How it came together

    I built it in stages, testing each against real off-air DRM recordings from the Dream project’s sample set before moving on:

    1. Finding the signal: correlating the signal with itself one symbol later finds the guard intervals, which give the robustness mode and the symbol timing.
    2. Locking frequency and frames: the frequency pilots fix the carrier offset, and the time references mark each 400 ms frame.
    3. The FAC: channel estimation from the gain references, then 4-QAM, de-interleaving, Viterbi decoding and the CRC. Seeing 32 of 32 frames pass their CRC on a real broadcast was a great moment.
    4. The SDC: the 16-QAM multilevel decoding came next, and the first station name appeared: “RTL DRM”.
    5. The audio: cell de-interleaving across 5 frames, three-level 64-QAM decoding, and the audio super frames, then into FAAD2, compiled to WebAssembly with its DRM support and embedded in the page. The first decode gave 410 of 410 AAC frames, and actual audio.

    The tables (pilot phases, cell positions, puncturing patterns) come from Dream, the open-source DRM receiver, which made a reliable reference. That’s also why OFFgrid-SDR is now GPL-3.0.

    The bugs that made it hard

    Each of these took a long time to find, and each was invisible until the right recording came along:

    • The whole-carrier phase turn. A frequency offset of a whole number of carriers doesn’t just shift the signal along the FFT: because each FFT window steps a full symbol (guard included), the phase also turns from symbol to symbol. One recording happened to sit at an offset where that turn was a whole number of revolutions, which hid the bug until the next recording broke it.
    • Pilots sharing cells. In modes A, C and D, some gain references land on the same cell as a frequency pilot, and the frequency pilot wins. Treating it as a gain reference poisoned the channel estimate in exactly two symbols of every mode A frame. Mode B never collides, which is why the first recordings were perfect.
    • A stack overflow in WebAssembly. FAAD2’s parametric stereo decoding overflowed WebAssembly’s default 64 kB stack,...
    Read more »

  • OFFgrid-SDR 1.9: ships, APRS, a proper clock and HF upconverters

    diddy • 10/26/2026 at 15:09 • 0 comments

    Version 1.9 of OFFgrid-SDR is out! It's still one single HTML file: put it on a pen drive with an RTL-SDR stick, open it in Chrome or Edge, and you've got a full receiver with no installing, no internet and no account.

    Download it here: https://github.com/diddy-boy/OFFgrid-SDR

    This release adds two new VHF decoders, gets the clock right without the internet, and supports HF upconverters, after a request from one of OFFgrid-SDR's users.

    NEW: AIS SHIPS

    • Ships' AIS is decoded on both marine channels at once (161.975 and 162.025 MHz).
    • Each vessel gets one row, updated as it's heard: name, type, distance and bearing from you, speed, course, at anchor or moored, and where it's heading.
    • Hover over a ship for its MMSI, flag, call sign, size, draught and ETA. Coast stations and buoys show up too.
    • Only messages that pass their CRC check are shown, so no garbage.

    NEW: APRS

    • Radio amateurs' positions, weather stations, messages and status on 2 m.
    • Cars, walkers and balloons with their distance, bearing, speed and height; weather in °C, km/h and hPa.
    • Choosing APRS goes to the right frequency for where you are: 144.800 MHz in Europe, 144.390 in North America, 145.175 in Australia, and more in a list (the ISS too).

    NEW: SETUP AND A SMARTER CLOCK

    FT8, FT4 and WSPR need an accurate clock, which is hard with no internet. 1.9 tackles that properly:

    • A first-time setup (only when you first pick FT8, FT4, WSPR or Time signal): it sets your location, then finds a shortwave time station. That station's carrier calibrates your stick, and its time code sets the clock. Skip it any time.
    • Clock details: how far out your computer's clock is, how fast it drifts, and how to set it.
    • OFFgrid-SDR learns how fast your computer's clock drifts, and follows it between checks.
    • WSPR now decodes even with the clock a minute or so out, then corrects it to a tenth of a second. A laptop that's been off-grid for weeks comes right just by listening to WSPR.

    NEW: HF UPCONVERTER SUPPORT

    • Ham It Up and similar converters: Settings → Device → HF upconverter.
    • Auto sends MW, shortwave and HF through the converter and tunes FM, airband and VHF straight through, reminding you which way to flip the converter's switch.
    • The frequency shown is always the real one. Off by default.

    ALSO NEW

    • The FM band follows your country (US 200 kHz steps, Japan's 76–95 MHz, and others).
    • Each stick remembers its own frequency correction.
    • The demo has new stations: ships in Liverpool Bay, and an APRS station.

    FIXED

    • AUTO no longer mistakes a fading broadcast station for Hellschreiber.
    • The clock correction now remembers where it came from after a restart.
    • Memories stay safe while a settings backup is being imported.
    • Demo mode could switch the radio off when going from VHF back to shortwave on some computers. Found and fixed.
    • Demo mode can no longer freeze a busy computer, and its 40 and 41 m bands run more than twice as fast.

    As always, it's free. Grab it from GitHub, give it a go, and let me know what you think in the comments. Bug reports and feature requests are very welcome: the upconverter support came from exactly that.

    https://github.com/diddy-boy/OFFgrid-SDR

    73!

  • OFFgrid-SDR 1.8: WSPR, radio time signals, deeper FT8

    diddy • 10/23/2026 at 09:29 • 0 comments

    Version 1.8 of OFFgrid-SDR is out. It’s still the same idea: a complete RTL-SDR receiver in a single HTML file that runs in the browser, with no installation, no drivers on most systems, and no internet. This release is about weak signals, propagation and time: hearing more, seeing where the bands are open, and keeping an accurate clock far from any network.

    Deeper FT8 and FT4

    On a busy band, strong FT8 stations hide weaker ones underneath. 1.8 does what WSJT-X does: once a message is decoded, its exact signal is known, so OFFgrid-SDR rebuilds it, including the smoothed frequency changes real transmitters use, fine-tunes its timing and frequency against the audio, and subtracts it. Then it decodes again, up to three times.

    On a busy simulated band that finds about one extra station in five, and weak stations hidden under strong ones went from 1 in 18 to 10 in 18, with no false decodes. Stations found that way are marked with a ◆, and the number of passes adapts to the computer so a decode always finishes inside its slot.

    WSPR

    WSPR beacons send a callsign, locator and power level over two minutes, and can be decoded around −28 dB, far below anything you can hear. OFFgrid-SDR’s WSPR decoder is written from the published protocol, and its encoder was checked against an independent one. It uses a Fano sequential decoder, as WSJT-X’s wsprd does, because the code’s constraint length of 32 is far too long for Viterbi. In testing it decoded down to −28 dB, and never produced a wrong message.

    Two extras came naturally. WSPR stations all transmit within 1400–1600 Hz of the dial, so if they land elsewhere, OFFgrid-SDR knows how far off your stick is and offers to correct it. And FT8, FT4 and WSPR now listen from 1.5 kHz below the dial, so an uncalibrated stick doesn’t push stations out of reach.

    Who can I hear?

    A new Heard view sums up every FT8, FT4 and WSPR decode band by band: how many stations and countries, the farthest one, which compass directions the band is open towards, and whether it’s rising or fading. A band survey hops through 80 to 10 m in about five minutes, so you get a picture of HF propagation from your own antenna, worked out entirely on your own computer.

    Radio time signals

    FT8 and WSPR need the clock right to within a second or so, which is a problem for a laptop that’s been away from the internet for weeks. 1.8 reads the time from the shortwave time stations:

    • CHU (Canada): the full date and time from its FSK time code, in about 15 seconds
    • WWV and WWVH (USA): the full time from the 100 Hz time code, at the end of each minute
    • RWM (Russia): the exact second, from its pulses

    If a station is too weak for its time code, its second ticks still set the seconds. If none can be heard at all, you can set the time by hand from a phone, and FT8 fine-tunes it from there.

    Getting this robust was a lesson in itself. One version could accept a confidently wrong time when the same bit error hit both copies of CHU’s repeated data, so a time is now only taken when copies from different seconds agree. MSF and DCF77 would have been nice too, but they’re below the range of RTL-SDR sticks.

    The library bugs, fixed upstream

    The MacBook restart bug from 1.7, where reception came back 36 dB weaker after power off and on, finally has its real cause. Jacobo Tarrío, author of the webrtlsdr library OFFgrid-SDR is built on, tracked it down: after a restart, the gain value was being lost, so the tuner fell back to automatic gain. His new releases fix that, along with the restart frequency drift and a stop() that could hang after the stick stopped sending. OFFgrid-SDR now uses his library exactly as published, and no longer carries its own patched copy. A test build with all my workarounds removed passed every check on real hardware.

    A bigger internal self-test

    The built-in self-test now has 48 checks, covering every new decoder. It earned its keep again. It found that the demo’s busiest band couldn’t keep...

    Read more »

View all 16 project logs

Enjoy this project?

Share

Discussions

diddy wrote 10/19/2026 at 23:27 • point

This has been fixed for version 1.6

  Are you sure? yes | no

diddy wrote 10/09/2026 at 06:45 • point

thanls for the tip and yes I agree the DC spike was a pain. even on the panorama view 

  Are you sure? yes | no

Kritish wrote 10/08/2026 at 13:33 • point

The DC spike folding to 1.5 kHz from the dial is a great bug, but it means anything else strong at that offset folds in the same way, so a nearby station can show up as a phantom too. Ignoring the spike where it folds fixes AUTO for that one case, and a steeper decimation filter on the last stage fixes it for everything. Tuning the stick a couple hundred kHz off and shifting digitally also keeps the spike out of view entirely. On replay, 60 s at 2.048 MS/s is about 246 MB in one tab, which Chrome on Android may kill, so capping that option on phones could save you some confusing bug reports.

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates