Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's signals are signals the lab invented itself.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 15 names what the tool cannot do: a flowgraph is not a radio and hears nothing without hardware, the computer bill grows with rate and filter steepness, the driver layer is where hardware installs go to die, and the tool will build a wrong receiver without complaint if you draw one.
- The legal rule is in the text, early. Chapter 1 and the README state it plainly — receiving is broadly lawful; transmitting is licensed — before any procedure depends on it, and chapters 11 and 15 point back to it where receiving edges (private communications, protected services) and the transmitting capability of the same toolkit make crossing the line thinkable.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox.
GNU Radio 3.10.9.2 was installed from the system packages
(apt install gnuradio) and exercised headlessly: every
flowgraph in the lab is a Python program, run as a program,
with its output written to files and measured with plain
NumPy (gnu-radio-lab/measure.py). All transcripts live in
gnu-radio-lab/transcripts/.
Run for real, with transcripts as evidence:
- Install and version:
gnuradio-config-inforeporting 3.10.9.2, its prefix, thegrccandgnuradio-companionpaths, and a clean Python import of the runtime (t00). - Flowgraph 1 (t01): a 1,000 Hz complex tone at 48,000 samples per second, one second, tapped raw and through a 1,500 Hz low-pass filter into two file sinks. Both files measured 48,000 samples and 384,000 bytes; FFT peak at 1,000.0 Hz in both (raw magnitude 47,999.9 of an ideal 48,000; filtered 47,828, mean magnitude 0.9965 — the filter's startup transient, reported rather than hidden).
- Decimation (t02): two tones (2,000 and 20,000 Hz) at 96,000 samples per second decimated by 4 both ways. Without a filter: peaks at 2,000 Hz and at the aliased −4,000 Hz, equal magnitude 12,000 — the folding of chapter 3, measured. Filter first (8,000 Hz cutoff, 115 taps): a single peak at 2,000 Hz (11,999.7), the alias's seat empty to roughly 63 dB down.
- Filter cost (t07): tap counts from the
firdesdesigner itself — 231 taps for the guide's 1,500 Hz / 500 Hz transition filter at 48,000; 579 taps when the transition narrows to 200 Hz; 115 and 289 for chapters 9 and 11. - A recording and a receiver (t03): a synthetic AM signal written by plain NumPy (carrier at +15,000 Hz, sidebands measured at 14,300 and 15,700 Hz, magnitudes 240,000 and 60,000 — the depth÷2 arithmetic of chapter 10 confirmed), then the receiver chain (frequency-translating FIR: shift, filter, decimate by 5; complex-to-magnitude) read it back: 48,000 floats, mean 0.9994, strongest frequency 700.0 Hz at magnitude 11,955.5 against a predicted 12,000.
- A Python block (t04):
power_block, written for this guide, fed a unit tone; all 48,000 outputs measured exactly 1.0000 (mean, max and min alike). - The Companion as compiler (t05, t05b): the lab's first
flowgraph drawn as a
.grcfile, compiled bygrcc(exit 0, with its standard throttle warning), the generated Python run, and its raw output file proven byte-identical to the hand-written flowgraph's bycmp; the filtered measurements agree exactly. - The Companion editor (t06): after its first refusal
(
Namespace Gtk not available), the missing GTK bindings were installed and the editor opened the lab's flowgraph under a virtual X display, running cleanly until closed by the timeout. The launch is verified; canvas editing craft is not (see below).
Documented only — described from the projects' documentation, not run, and the text does not claim otherwise:
- All SDR hardware sources (RTL-SDR, UHD and kin) and everything downstream of a real antenna: the lab has no device attached. File sources stand in for hardware throughout, and say so.
- The audio sink and listening to a receiver's output; chains end in file sinks so the output can be measured.
- The graphical sinks as drawings (QT spectrum and waterfall). Spectrum reading is taught and graded from real FFT measurements made in plain Python; the rendered widgets themselves were not driven.
- Click-by-click Companion canvas editing (see t06 note above), and interpolation chains (chapter 9's mirror errand, stated as documentation, not lab work).
- The comparison tools in chapter 14 are characterised, not benchmarked.
Fixtures are this guide's own and deliberately generic: tones at round frequencies, an invented AM station whose programme is a test tone, and arithmetic a reader can reproduce with a pencil. No example is modelled on any real person, network, service or organisation, nothing was transmitted, and no signal was received from anywhere but the lab's own files.