From ce5dd8829a8ee9bd89b54081da27cd2a7839a5f0 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 6 Oct 2020 22:33:05 +0200 Subject: [PATCH] Created DRM demodulator notes (markdown) --- DRM-demodulator-notes.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 DRM-demodulator-notes.md diff --git a/DRM-demodulator-notes.md b/DRM-demodulator-notes.md new file mode 100644 index 0000000..46418ae --- /dev/null +++ b/DRM-demodulator-notes.md @@ -0,0 +1,26 @@ +# General + +DRM demodulation was added in OpenWebRX 0.20.0. It uses the `dream` decoder to perform the actual demodulation. + +Unfortunately, dream seems to have been abandoned for some time now, and the latest release (version 2.2) seems to have some problems. This is confirmed (but not further specified) in the readme.txt of the version 2.2 project files: https://sourceforge.net/projects/drm/files/dream/2.2/ + +OpenWebRX is known to work and produce good results when used with version 2.1.1 of dream, so the general recommendation is to use dream version 2.1.1. + +# GUI + +In its default configuration, dream comes with its own GUI that allows further interaction and display of information. This is however not acceptable when running it as part of a webserver (as OpenWebRX). Moreover, in most cases OpenWebRX will run in an environment that will not have any capabilities to display any kind of graphical elements. + +Unfortunately, dream does not provide any options to disable its GUI when not required, but only allows to disable the GUI at compile time. For those reasons, we cannot use "normal" versions of dream (i.e. versions compiled with its GUI). This includes pretty much any version of dream that is provided by your distribution, so to support demodulation of DRM broadcasts, we will need to build our own: + +# Installation + +``` +sudo apt-get install qt5-default libpulse0 libfaad2 libopus0 libpulse-dev libfaad-dev libopus-dev libfftw3-dev +wget https://downloads.sourceforge.net/project/drm/dream/2.1.1/dream-2.1.1-svn808.tar.gz +tar xvfz dream-2.1.1-svn808.tar.gz +cd dream +qmake CONFIG+=console +make +sudo make install +cd .. +``` \ No newline at end of file