What GNU Radio Is
A radio used to be a box of parts soldered together: coils, capacitors, a dial. Change what the radio did and you unsoldered something. GNU Radio is that box rebuilt in software. It is a free toolkit for processing signals — streams of numbers that stand for radio waves — by joining small programs called blocks into a chain called a flowgraph. One block makes numbers, the next filters them, the next pulls sound out of them, the last writes them to a file or sends them to a speaker. Change what the radio does and you rearrange the chain. Nothing to unsolder.
This chapter gives you the mental model the rest of the guide stands on, and states the legal line early, because with radio the line matters: receiving is broadly lawful; transmitting is licensed. Everything this guide's lab does is done with numbers on one machine. No antenna is connected, and nothing is transmitted.
The one idea: numbers in, numbers out
A sample is one measurement of a signal at one instant — a single number, or a pair of numbers (chapter 2 explains the pair). A radio receiver, hardware or software, is a machine for producing samples very fast and doing arithmetic on them before the next batch arrives.
Each block does one job:
- A source produces samples — from an antenna device, from a file, or from arithmetic (a made-up tone, say).
- A processing block takes samples in and puts samples out: a filter, a mixer, a demodulator.
- A sink consumes samples — writing them to a file, playing them as sound, drawing them as a picture.
Join source to processing to sink and you have a flowgraph. Press run and the numbers flow. That is the whole architecture. Everything else in GNU Radio — and in this guide — is detail about what the blocks do to the numbers and how fast the numbers move.
Why this is worth learning
- It is the insides of every modern radio. A phone, a car radio, a satellite receiver: all of them are software-defined inside, doing with chips what GNU Radio does on a laptop. Learn it here and the diagrams in any radio textbook start to make sense.
- Receiving is cheap and safe to practise. With a low-cost USB tuner, or with recorded signals and no tuner at all, you can build real receivers and break them without breaking anything that matters.
- The flowgraph is honest. Every step is a block you can point at. When the output sounds wrong, you can tap the stream between any two blocks and look at the numbers. Few tools teach as well as one that lets you watch.
What a flowgraph is not
A flowgraph is a program, but it is not a radio station in a box. On its own it has no antenna, no amplifier, no way to hear anything. It needs a source: a software-defined radio (SDR) device such as an RTL-SDR dongle, or a file of samples recorded earlier. Chapter 15 is honest about that gap — a flowgraph is the clever part of a radio, not the whole of it.
The rule, stated early
Radio law is not decoration, and this guide follows the same rule as the licensing system itself: listening is one thing, transmitting is another. Receiving signals — including building every receiver in this guide — is broadly lawful in most countries, with a few well-known exceptions around other people's private communications, which chapter 15 names. Transmitting on radio frequencies requires a licence for that band and that use, everywhere. This guide teaches reception and signal processing only. Its lab transmits nothing: it works on signals it invents itself and on a recording it made of those same invented signals, all inside one computer.
Check your understanding: you should now be able to say what a block is, what a flowgraph is, and why this guide never needs an antenna. Chapter 2 makes the samples themselves concrete — what the numbers are, and why they so often come in pairs.