Open-source HF data modem

ProjectUltra

Send files and messages between amateur radio stations over HF SSB, through the sound card interface you already have. The modem measures the channel and keeps adapting, from a weak-signal mode that holds at −10 dB SNR up to about 5 kbps on a clean path.

Latest: v0.6.4.3-pre-alpha · MIT license · Linux, macOS, Windows, Raspberry Pi 5
ProjectUltra desktop app receiving a file over a simulated ITU Good fading channel at 20 dB: 8PSK constellation, waterfall showing the fade, message log with rate changes and a 68 % progress bar
The desktop app receiving a file over a simulated fading channel. The modem drops from 8PSK to QPSK in a fade and climbs back, without operator action.

What it does

Adapts continuously

Picks its waveform, modulation and code rate from what it measures, and changes them mid-transfer as the band fades in and out.

Works when signals are weak

Constant-envelope 16-FSK uses your transmitter's full power and keeps the link up near −10 dB SNR, where most data modes have given up.

Fast when the band is good

59-carrier OFDM in 2.8 kHz, QPSK through 64QAM with turbo coding, around 5 kbps of delivered file data on a clean channel.

Reliable delivery

Selective-repeat ARQ, soft combining of repeats and short tone acknowledgements. Files arrive byte-exact, CRC-checked.

Built for real radios

Peak control for PEP-limited transmitters, half-duplex turn-taking, and tracking of dial offset and sound-card clock drift between stations.

TNC and desktop app

ultra_tnc serves the TCP command/data ports HF data clients already use. ultra_gui adds a waterfall and constellation view.

One link, three modes

The link starts in the most robust mode and moves up or down as the SNR changes. No operator choice needed.

MC-DPSK · 16-FSK, DQPSK Wideband OFDM · QPSK → 16QAM → 64QAM Narrowband OFDM (500 Hz), when asked for −12 dB −5 3 10 18 25 30 dB SNR in 3 kHz (simulated, AWGN)

Measured performance

Two complete stations, full protocol in real time, over a channel simulator with ITU-R F.1487 fading, a dial offset between the radios, half-duplex keying and peak-limited transmitters. Goodput is file bytes delivered and verified per second, retransmissions included.

ChannelPeak SNRGoodputMode
Clean (AWGN)25 dB6.8 kbpsOFDM
Clean (AWGN)20 dB5.1 kbpsOFDM
Clean (AWGN)10 dB1.8 kbpsOFDM
ITU Good fading20 dB2.1 kbpsOFDM
ITU Good fading12 dB1.2 kbpsOFDM
ITU Moderate fading25 dB2.2–2.4 kbpsOFDM
Clean (AWGN)−10 dBconnects, ~20 bps16-FSK

Simulator results, not yet confirmed over the air at scale. The full table is in the README.

Alpha testers wanted

ProjectUltra needs real HF paths now. Any licensed operator with an SSB radio and a sound card interface can help, and pairs of stations that can schedule tests together are especially valuable. Even a failed session tells us something the simulator cannot.

The GUI's Report… button saves a diagnostics bundle (received audio and event log) you can send back after a session. One-station tests help too: a recording of your band noise, or your signal heard on a remote web SDR.

Get in touch on Discord: @MathVac, or open an issue on GitHub.

Get started

Download projectultra-<platform>.zip from the latest release, or build from source (CMake, C++20, SDL2).

# Desktop application
./ultra_gui
./ultra_gui -sim      # two simulated stations, no radio needed

# Headless TNC for an HF data client (TCP 8300 commands, 8301 data)
./ultra_tnc --audio-output "USB Audio Device" --audio-input "USB Audio Device" --callsign N0CALL

Radio: an SSB transceiver with a 2.8 kHz filter, a USB sound card or interface, PTT by VOX, CAT or a hardware line, and TX audio set below ALC action. Both stations must run the same version: the protocol still changes between pre-alpha releases. Operator guide.