The waterfall starts when audio plays.
DigiMode v1.16.1BETA
Copyright (C) 2026 William Allen, WA5PB
DigiMode is free software under the GNU General Public License, version 3 or later, and comes with NO WARRANTY. You may share and modify it under that license.
License, source and credits (opens in a new tab)
Mode specifications - each mode DigiMode decodes, in detail (opens in a new tab)
Order of operations: the audio input list is not re-read while the rig is connected, because Chrome re-enumerating audio devices with a serial port open hung the page with the Digirig's USB serial chip. Pick the input first, or Disconnect to refresh the list.
Audio file: plays a recording (WAV, MP3, OGG or anything else this browser can decode, at any sample rate) through the waterfall and decoder. Sound card: takes live audio from an input device such as the Digirig's USB audio codec, with the browser's echo cancellation, noise suppression and automatic gain turned off; set the Windows recording level so the meter peaks in the green. Generator: encodes text in the decoder's mode - PSK31 (differential BPSK, 31.25 baud, Varicode), PSK63 (the same at 62.5 baud), Olivia (8/250 or 8/500, with fldigi's start and stop tones), MFSK (MFSK16 or MFSK32, with fldigi's preamble and closing flush) or RTTY (45.45 baud, 170 Hz shift) - with one second of idle before and after (Olivia: a quarter second of silence and fldigi's start and stop tones; MFSK: a quarter second of silence either side), and moves the cursor onto it. With Add band noise ticked the signal is sent 20 dB lower - roughly 0 to 6 dB signal-to-noise in the 3 kHz passband, depending on the sound card - like a typical station on the air, so it looks on the waterfall the way the band would; without noise it is sent at full level, clean.
The waterfall sets its own level at every frequency: each column is shown against its own slowly tracked noise floor, so band noise reads as an even dark blue across the whole passband - low end included - and signals stand out equally anywhere in it. The dark bands at each edge are the K2's filter skirts. A narrow signal (PSK31, CW, an FT8 tone, a carrier) is never learned into the background however long it stays on. After a band change, a mode change or a large dial jump the level re-learns within a few seconds. When an audio file or the generator is playing and there is no noise under the signal at all (fldigi's test files, the PSK generator without band noise), the floor is held within 60 dB of the strongest signal, so the signal shows on a dark background instead of its faint far edges painting bright. This never applies to the sound card, so on the air a strong station never dims weak ones.
Click the waterfall to tune, or use ← → to nudge by 1 Hz (Shift for 10 Hz) while it has focus. The decoder follows the amber cursor; in PSK31 and PSK63, AFC then fine-tunes - within ±25 Hz in PSK31, ±40 Hz in PSK63 - and shows where it settled as a dashed green line. In Olivia there is no AFC to set: the sync finds the station anywhere inside the amber band and shows where as the same dashed line - so click the signal once and leave it, because every move of the cursor starts the sync again. In MFSK a click snaps onto the signal - anywhere on it will do - and AFC then holds it; see MFSK below.
On a phone the panels below the text are tabs - Audio, Tuning, Rig and Decoder - and the band buttons scroll sideways. Tap a signal on the waterfall: a fingertip is never exact, so in PSK31 and PSK63 the cursor snaps to the strongest signal within about 150 Hz of the tap, and in RTTY to the nearest pair within 150 Hz; if nothing stands out, the tap stands as made. In Olivia just tap the middle of the signal; in MFSK tap anywhere on it and it snaps, as a mouse click does. Then finish with − 10 Hz and + 10 Hz under the waterfall - hold either for 1 Hz steps.
Connect opens a serial port (Chrome, Edge, or Firefox 151 or later; 4800 8N2 for the K2's KIO2) - whichever you choose from the browser's list; see Choosing the port below. It first asks the rig what state it is in, then puts it into Auto-Info mode 1, after which the K2 reports frequency and mode changes by itself and the page stops polling. The only scheduled traffic is a heartbeat every 15 seconds - one read of the rig's display, which proves the link is alive and refreshes the display mirror at the same time - so the CAT hash is gone from the waterfall and the heartbeat's own faint tick comes once every 15 seconds. If the rig stops answering, the link says so after about 45 seconds. Before every command it sends, the page first asks the rig whether it is transmitting (TQ;) and sends nothing if it is. Changes you make at the radio appear here within a second or so. Disconnect always restores Auto-Info to off and releases the port, so the K2 CAT Terminal can have it. If the rig does not answer as a K2 would (ID017), the page says so as advice - it does not stop you.
Choosing the port. The browser lists every serial port the computer has - what Windows shows under Ports (COM & LPT) in Device Manager: a Digirig, a USB-serial adapter (FTDI, Prolific, CH340 or Silicon Labs), the computer's own built-in COM port, or a paired Bluetooth serial port. Pick the one wired to the K2's serial jack. A wrong choice does no harm: the page asks the rig to identify itself, and if no K2 answers the link says so. Avoid a Bluetooth port whose device is not switched on and in range - opening it can stall for some seconds. RTS and DTR are held off while the port is open - except while transmitting, when the PTT line you chose keys the rig - which suits an interface that keys the rig from either line, but not one that takes its power from them. A USB-serial adapter must be RS-232 level (not a 3.3 V or 5 V TTL board), and only transmit, receive and ground - DE-9 pins 2, 3 and 5 - should reach the K2.
On a phone. In Chrome on an Android phone, Connect talks to the serial adapter directly over USB (WebUSB), because Android's Web Serial cannot see USB-serial chips; plug it into the phone's USB-C port and choose it from the list. Three chips work this way: the Silicon Labs CP210x in the Digirig, the FTDI FT232R (for example FTDI's US232R cable), and the MCT U232 in the Belkin F5U109/F5U409. An FTDI or Belkin adapter carries only the serial link, so for receive audio put it and a Digirig (or another USB sound interface) on a USB hub between the phone and the rig; the phone has one USB port. A K2 reached through a Bluetooth serial adapter can be chosen with Use a serial or Bluetooth port instead. RTS and DTR are switched off before anything is sent, on every chip. Keep screen on (under Audio source) is ticked on a phone: while audio is running the screen stays on, so the phone does not sleep in the middle of a transmission; untick it to save battery. If you unplug the serial adapter, rig control stops; the audio stops only if its own input goes away - so unplugging a Digirig stops both, but unplugging an FTDI or Belkin adapter leaves the receiver running. DigiMode never carries on with the phone's own microphone. When you plug the same adapter back in, a USB serial adapter is back - Reconnect banner brings rig control back with one tap, and the audio too if it had stopped. On an iPhone or iPad there is no Web Serial or WebUSB, so DigiMode works there with audio only.
On Linux. Serial ports belong to the dialout group, and the browser opens a port as you, so your user must be in that group: run sudo usermod -aG dialout $USER, then log in again (a reboot is the sure way) and reconnect. Until then the port will not open, and DigiMode says so. A computer's own built-in DE-9 COM port works as well as a USB adapter.
The dial frequency and mode appear in the header, and the waterfall scale can read in RF kHz: USB adds the audio frequency to the dial, LSB subtracts it, and CW is referenced to the sidetone pitch.
Rig control. Tuning and changing band are one operation: a single frequency command, and the K2 changes band if the frequency is in another one. After a band change the page reads the rig's display to pick up the antenna, preamp and attenuator it recalled from band memory - ANT2 is shown in amber, because it cannot be seen from across the room. The band buttons follow the decoder's mode: each tunes the dial to that mode's channel on the band and, once the rig confirms it, puts the cursor where the signal will be - 1000 Hz for PSK31 and PSK63 (1150 Hz on 160 m), 1500 Hz for Olivia, MFSK and RTTY. MFSK uses the Olivia channels, because no current band plan publishes channels for MFSK. Hover over a button for its dial and offset, written as the K2 shows them. The buttons leave the sideband as the rig has it; the figures assume USB. QSY to cursor moves the dial so the signal the decoder is tuned to is parked at 1000 Hz, and retunes the decoder to follow it; click a signal on the waterfall first. With the keyboard, Alt with the up and down arrows steps the dial 100 Hz, Alt and Shift 1 kHz, and Alt with left and right 10 Hz. Rig control never keys the transmitter: transmit keys the rig by a line of the serial port, or by VOX - see Transmit.
Choosing the rig. The Rig list in the rig panel names every rig DigiMode has a definition for; pick yours before you connect (the list is locked while connected, and your browser remembers the choice). The K2 is verified on the air; the others are marked provisional - our best effort from flrig and Elecraft's programmer's references, not yet tried on a real rig. Each opens at its own rate: the K2 at 4800 8N2, the K3, K3S, K4, KX2 and KX3 at 38400 8N1, the TS-480s at 57600 and the TS-590s and TS-890S at 115200 (on the Kenwoods the rate is a menu setting - set the rig to match). Flow control is always off and RTS and DTR are always held off, because on many interfaces RTS keys the transmitter: a Kenwood whose COM port expects RTS/CTS may need its flow control turned off to answer. On a rig other than the K2 the page reads the frequency and mode once a second, cannot ask whether the rig is transmitting, and has no range of its own - any frequency is sent, and if the rig refuses it or goes elsewhere the page says so. The mode list starts with DATA, the rig's own mode for sound-card digital: USB on the K2 and TS-480s, DATA A on the other Elecrafts (MD6 then DT0), USB-D on the TS-590s and TS-890S (USB then DA1 - and DA0 when you pick another mode, or the rig's microphone stays off). The display mirror, DISPLAY, PRE/ATT and the antenna and preamp readouts are K2 features and appear only for the K2. On a phone, rig control is for the K2 only for now.
K2 display. The box in the rig panel mirrors the K2's own LCD - frequency, clock, or supply volts and amps (E13.8 I0.38 is 13.8 V at 0.38 A), whichever view the rig is on - with its decimal points where the rig draws them and its annunciators (NB, ANT2, PRE, ATT, B, RIT, XIT) lit as on the glass. It refreshes with the heartbeat, so the age beside it says how old the reading is. DISPLAY does what the rig's DISPLAY key does: it steps the K2 to its next view (frequency, clock, volts and amps) and reads it once the rig has finished redrawing. A reading that is still changing - a live current, say - is shown as last read and marked. PRE/ATT steps preamp on, then attenuator on, then both off, starting from whatever the rig is set to now; the button shows the current setting, read back from the rig after every click.
Experimental, on a computer. DigiMode transmits in whatever mode the decoder is set to - PSK31, PSK63, RTTY (45.45 baud, 170 Hz shift, sent as audio tones - AFSK - so set the rig to USB, LSB or DATA, not its own RTTY/FSK mode), Olivia 8/250 or 8/500, MFSK16 or MFSK32. The strip under the text holds it. Enable transmit is off every time the page loads. PTT says how the rig is keyed: RTS (the Digirig and most interfaces) or DTR - a line of the serial port, so Connect in the Rig panel first - or VOX, where the audio keys the rig and no line is touched. A port used only to key, such as microHAM Router's PTT port, can be opened with No rig control (PTT only) in the Rig list: no bytes are sent on it. Output is where the audio goes - the interface's USB audio device - and Level its drive: start low and raise it until the rig's power is where you want it, with little or no ALC. RTTY, Olivia and MFSK are constant-power modes, so a long transmission runs the transmitter hard - reduce power for long transmissions.
Put the cursor where you want to transmit - the middle of the signal you are answering, or a clear spot - type, and press Send (or Ctrl+Enter). The transmit frequency is the cursor, and it is held, with the decoder mode and the rig controls, until the transmission ends. Text typed while sending goes out as the transmission runs (in Olivia a block takes 2 seconds in 8/250, 1 s in 8/500, and carries three characters). What has gone out is shown in the text pane after [TX]. Each mode opens and closes in its usual way: PSK with a second of reversals each side, RTTY with mark and LTRS, Olivia with its start and stop tones, MFSK with its opening and closing frames (the closing flush takes about 3.5 s in MFSK16). With nothing typed, PSK sends reversals, RTTY sends LTRS, Olivia idle blocks and MFSK null characters - all of which a receiver ignores. End transmission sends what is typed, then the mode's closing, and unkeys; press it again to stop after the block (Olivia) or the character (the other modes) on the air. Abort, or Esc anywhere on the page, unkeys at once. RSID first sends the mode's ID before the transmission. With Unkey when text is sent ticked (the default) the transmission ends by itself once everything typed has gone out - keep typing and it carries on; unticked, it sends the mode's idle and stays keyed until you press End transmission, as fldigi does.
Safeguards. A transmission is ended cleanly at the Longest transmission length (5 minutes unless you choose otherwise), with a 30-second warning. If no key is pressed and nothing is clicked for 2 minutes, a 30-second "still there?" countdown starts, and then the transmission is ended - for operating from across the room, or over a remote-desktop link that has dropped. An end that does not finish within 10 seconds is cut. These run on the transmit audio clock, so a hidden or minimised tab keeps them. Closing the page, unplugging the serial port or losing the audio output unkeys; if the browser itself dies, the port closes and the line drops with it. Connecting a serial port raises RTS for a few milliseconds before the page drops it (Windows and Linux both do this), so the rig may click into transmit and out again as you connect; with an amplifier keyed from the rig, put it in standby while you connect.
Tick RSID above the text pane to listen for Reed-Solomon ID bursts - the 1.4-second, 15-tone announcement fldigi and other programs can send at the start of a transmission, naming the mode. The whole passband is searched, whatever decoder is selected. Each ID heard is marked on the waterfall at the burst itself, and scrolls away with it; the list beside the text keeps the time (UTC), the mode and the frequency - the radio frequency when the rig is connected. Click a PSK31, PSK63, Olivia, MFSK or RTTY row to tune the decoder to that station (an Olivia or MFSK row sets the submode too); other modes are listed so you know what is on the band. An ID tells you only the mode: no callsign. Most stations do not send one - fldigi ships with it off - so no ID does not mean no signal. On LSB the tones arrive upside down; the page takes the sideband from the rig, as it does for RTTY. An ID for the mode you are decoding, heard within 100 Hz of the decoder's frequency, restarts the decoder, so the text that follows the burst is copied cleanly; IDs for other modes never disturb the decoder. RSID first in the generator sends an ID before the text.
Choose the mode with the selector above the text pane. The phase scope shows the last 32 symbols: two clusters left and right mean a good decode; a ring means noise. Raise the squelch if noise prints characters, lower it for weak signals.
PSK31 at twice the speed: the same keyboard mode and the same character code, 62.5 baud, about 62 Hz wide - the amber band marks ±62 Hz. Choose PSK63 in the selector and click the trace, as for PSK31 - between the two idle lines, or on either one: AFC pulls in up to ±40 Hz in PSK63, and the phase scope works the same way. It needs roughly 3 dB more signal than PSK31 for the same copy, so on a weak or fading path PSK31 is the better mode. You will usually find it near the PSK31 cluster, on 20 m around 14.070-14.073. A PSK31 decoder on a PSK63 signal prints garbage, and a PSK63 decoder prints nothing on PSK31 - if a clean-looking trace will not copy, try the other. On the waterfall PSK63's two idle lines are about 62 Hz apart, twice PSK31's.
Olivia sends 8 tones in 250 Hz (8/250, 31.25 baud) or 500 Hz (8/500, 62.5 baud), with strong error correction: each character is spread over a 2-second block (1 second in 8/500), so it copies signals you can barely see - 8/250 prints clean text down to about -15 dB signal-to-noise in 3 kHz, and 8/500 about 3 dB less. Choose Olivia in the selector and the submode beside it, and put the cursor in the middle of the signal: the amber band marks its width (±125 or ±250 Hz), and the station can be anywhere inside it. Most activity is 8/250, around the calling channels - centres 14.0725 (20 m), 7.0725 and 7.040 (40 m), 10.143 (30 m); with the dial 1.5 kHz below a channel, the signal sits at 1500 Hz. 8/500 is heard now and then. The price is time: text starts about 10 seconds after an 8/250 transmission begins (5 s in 8/500), and the last words print that long after it ends - be patient before you move the cursor. If the other station changes submode mid-QSO, switch the selector: what the old submode still held is printed first. The small panel shows the sync instead of a phase scope: the dot is where it found the station across the band, and the figure its S/N - text can print only while it is amber. The squelch sets that threshold (0.6 is the default; at 0 noise prints). A steady carrier inside the band - such as a local birdie - is removed before decoding. fldigi's start and stop tones (the two outer tones, low-high-low-high) are not printed as text, and nor is a station just outside the band. The page takes the sideband from the rig, as for RTTY; tick Reverse only for a station sending upside down.
MFSK16 sends one of 16 tones 15.625 Hz apart, 15.625 times a second; MFSK32 the same at twice the spacing and speed - about 250 Hz and 500 Hz wide. Both carry a strong error-correcting code, so MFSK16 prints clean text down to about -11 dB signal-to-noise in 3 kHz, and MFSK32 about 3 dB less. Choose MFSK in the selector and 16 or 32 beside it, then click anywhere on the signal: the page searches the last 3 seconds of audio and snaps the cursor to the signal's centre, and the amber band marks the span of its tones (±117 or ±234 Hz). The tuning must be close - within about 6 Hz in MFSK16 - which is why the click snaps; with AFC on, the decoder then follows drift up to half a tone spacing (±7.8 Hz, or ±15.6 Hz in MFSK32) while text is flowing, and goes back to the cursor when the station stops. A typed frequency, the arrow keys, the nudge buttons, a band button or an RSID row do not snap. The snap works only while audio is playing; if nothing stands out near the click, the click stands as made. Text starts about 6 seconds after an MFSK16 transmission begins (3 s in MFSK32) and runs about 4 s (2 s) behind the signal; each transmission starts on a new line. Text prints only while the decoder is copying MFSK - the quality bar is green - so noise, a carrier, CW or FT8 under the cursor print nothing; raise the squelch if anything does, lower it for weak signals. The small panel shows the AFC instead of a phase scope: the line across is its range, the dot is where it has pulled the decoder (amber while text flows), and the figure is the decoder's S/N. Limits found in testing: a station 30 dB stronger within about 260 Hz of the cursor (520 Hz in MFSK32), or 20 dB stronger within 240 Hz, can still cause errors; keyed CW inside an MFSK32 signal can print a few stray characters; a steady carrier inside the band as strong as the station costs about one character in ten; and a click near an FT8 signal can snap onto it - click on the MFSK signal itself. The page takes the sideband from the rig, as for Olivia; tick Reverse only for a station sending upside down. More on each mode: Mode specifications.
45.45 baud, 170 Hz shift - the amateur standard, and what the contests use. The amber cursor is the centre of the pair; the waterfall marks the mark (M) and space (S) tones 85 Hz either side of it. Click between the two traces - a click within about 40 Hz of a pair's centre snaps to it. There is no AFC in RTTY; the decoder tolerates about ±15 Hz. It adjusts to each tone's own level, so a fade on one tone does not upset it. A much stronger station within about 250 Hz can still cause errors. On the air, mark is the higher radio frequency, so which audio tone is mark depends on the sideband: the page takes it from the rig's mode over CAT - keeping the last mode the rig reported if the link drops, and assuming USB only if no rig has reported one - and a normal station decodes with Reverse off on either sideband. Hover over the Mark/Space line to see which it is using. Tick Reverse only for a station sending upside down. The scope becomes a tuning indicator: mark across, space up. A clean, well-tuned signal puts the dots in two tight clusters at the far end of each axis - one tone or the other, never both - drawn out along the edges as it fades; mistuned or buried in noise, they fill the middle. Letters and figures shift as sent, and a space returns to letters (unshift on space), as fldigi does by default. DigiMode also sends RTTY, as audio tones (AFSK) - see Transmit.