This document will guide you through installing SDR applications on the platform built in the document: Installing drivers and support for the SDRplay RSP1A on a Raspberry Pi and depends on that installation.
This document is intended to be followed in the order it is written. If you want to skip installing one of applications, there may be some missing prerequisites.
sudo apt install mumble mumble-server
sudo apt-get install protobuf-compiler libopus-dev libspeexdsp1 libspeexdsp-dev libjpeg-turbo8-dev libjpeg8-dev libconfig++9v5 libconfig++-dev libftdi1 libftdi-dev libsndfile1-dev libsndfile1 libjpeg-dev libprotoc-dev liblimesuite-dev liblimesuite20.10-1
cd ~/ git clone https://codeberg.org/qradiolink/qradiolink cd qradiolink/ # To get the latest version with recent changes (instead of git checkout master): # git checkout next # To get the normal release git checkout master sh ./build_debian.sh
build/qradiolink # or from anywhere /home/pi/qradiolink/build/qradiolink
sudo apt-get install freeglut3-dev libgtk2.0-dev libgtk-3-dev libtinyxml2.6.2v5
cd ~/ git clone https://github.com/jgaeddert/liquid-dsp cd liquid-dsp ./bootstrap.sh ./configure make -j 4 sudo make install sudo ldconfig
sudo apt-get install libasound2-dev portaudio19-dev cd ~/ Download http://www.music.mcgill.ca/~gary/rtaudio/release/rtaudio-5.2.0.tar.gz tar -zxvf rtaudio-5.2.0.tar.gz cd rtaudio-5.2.0 # ./configure --help # display the available options ./configure --with-jack --with-alsa --with-pulse mkdir build cd build cmake ../ make -j 4 sudo make install sudo ldconfig cd tests # Try one of these to see if it will play something. Press CTRL-C to exit. ./playsaw 1 48000 ./playsaw 1 44100 ./playsaw 2 44100 # 2 different sawtooth waveforms, one in each speaker # If you don't hear a sound from any of these, it may have selected the headphone output. # Set speakers as default pacmd set-default-sink 0
cd ~/ # If you wish to use git to install wxWidgets, use the commands below and skip the archive. # git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git # git checkout v3.2.1 # Download this archive to your home directory. https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.1/wxWidgets-3.2.1.tar.bz2 tar -xvjf wxWidgets-3.2.1.tar.bz2 # rename the install folder to wxWidgets cd wxWidgets/ mkdir -p ~/Develop/wxWidgets-staticlib ./autogen.sh ./configure --prefix=`echo ~/Develop/wxWidgets-staticlib` --with-opengl --disable-glcanvasegl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webview --disable-webviewwebkit CXXFLAGS="-std=c++0x" make -j4 make install sudo ldconfig
cd ~/ git clone https://github.com/cjcliffe/CubicSDR.git cd CubicSDR mkdir build cd build # Works with HDMI, Headphones and Default cmake ../ -DOTHER_LIBRARIES:FILEPATH=/usr/lib/gcc/arm-linux-gnueabihf/8/libatomic.so -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=~/Develop/wxWidgets-staticlib/bin/wx-config -DUSE_HAMLIB=1 -DUSE_AUDIO_PULSE=0 -DUSE_AUDIO_OSS=0 -DUSE_AUDIO_ALSA=1 make -j 4 # You can now run the build from the folder, note if you're on 64-bit linux it will be in x64/ cd x86/CubicSDR # Install CubicSDR (and launcher in Applications menu) sudo make install sudo ldconfig
# portaudio should have been installed for RtAudio. sudo apt install portaudio19-dev
export CXXFLAGS='-O2 -march=native -mtune=native' export CFLAGS='-O2 -march=native -mtune=native' cd ~/ git clone https://github.com/csete/gqrx.git gqrx cd gqrx mkdir build cd build cmake .. make -j 4 sudo make install sudo ldconfig
sudo apt-get install libopenal-dev libalut0 libalut-dev
pip install SpeechRecognition sudo apt install python3-pyaudio
cd ~/Desktop git clone https://gitlab.com/righthalfplane/SdrGlut.git cd SdrGlut make -f makefileUbunta Run the program: ./sdrglut.x or ~/Desktop/SdrGlut/sdrglut.x
sudo featherpad /etc/openal/alsoft.conf