The Rational Resampler in GNU Radio is a DSP block used to change a signal’s sample rate by a precise fractional (rational) factor of
, where
is the interpolation factor and
is the decimation factor.
It performs two primary operations in a single block:
Interpolation (
): Increases the sample rate by inserting
zeros between every sample.
Decimation (
): Decreases the sample rate by keeping only every
-th sample.
Because
inserting zeros creates unwanted spectral images, and decimating
without filtering causes aliasing, the block uses a custom low-pass
anti-aliasing/anti-imaging Finite Impulse Response (FIR) filter.
Key Parameters
Interpolation (
): The factor by which the input rate is multiplied (upsampling).
Decimation (
): The factor by which the output rate is divided (downsampling).
Taps:
The coefficients for the internal low-pass filter. If left blank, GNU
Radio automatically calculates taps based on the cutoff frequency.
Fractional BW: Defines the fractional bandwidth of the prototype filter (usually left at the default of
).
Common Use Cases
Audio and Signal Processing: Converting a standard audio rate (e.g.,
) to another rate (e.g.,
).
Software Defined Radio (SDR): Converting the raw sample rate of an SDR (like an RTL-SDR running at
) to a standard rate required by a downstream demodulator (e.g.,
).
Pro-Tip for GNU Radio Flowgraphs
Keep your
and
values as small as possible and relatively prime (e.g., use
and
instead of
and
). Large values increase the size of the filter calculation and require more CPU and memory.
Rational Resampler - GNU Radio Wiki
Jul 9, 2024 — Fractional
bandwidth in (0, 0.5), measured at final freq (use 0.4) (float). In GNU
Radio 3.8, the default value is 0, which should...
GNU Radio Wiki
Sample Rate Tutorial - GNU Radio Wiki
Apr 4, 2024 — The
output of the Quadrature Demod block has a sample rate of 960; the
desired sample rate is 500. The Rational Resampler interpol...
GNU Radio Wiki
Rational Resampler Base - GNU Radio Wiki
Jan 2, 2026 — Rational
Resampler Base. From GNU Radio. Make a rational resampling FIR filter.
If the input signal is at rate fs, then the output...
GNU Radio Wiki
Show all
AI can make mistakes, so double-check responses
Andrew Thornett
unread,
May 16, 2026, 5:32:58 AM (19 hours ago) May 16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
From: 'Stephen Arbogast' via Society of Amateur Radio Astronomers <sara...@googlegroups.com> Sent: Saturday, May 16, 2026 5:11:13 AM To: Society of Amateur Radio Astronomers <sara...@googlegroups.com> Subject: [SARA] Re: Video from Monday 11th May's GNU Radio for Amateur Radio Astronomy meeting is now available online