Clever Quest Lab ← Labs

IQ Recording Player

Open an IQ file from a software-defined radio, see every signal it caught and tune to any of them, as if the radio were still on.

Tip: click or tap a signal on the waterfall to tune to it.

0:00.0

Open an IQ recording, or try the test recording to see how the page works.

Tuned–
Recording–
In the filter–
Cursors–

Receiver

View and measuring

Band
Time

A click on the display sets

Put A on a signal and B on empty noise beside it: the readout gives the difference in frequency, time and level, so you can read off a bandwidth or a signal-to-noise ratio.

Recording

WAV with two channels, raw cu8, cs8, cs16 or cf32, or SigMF (choose the .sigmf-meta and .sigmf-data together). The file is read in pieces on your device; it is not uploaded and never loaded whole.

Save

Sound of the tuned signal

The WAV is 48 kHz mono with the receiver’s mode, filter and gain, at most 5 minutes. Open it in the RTTY Decoder, Morse Decoder or another of the decoders below. “Compute, then play” works out the stretch first and then plays it, for a phone too slow to keep up live.

Runs on your device. Nothing you type or record is uploaded. Keeps working without a connection while the page is open. Works with touch. Saves the receiver, volume, view and file-format settings on this device; the recording itself is never stored.

Added

What this lab shows

An IQ recording keeps a slice of the radio spectrum rather than one station: everything the receiver could hear across its sample rate went into the file at once. This page draws that slice as a waterfall, frequency across and time downwards, and puts a software receiver on top of it, so the stations on a recording made last week can be tuned in one by one today.

The question it explores: what does a band look like from the inside, and what does a receiver do to pull one signal out of it?

Things to try

What to look for

Supported recordings

Getting a recording

How it works

IQ samples

The receiver shifts the band down to zero and samples two signals a quarter of a cycle apart, I (in phase) and Q (quadrature). Together they make one complex number per sample, which tells frequencies above the centre from those below it, so a sample rate fs covers a band fs wide around the centre frequency fc:

fc − fs/2  to  fc + fs/2

Waterfall

Each row is a fast Fourier transform of N samples with a Blackman-Harris window, and bin k lies at

f = fc + (k − N/2) · fs / N

Levels are in dBFS, where a full-scale tone reads 0 dBFS. When a column of the picture covers several bins it shows the strongest, so narrow signals stay visible when the whole band is on screen, and a row of the overview averages up to eight transforms spread over its stretch of time. Zooming in uses longer transforms, up to 65,536 points, which sharpens the frequency at the cost of time: a bin fs/N wide needs N/fs seconds of signal.

Receiver

  1. Mixer: multiplying the samples by e−j2πΔf·n/fs moves the dial frequency, Δf away from the centre, to 0 Hz. In CW the mixer sits 700 Hz lower, so a carrier on the dial comes out as a 700 Hz tone. Moving the wanted signal to one fixed frequency before filtering it is the superheterodyne principle, for which Lucien Lévy and Edwin Armstrong both filed patent applications in 1917; here the fixed frequency is zero.
  2. Half-band filters halve the sample rate step by step, down to 24 to 48 kHz (200 to 400 kHz for broadcast FM). Every other coefficient of a half-band filter is zero, so each halving costs little.
  3. Channel filter: 1,025 taps (129 for broadcast FM) of the chosen width, centred on the dial for AM, FM and CW, above it for USB and below it for LSB.
  4. Detector: for AM the size of the filtered signal |b|; for FM its frequency, f = Δφ · fIF / 2π, from the phase step Δφ between two samples; for SSB and CW the real part of b, which is what a product detector gives.
  5. Broadcast FM: a de-emphasis of 50 or 75 µs undoes the treble boost the transmitter adds.
  6. Automatic gain control for AM, SSB and CW, then a windowed-sinc resampler to the rate of the sound output (48 kHz in a saved WAV).

In AM and CW a click or tap lands on the nearest carrier within about 12 pixels: the page picks the strongest line within one filter width in the waterfall, so a sideband never wins over its carrier, and then refines it with a fine spectrum (four 4096-point transforms, about half a second of signal) at the low rate that the half-band filters of step 2 give. That matters for CW, where a 500 Hz filter set a pixel off would miss the carrier altogether.

Live and computed sound

Live playback reads the recording in pieces of 60 ms and keeps about half a second of sound queued; a new tuning starts again from what you are hearing. To keep up, the page has to process the whole sample rate in real time, 2.4 million samples a second for a common 8-bit receiver. “Compute, then play” works out the stretch first instead.

Limits

Controls

Frequently asked questions

Why does my WAV file open as sound and not as IQ?

Because it has one channel: the program saved the demodulated audio, not the baseband. Such a file goes straight into the Signal Identifier or a decoder. For an IQ recording, record again with the baseband option.

I can see a signal but hear only noise. What is wrong?

Usually the mode or the dial. SSB played in AM is a mumble, a USB signal in LSB is silent, and a CW carrier outside a 500 Hz filter cannot be heard at all. Zoom in until the dashed lines of the filter cover the signal, and match the mode to its shape on the waterfall (see What to look for).

Sources