Skip to content

Decoders

github-actions[bot] edited this page Nov 15, 2026 · 7 revisions

Decoders

gtty runs several demodulators on the same audio and lets them vote. Each engine has its own receive pane; the Best guess pane shows the merged result and is what GridTracker, the XML-RPC server and the session file see.

The engines

Engine What it is Default
A: matched filter An MMTTY-style decoder: complex mixers at mark and space, matched filters, per-tone ATC, soft start and stop bit decisions, AFC Normal mode, pane shown, votes
B: matched filter A second instance of the same decoder with different settings, so two views of a fading signal are available at once Flutter mode, pane shown, votes
Correlator A joint-timing character decoder in the Gritty style. It correlates whole 7-bit characters against all 32 Baudot templates and picks the best start instant, so it has no separate bit clock to lose in a fade Enabled, pane hidden, votes
codec2 FSK The FSK demodulator from libcodec2, as a comparison engine. Only present when gtty was built with libcodec2 Disabled

On the W6IWI off-air beacon recordings used for tuning, the engines measure as follows (character error rate, lower is better):

Engine 40 m, weak with deep fading 20 m, fading
A, Normal 9.0 % 4.3 %
B, Flutter 12.3 % 5.6 %
Correlator 6.4 % 4.3 %
codec2 17.3 % 4.9 %
Best guess (vote of A, B, Correlator) 7.8 % 4.1 %

Matched-filter modes

Engines A and B have a mode dropdown in their pane header and under Preferences → Decoders:

Mode Settings When to use it
Normal 0.6-bit Hann filter, 0.3 s ATC Everyday use
Selective 1.0-bit Hann filter, 0.25 s ATC Narrower: a crowded band, a strong neighbor, a strong signal
Flutter 0.5-bit Hann filter, 0.3 s ATC, 25 % decision cell Wider and faster: polar flutter, rapid fading
Custom The three values set in Preferences Experiments

The three custom values are:

  • Matched filter length in bit periods (0.3 to 2.0). Shorter is wider in bandwidth and follows flutter; longer is narrower and rejects neighbors.
  • Filter window: boxcar is the true matched filter for rectangular FSK; Hann rejects adjacent signals better.
  • ATC time constant in seconds (0.02 to 3.0).

Running A in Normal and B in Selective or Flutter is the usual arrangement: when one pane prints garbage in a fade the other often still reads.

Per-engine switches

Each engine has three switches in Preferences → Decoders:

  • Enabled: the engine runs. Disabling an engine saves CPU.
  • Show its RX pane: the engine's text is displayed. The Correlator's pane is hidden by default; its opinion still counts in the vote.
  • Takes part in the best-guess vote.

codec2 decides about half a second later than the others, so letting it vote delays the merged pane. It stays non-voting by default.

Best guess

The engines' characters are aligned in time and each position is decided by a confidence-weighted vote. Between transmissions the engines print different noise, so the vote only starts printing when the engines agree with confidence, holds back a doubtful character inside a transmission until a sound one follows, and drops a run of doubtful ones. The pane therefore shows less noise than the engine panes, and a weak character can appear a moment later than it does in them. The merged stream appears in the Best guess pane and feeds GridTracker, the XML-RPC server, the session file and callsign reporting. The pane can be hidden under Preferences → Decoders if you prefer to read the engines directly.

During the first second of a new signal only one engine may have an opinion, so the merged pane can miss the first characters while the engine panes show them.

Skimmer

The Skimmer runs a decoder every 50 Hz (configurable from 20 to 200 Hz) across the whole waterfall range, so every RTTY signal in the receiver passband is decoded at once. Turn it on with Skimmer in the menu or under Preferences → Decoders. It uses CPU in proportion to the passband width and the channel step.

Stations appear in the Skimmer page of the sidebar, sorted by frequency, with the RF frequency they were heard on (it stays put when you QSY), the callsign found in the text (or ? until one has been seen), the age of the last decode and the last few characters received. Rows are colored from the logbook: a new callsign in the accent color, a dupe on this band dimmed.

Click a row to move the decoders to that signal and put the callsign in the Call field; for a station no longer in the receiver's audio after a QSY, the rig is retuned onto it. Entries disappear 90 seconds after the station was last heard.

Tick CQ only above the list to show only the stations calling CQ, with the runner's callsign, and not the stations answering them on the same frequency. A station stays in the list while it works the callers it got, until another station is heard calling CQ on that frequency.

Callsigns on the waterfall

As in WSJT-X Improved and FT8CN, each station the Skimmer identifies is labelled on the waterfall at its mark tone, and the label scrolls down with the signal's trace. A station gets a label when its callsign follows DE or CQ or has been received twice (the rules of the spot feed, so noise does not make labels), and a new one every 20 seconds while it is still heard, when it moves, or when what it is doing changes. Colors:

Label Meaning
Green Calling CQ or TEST (the station calling, not one answering it)
Red Your callsign is in what it sent
Grey A dupe on this band in the logbook
Dark Anything else

Click a label to tune to that station and take its callsign, as with a Skimmer row. Turn the labels off under Preferences → Decoders → Skimmer → Callsigns on the waterfall.

A contest logger can show the same stations in its own band map: see Skimmer spot feed.

Tip: With a wide receiver filter (2.4 kHz or more) and the Skimmer on, you can see the whole RTTY segment at once and work stations by clicking them, which is how a contest run on search-and-pounce goes fastest.

The radio's built-in decoder

Some radios print what their own RTTY decoder reads as plain text on a serial port. gtty can show that text in a pane of its own, Radio, next to the engines. Turn it on under Preferences → Decoders → Radio's built-in decoder:

Setting Meaning
Show what the radio decodes Opens the port and shows the Radio pane
Serial device The port the radio prints on, for example /dev/ttyUSB1. Not the CAT port
Serial speed Must match the radio's Decode Baud Rate (9600 by default here)

On the radio:

  • Icom IC-7610, IC-9700, IC-7300MKII: the USB cable carries two serial ports. Set USB (B) Function to RTTY Decode and note the Decode Baud Rate. The first port (A) stays free for CI-V.
  • Icom IC-7300 (the original): there is one serial port, which carries either CI-V or the decoder (USB Serial Function). With the decoder on it, rig control needs the rear CI-V (REMOTE) jack and a CI-V interface, or no rig control at all; the Radio pane works either way.
  • The radio's RTTY decoder must be running (the DECODE screen), in RTTY mode.

The port may be the one whose DTR or RTS line keys FSK or PTT: gtty reads it and keys it at the same time. It cannot be the port used for UART FSK, nor the rig control port.

What to expect:

  • The Radio pane gets the same callsign, CQ and report highlighting as the others, and a click picks a word from it.
  • The radio's text does not take part in the best-guess vote: it arrives without timing or confidence, so it cannot be aligned with the engines character by character. Loggers, GridTracker and the session file still read the Best guess.
  • While gtty transmits, what the radio prints is dropped; the pane shows gtty's own echo of the transmission, like the others.
  • Yaesu radios, the FT-710 among them, show their decoder on the screen only and do not print it on a serial port, as far as is known.

Note: This was written from a description of the Icom ports and tested against a simulated port only. Reports from a real radio are welcome in issue 15.

Other decoder settings

Preferences → RTTY also holds:

  • Stop bits (TX): 1.5 or 2. Receive tolerates either.
  • Character set: ITA2 (international) or US-TTY.
  • Unshift on space: return to letters after a space, as most amateur stations expect.
  • AFC range in Hz.
  • Net: transmit on received tones.

The command-line tool exposes the same engine parameters for decoding recordings, so settings can be compared on a file with a known text. See gtty-cli and the Development page.

Clone this wiki locally