When Alice walked out of the hardware expo, her mind was still swirling with USRP FPGAs, Zynq's fused architecture, the fixed chips of RTL-SDR… every board was carrying out signal processing in its own way.
But the signal flowgraph in her hand told her that no matter how the hardware changed, the path a signal must take is fixed: in through the antenna, through the RF front end, the ADC, the DDC, baseband processing, the DUC, the DAC, the RF front end, and back out through the antenna.
"Hardware does the walking," she murmured to herself, "so who tells the hardware where to walk?"
She looked up. Ahead of her stood an enormous castle. Its walls were stacked from tens of thousands of colored building blocks — every block floating in its own position, slowly rotating, as if gently held by an invisible hand. Between the blocks ran glowing dashed lines, constantly shifting — sometimes breaking apart, sometimes reconnecting, sometimes one line splitting into two, sometimes two merging into one, like a living, never-freezing net.
Alice stopped at the entrance. Above the castle's main gate, a plaque bore a line of words:
"GNU Radio — the bricks can be taken apart and reassembled."
She paused. GNU Radio — the white rabbit's T-shirt had been printed with that very name when she first leapt down the rabbit hole. Back then she thought it was just a label. Now she stood at its gate.
Below the plaque was a smaller line:
"Don't ask what the castle can do — ask what you want to build with the blocks."
She pushed the door open and walked in.
I. The Corridor of Five Colors
The inside of the castle was even more magnificent than its exterior.
She stood at the start of a circular walkway that wound up along the inner walls like a mountain road. On those walls, tens of thousands of blocks were neatly arranged by color and function in their own zones — red, orange, blue, green and purple light interweaving, dyeing the entire inner wall into an enormous palette.

"Red is the beginning, orange is the tailoring, blue is the carrying, green is the crafting, purple is the destination."
A voice came from above her head. Alice looked up and saw a man in a gray hoodie and goggles sitting on a floating platform, a block resting on his knee. Flowing code was reflected in his goggle lenses, but as he spoke to Alice he pushed the goggles up onto his forehead.
"Are you the Block Master?" Alice asked.
"Everyone here calls me that." The man hopped lightly off the platform and landed in front of her. "Welcome to the Block Castle. Every brick here can be taken apart — not physically, but 'reconfigured.'"
He led Alice around the circular walkway, pausing at each colored zone.
The Red Zone — "Signal Sources" The blocks here all generate signals. Sine waves, square waves, sawtooth waves, noise signals, file readers, hardware input ports… rows of red blocks, each able to output one specific kind of signal. "Signal source blocks are the 'starting point' of a flowgraph — once a dashed line stretches out from here, the signal begins to flow."
The Orange Zone — "Filters" Low-pass, high-pass, band-pass, band-stop, FIR, IIR… dozens of filters of different shapes lined up in rows, each block's face painted with a frequency response curve. "They are the signal's 'tailors.' Which frequencies to keep, which to cut — all decided by parameters."
The Blue Zone — "Modulation and Demodulation" This was the zone Alice found most familiar. AM, FM, SSB, QPSK, QAM, PSK… every modulation scheme she had seen in the world of communications had a corresponding block here, with paired demodulation blocks arranged alongside. "Modulation blocks load the baseband signal onto a carrier; demodulation blocks take it back down — moving frequencies up and down is all their doing."
The Green Zone — "Processing and Transformation" FFT (Fast Fourier Transform), decimation, interpolation, Hilbert transform, automatic gain control, equalizers, synchronization tracking… she recognized some of these names, others she saw for the first time. "Decimation slows things down, interpolation speeds things up — the DDC and DUC you saw in the digital frequency conversion factory are built by combining mixers, filters, and decimators/interpolators."
The Purple Zone — "Output and Display" Time-domain waveform displays, frequency-domain spectrum displays, constellation diagrams, audio output, file storage, network sending… "They turn the processed signal into something you can see, hear, store, and send. The last node of a flowgraph is usually a purple block."
At the end of the corridor of five colors, Alice looked back at the path she had walked. Red, orange, blue, green and purple converged on the castle wall into a slowly flowing band of light.
"So… if I pick a red signal source, connect a blue modulator, then a green processing block, and finally a purple output — that makes a complete signal chain?"
The Block Master leaned on the railing, hands in his hoodie pockets: "You've just summarized the entire logic of how GNU Radio works."
II. Demo: Building DDC and DUC with Blocks
The Block Master led Alice to the workspace at the center of the castle — a blank panel floating in the air, like a borderless screen waiting to be filled with blocks.
"You saw the hardware implementation of DDC at the digital frequency conversion factory — mixing, filtering, decimation, all done in parallel by the FPGA. Now watch GNU Radio's version, and see how it builds the same function out of software blocks."
He dragged three blocks onto the workspace one after another:
Block one: the mixer — from the blue zone. Input: a high-frequency signal. Output: a mixed signal.
Block two: the filter — a low-pass filter block from the orange zone, to cut away the high-frequency clutter produced by mixing.
Block three: the decimator — a green block that lowers the sampling rate.
The three blocks connected in series; the dashed lines linked up automatically. The Block Master clicked "Run."

On the screen appeared the transformation of a high-frequency signal after passing through the three blocks — the first block turned it from IF into baseband, the second cut away the out-of-band clutter, the third reduced the data rate, and the screen showed a clean, smooth baseband signal.
"This is a complete DDC — digital down conversion, built out of GNU Radio blocks. It's exactly the same process as the FPGA inside a USRP; the only difference is that the DDC in hardware is a soldered-in, fixed function, while here the DDC is three independent blocks that can be disassembled, replaced, and rearranged."
He reversed the order of all three blocks — interpolator → filter → mixer — and clicked Run again. On the screen, a baseband signal passed through the three blocks and turned back into a high-frequency signal.
"DUC — digital up conversion. The same blocks, arranged in reverse, are for transmitting."
Alice looked back and forth between the two flowgraphs. She noticed something: "DDC and DUC share a set of blocks — mixer, filter, decimator/interpolator. Only the arrangement changed."
"Exactly. Same blocks, different arrangement, different function." said the Block Master. "In an FPGA, DDC and DUC are two separate hardware circuits, each soldered in place. In GNU Radio's Block Castle, they are two arrangements of the same set of blocks — whether you mix first or decimate first decides whether it receives or transmits."
III. The Interchangeable Language
Back beside the workspace, Alice stared at the two flowgraphs, and suddenly asked a question she had been holding in for a long time: "Who made all these blocks?"
The Block Master smiled. "Engineers all over the world make blocks. People from different countries, speaking different languages, in different time zones, upload their own modules to the same castle — as long as they conform to GNU Radio's interface specification, anyone can create a new block and put it in, and everyone else in the castle can call it."
"Interface specification?"
"That's GNU Radio's most core design. Every block has standardized input and output ports. No matter who wrote your block, in what language, on what platform — as long as its input and output ports conform to the standard, it can connect with other blocks. GNU Radio uses a mechanism called a flowgraph to string all the blocks into one complete signal processing chain."
He picked up a signal source block and a filter block and placed them side by side. A dashed line automatically stretched from the source's output port to the filter's input port.
"The signal source doesn't know the filter. But it knows the interface. When the data type of the output port matches that of the input port, the dashed line connects automatically. You don't need to tell it 'connect to this one' — it knows on its own. In the same flowgraph, you can connect a signal source written by a Canadian engineer to a filter written by a German engineer, then to a modulator written by a Japanese engineer — they don't need to know each other at all. The interface is their common language."
He pointed at the flowing dashed lines on the castle walls: "Every dashed line is a connection that follows the GNU Radio interface standard. They don't need to know who the other side is — only what format it outputs and what format it accepts. As long as the formats match, they can talk."
Alice watched the flowing lines. "Then what if I want to add a new block — one the GNU Radio castle doesn't have?"
The Block Master turned around, took a block from a nearby shelf, and handed it to her. It was a "blank block" — no label, no icon, only an empty slot waiting to be written.
"When you want a function that doesn't exist in the current block library — you can write a new block yourself. GNU Radio supports OOT (Out-of-Tree) module development, meaning you can write a block independently of the official release — define inputs and outputs, write the processing logic, compile and install — and it becomes a new signal processing module, draggable into the workspace like any other block in the castle. Then you upload it to the castle, and the next visitor can use it."
Alice held the blank block in her hands. On the castle walls, tens of thousands of blocks were still rotating, flowing, glowing — some written decades ago, some written last week, some perhaps put up just today.
IV. The Old Labels
The Block Master led Alice to a wall in a corner of the castle. The blocks there were slightly older in color than elsewhere — packed more tightly, their edge markings no different from the rest.
Walking closer, Alice noticed that each block had a name and a year carved into its side. The names were different — some in English, some in German, some in Japanese — and the years ran from 2001 all the way to the present.

"These are the first-generation blocks," said the Block Master. "When the GNU Radio project started in 2001, there were only a dozen or so. Then more and more people joined, and every year new blocks were written and placed here. The old ones are still in use, the new ones keep arriving — the interface standard has never changed."
He pointed at one of them: "This one says Eric Blossom — the founder of GNU Radio. In 2001 he wrote the first batch of blocks, and then said: 'Let everyone be able to make blocks.' That's where the interface standard and the flowgraph mechanism came from."
Alice crouched down and read the years carved into the blocks, from 2001 all the way to 2024. Not a single one had been removed.
"More than twenty years," she said, "and the interface standard never changed."
"What doesn't change is the interface; what changes is the number and variety of blocks." said the Block Master. "Twenty years ago the castle had only a dozen or so blocks — signal sources, filters, modulators, demodulators, oscilloscopes. Now there are thousands. Every new block joins the castle under the same GNU Radio interface standard — old and new blocks still connect together."
He paused, then added: "That's why GNU Radio has lasted more than twenty years — not because the castle is big, but because it lets everyone build new blocks."
Alice drew her eyes away from the old labels and gazed out from the observation deck. On the castle walls, tens of thousands of blocks were still rotating, glowing, linked by dashed lines into a flowing net.
"So the next stop," she asked, "is that I finally get to use these blocks to make something real?"
The Block Master smiled: "You guessed right. In the workshop next door, you can connect the flowgraph you've assembled to real SDR hardware — and receive a real signal. GNU Radio's blocks can process more than simulated signals; through hardware driver modules, they can connect to real radio-frequency devices."
He pointed to a door at the far end of the castle. Through the crack came a faint sound of audio — a radio announcer's voice, and the intro of a song playing.
(To be continued. Next chapter: The First Creation — Alice will use the GNU Radio block assembly she learned in the castle to connect a real SDR device and tune in to a real FM broadcast. From blocks to real signals in the air, from puzzles to listening.)
[Chapter Seven Key Concepts Recap]
| Concept | Explanation |
| SDR concept as fairy tale: GNU Radio Block Castle | An open-source software development framework for signal processing |
| Flowgraph | A complete signal processing chain formed by connecting blocks with dashed lines |
| Flowgraph programming | Drag blocks, auto-connect, click run — signals flow along the dashed lines |
| Modular design | Every block is an independent functional unit — usable alone, freely arranged |
| Block categories (red/orange/blue/green/purple) | Signal sources → filters → modulation/demodulation → processing/transformation → output/display |
| GNU Radio implementation of DDC | Mixer + filter + decimator — three blocks form digital down conversion |
| GNU Radio implementation of DUC | Interpolator + filter + mixer — reversed arrangement gives digital up conversion |
| Interface standardization (data types) | The dashed-line interfaces are the common language of all blocks — any two blocks can connect as long as their data types match |
| OOT (Out-of-Tree) modules | Blank blocks — users can write their own new signal processing modules to extend GNU Radio |
| GNU Radio founder Eric Blossom | Created the project in 2001 |
| Open-source community | Engineers worldwide keep adding blocks to the castle — thousands of them since 2001 |
Preview of Next Chapter
The First Creation — Alice will connect a real SDR device and tune in to a real FM broadcast. From blocks to real signals in the air, from puzzles to listening.
This article is original content. Please credit the author, official WeChat account, and official website (), and do not modify or commercialize without authorization. Violators will be held legally accountable!
