Skip to content
Go to file

  • Linux (Travis): Travis Build Status
  • Windows (AppVeyor): AppVeyor Build status

This repository contains the implementation of an SDR DAB/DAB+ receiver.
Please see the project website for a user oriented documentation. is a fork from dab-rpi and sdr-j-dab which is now qt-dab

Table of contents


Stable release can be found here:

If you discovered an issue please open a new issue. is under heavy development. You can also try the latest developer builds. But PLEASE BE WARNED the builds are automatically created and untested.

To use it on macOS or on a Raspberry Pi you have to compile directly from the sources. See below for more information.


The command-line parameters are:

Parameter Description
-h, --help Show help
-v, --version Show version
--dump-file Records DAB frames (.mp2) or DAB+ superframes with RS coding (.dab). This file can be used to analyse X-PAD data with XPADxpert (
--log-file Log file name. Redirects all log output texts to a file.

Supported Hardware

The following SDR devices are supported

SoapySDR Notes


Connect the antenna to the RX1_W port and configured SoapySDR antenna option to LNAW. SoapySDRUtil --probe=driver=lime may show other possible options.


Configured SoapySDR driver arguments option to driver=uhd. Configure also antenna and clock source option. To list possible values for antenna and clock source use the command SoapySDRUtil --probe=driver=uhd.


General Information

The following libraries and their development files are needed:

  • Qt 5.10 (Qt 5.9 and below is not supported)
  • FFTW3f
  • libfaad
  • librtlsdr
  • libusb

Ubuntu Linux 18.04 LTS

This section shows how to compile on Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.

  1. Install Qt 5.10 including the Qt Charts module by using the the "Qt Online Installer for Linux"

  2. Install the following packages

# sudo apt install libfaad-dev libmpg123-dev libmpg123-dev libfftw3-dev librtlsdr-dev libusb-1.0-0-dev mesa-common-dev libglu1-mesa-dev libpulse-dev libsoapysdr-dev libairspy-dev libmp3lame-dev
  1. Clone
# git clone
  1. Start Qt Creator and open the project file inside the folder "".
  2. Build
  3. Run and enjoy it

Windows 10

A compiled version can be found at the release page

This sections shows how to compile on Windows 10. Windows 7 should also be possible but is not tested.

  1. Install Qt 5.10 including the Qt Charts and mingw modules by using the the "Qt Online Installer for Windows"
  2. Clone e.g. by using TortoiseGit.
  3. Clone the Windows libraries
  4. Start Qt Creator and open the project file inside the folder "".
  5. Build
  6. Run and enjoy it


To build for macOS, you have have several options: Either you install everything incl. dependencies manually (not covered here and not recommended) or use Homebrew or MacPorts.


Assuming that you have Homebrew installed, execute the following steps:

  1. Use the repository as a "tap" (alternative package repository):
# brew tap AlbrechtL/welle_io
  1. Install (and dependencies):
# brew install AlbrechtL/welle_io/


You can either use the port available in macports, or compile with QT Creator.

use port

This is the easiest way and will manage the dependencies for you. There are 3 variants all three being enabled by default. Each variant enables compilation with that specific input device library : "airspy" "rtlsdr" "soapysdr".

# sudo port install

With MacPorts, is installed as a bundle app in /Applications/MacPorts.

compile with QT Creator

You need to install the dependencies with MacPorts first, assuming you have MacPorts installed:

# sudo port install fftw-3-single faad2 rtl-sdr libusb mpg123 lame
  1. Install Qt 5.10 with Qt Creator directly from Qt website, not through MacPorts.
  2. Clone
# git clone
  1. Open with Qt Creator.
  2. Make sure in Qt Creator, "Projects, Build&Run, Run" that the checkbox "Add build library path to DYLD..." is off.
  3. Build and run.

CMake instead of Qt Creator (Windows, Linux, macOS)

As an alternative to Qt Creator, CMake can be used for building after installing dependencies and cloning the repository. On Linux, you can also use CMake to build welle-cli, the command-line backend testing tool that does not require Qt.

  1. Create a build directory inside the repository and change into it
# mkdir build
# cd build
  1. Run CMake. To enable support for RTL-SDR add the flag -DRTLSDR=1 (requires librtlsdr) and for SoapySDR add -DSOAPYSDR=1 (requires SoapySDR compiled with support for each desired hardware, e.g. UHD for Ettus USRP, LimeSDR, Airspy or HackRF). By default, CMake will build both welle-io and welle-cli. Use -DBUILD_WELLE_IO=OFF or -DBUILD_WELLE_CLI=OFF to compile only the one you need.
# cmake ..

or to enable support for both RTL-SDR and Soapy-SDR:

# cmake .. -DRTLSDR=1 -DSOAPYSDR=1

If you wish to use KISS FFT instead of FFTW (e.g. to compare performance), use -DKISS_FFT=ON.

  1. Run make (or use the created project file depending on the selected generator)
# make
  1. Install it (as super-user)
# make install
  1. Run and enjoy it


A compiled version of (APK file) can be found at at the Google Play store or at the release page. uses the "RTL2832U driver" from Martin Marinov, to be found at the Google play store or at F-droid. Also see (sources or APK file). Please note that a recent version of this driver is needed (v3.06 or above), otherwise will not find your stick.

This sections shows how to compile for Android.

  1. Install Qt 5.12 for Android including the Qt Charts and Qt Remote Objects modules by using the the "Qt Online Installer for Windows"
  2. Follow the side to install the Android build enviroment
  3. Clone
# git clone
  1. Start Qt Creator and open the project file inside the folder "".
  2. Build
  3. Run and enjoy it

Raspberry Pi 2 and 3

To build and run on a Raspberry Pi 2 and 3 with GPU acceleration, please read this guide.


If you compile welle-io with cmake you will also get an executable called welle-cli which stands for welle-io command line interface.

Usage of welle-cli

Receive using RTLSDR, and play with ALSA:

welle-cli -c channel -p programme

Read an IQ file and play with ALSA: (IQ file format is u8, unless the file ends with

welle-cli -f file -p programme

Use -D to dump FIC and all programmes to files:

welle-cli -c channel -D 

Use -w to enable webserver, decode a programme on demand:

welle-cli -c channel -w port

Use -Dw to enable webserver, decode all programmes:

welle-cli -c channel -Dw port

Use -C 1 -w to enable webserver, decode programmes one by one in a carousel. Use -C N -w to enable webserver, decode programmes N by N in a carousel. This is useful if your machine cannot decode all programmes simultaneously, but you still want to get an overview of the ensemble. By default welle-cli will switch every 10 seconds. With the -P option, welle-cli will switch once DLS and a slide were decoded, staying at most for 80 seconds on a given programme.

welle-cli -c channel -C 1 -w port
welle-cli -c channel -PC 1 -w port

Example: welle-cli -c 12A -C 1 -w 7979 enables the webserver on channel 12A, please then go to http://localhost:7979/ where you can observe all necessary details for every service ID in the ensemble, see the slideshows, stream the audio (by clicking on the Play-Button), check spectrum, constellation, TII information and CIR peak diagramme.

Backend options

-u disable coarse corrector, for receivers who have a low frequency offset.

Use -t [test_number] to run a test. To understand what the tests do, please see source code.


welle-cli -c 10B -p GRRIF
welle-cli -f ./ -p GRRIF
welle-cli -f ./ -t 1


  • Windows 8 and older are not offically supported


You can join the development. Please visit the wiki to find more information.


If you build with cmake and add -DPROFILING=ON, welle-io will generate a few .csv files and a graphviz .dot file that can be used to analyse and understand which parts of the backend use CPU resources. Use dot -Tpdf > profiling.pdf to generate a graph visualisation. Search source code for the PROFILE() macro to see where the profiling marks are placed.

You can’t perform that action at this time.