Saturday 15 December 2012

Notes for compiling DSD for Linux Mate, digital sound decoder


DSD is a digital sound decoder.  It captures demodulated data tones from a radio scanner and processes them to decode the signal.  The sound source from the scanner comes from the scanners discriminator tap.  The Discriminator tap is the stage before audio filtering and amplification.  The best place to get data tones from a analouge radio receiver.  It is never 100% due to the analouge domain being digitised by the soundcard, sampling/noise may corrupt the data.

Gathered from various internet sources, works on Mint 13 (Maya).

DSD does not natively install on Linux Mint Mate without a few mods.  This is due to the lack of the oss soundsystem and /dev/dsp.  A patch is required for dsd_audio.c and both the makefiles of DSD and mbelib have to be modified.

Download dsd and mbelib, extract to seperate folders.

Download modified Makefiles from http://www.tarapippo.net/linux/dsd-makefiles.tar.gz
Extract and rename / overwrite the Makefiles for both DSD and mbelib.

Navigate to the mbdlib folder and:
make
sudo make install

Download dsd_audio_patch.txt from the fourm http://forums.radioreference.com/digital-voice-decoding-software/220493-fix-ubuntu-10-10-a.html

Navigate to dsd folder and patch dsd_audio.c with the following command:
patch dsd-1.4.1/dsd_audio.c dsd_audio_patch.txt

Then you can run (./configure not needed) and make command to compile the code.

now to test before installing.

Run DSD using the following command:
padsp -- ./dsd -i /dev/dsp -o /dev/dsp

padsp is making the OSS wrapper for dsd.

tip: First, run alsamixer and unmute your sound card input channel, so you can monitor the sound coming in.  In my case, go to Mic and press "M" key to unmute.  The sound sound should be heard on the pc speakers.



WindyCityTech Blogger
WindyWindyCityTech Wordpress

No comments:

Post a Comment