Closed srs4511351 closed 3 years ago
I just put out a new version (755) that fixes problems with SoapyRemote.
git clone https://github.com/righthalfplane/SdrGlut.git
I compiles for me on a Raspberry pi 4 with no changes to the source code.
The garbled sound is caused by pulseaudio. To cure the problem remove pulseaudio ie -
sudo apt-get remove pulseaudio
then restart your system.
Thanks for your quick reply. Removing pulseaudio did fix the audio problem. Now I have to deal with my other applications, that either require pulseaudio or are compiled to use it.
I found that compile will fail if I have libliquid-dev v1.3.2 from https://github.com/jgaeddert/liquid-dsp It does compile with version 1.3.1-1 installed with the system packager. I prefer to use the latest, though for CubicSDR.
The new version (755) works better than ever. It recognizes my RSP1A without having to use Soapy Remote.
I noticed that I am receiving what I will call bleedthrough from the sideband opposite from what I am using when there is a signal there. Some of my SDR applications have this problem and others handle it quite well.
Pulseaudio is strange - on the PI 4 it has to be off - on Ubuntu 18.04 everything works fine with it - on Ubuntu 20.04 things mostly work with it on. There may be someway to get it to work on the PI 4 ?
SdrGlut will build with any version of libliquid - you just have to fiddle with the LIQUID_VERSION_4 and WINDOWS_LONG_NAMES flags in the file MainSource/firstFile.h.
The USB and LSB bleedthrough was fixed in the later versions libliquid - I complained and sent him an example and he fixed it - I get only a tiny bleedthrough on transmit or receive with version 1.3.2 and SdrGlut on MacOS High Sierra.
I may have to figure out pulseaudio. wsjt-x and QRadiolink require it. I have thought of some possibilities.
Could we make a script to start SdrGlut that stops pulseaudio and starts it when SdrGlut quits? I wouldn't be able to use wasn't-x with SdrGllut.
pulseaudio-alsa, not available in the Raspberry Pi packager. https://wiki.parabola.nu/PulseAudio This package contains the necessary /etc/asound.conf for configuring ALSA to use PulseAudio. pulseaudio-alsa, provides compatibility layer between ALSA applications and PulseAudio. pulseaudio-alsa is part of alsa-plugins or a split package
What I found was an archive that contains system files to be extracted to the system folders. I don't know how to properly install this sort of thing.
I did try following the instructions on your GitHub web site for MainSource/firstFile.h. It didn't help on my first try. I'll need to try again.
----Steve
On Nov 29, 2020, at 11:44 AM, righthalfplane notifications@github.com wrote:
Pulseaudio is strange - on the PI 4 it has to be off - on Ubuntu 18.04 everything works fine with it - on Ubuntu 20.04 things mostly work with it on. There may be someway to get it to work on the PI 4 ?
SdrGlut will build with any version of libliquid - you just have to fiddle with the LIQUID_VERSION_4 and WINDOWS_LONG_NAMES flags in the file MainSource/firstFile.h.
The USB and LSB bleedthrough was fixed in the later versions libliquid - I complained and sent him an example and he fixed it - I get only a tiny bleedthrough on transmit or receive with version 1.3.2 and SdrGlut on MacOS High Sierra.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/16#issuecomment-735422247, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQ3FMO5OA6S4AI5GKEFW23SSJ27NANCNFSM4UF6CIRQ .
I was able to leave pulseaudio running by installing and using alsoft-conf -
sudo apt-get install alsoft-conf sudo alsoft-conf
and disabling all of the backends except for "ALSA" - I get no more distortion.
Thanks! This helps. I tried it, but only disabled the pulse backend. SdrGlut works and the applications that use pulse work. I was able to use SdrGlut to decode FT8 with wsjt-x
----Steve
On Nov 30, 2020, at 11:11 AM, righthalfplane notifications@github.com wrote:
I was able to leave pulseaudio running by installing and using alsoft-conf -
sudo apt-get install alsoft-conf sudo alsoft-conf
and disabling all of the backend except for "ALSA" - I get no more distortion.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/16#issuecomment-735883030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQ3FMOLVNKNOVWRMN47EGTSSO73TANCNFSM4UF6CIRQ .
Great ! You should make a video showing how to do it . I have seen a number of people complain that they cannot get wsjt-x to work.
I am working on a document with instructions on how to do this on the Raspberry Pi. It includes several other SDR applications also. I can post a copy.
----Steve
On Dec 1, 2020, at 9:12 PM, righthalfplane notifications@github.com wrote:
Great ! You should make a video showing how to do it .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/16#issuecomment-736941210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQ3FMKOR2PUUTS5RZGGVLLSSWO7NANCNFSM4UF6CIRQ .
Let me know when and where - so I can take a look at it.
I have the procedure to get wsjt-x working with SdrGlut. Depending on how your system is configured, you may only need to tune SdrGlut to the digital signals and select the right audio input device in WSJT-X. Here is the procedure that I used. Alternately, if you want the audio to be routed directly to WSJT-X, I can configure it with a virtual audio device. Note that CubicSDR is nice because it can have many demodulators or radios at the same time. I often use that to map FT8 stations while listening to SSB QSOs on the same band.
Go here: http://web.eecs.umich.edu/~srs/tech.html Look for the SdrGlut section on the page: Part 3 - Setting up WSJT-X to work with your SDR program http://web.eecs.umich.edu/~srs/digital_modes.html
I have instruction on building a working system for SDRplay from scratch to installing various SDR programs, etc.
----Steve
On Thu, Dec 3, 2020 at 3:47 PM righthalfplane notifications@github.com wrote:
Let me know when and where - so I can take a look at it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/16#issuecomment-738297573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQ3FMO2ZX42QIC76AR5DMTSS72ONANCNFSM4UF6CIRQ .
That's great I will take a look at it !
SdrGlut has a frequency scanning mode that you may find useful. I can build lists of frequencies that can be read into SdrGlut. I have lists for the analog emergency services and for the digital emergency services and many other things. With the p25 and other digital signals, I can pipe the signals to szechyjs-dsd or LouisErigHere-dsd for decoding. Here is a video showing some examples -
The Improved Search and Scan Features of SdrGlut https://youtu.be/4oTv2DinCRk
I have a new installation on ubuntu-20.04.1 and am again having problems with distorted audio with SdrGlut. You gave me a solution by installing and using alsoft-conf and disabling all of the backend except for "ALSA".
However, alsoft-conf is deprecated and is no longer available.
Do you know what this utility actually does? Maybe I can change the configuration manually if I know what that is. Is there another utility that can disable all of the backends except for "ALSA"?
It's strange, though, my later installations on Raspberry Pi OS did not have the distortion issue at all. It looks like SdrGlut is using Pulse when it is distorted.
----Steve
On Mon, Nov 30, 2020 at 11:11 AM righthalfplane notifications@github.com wrote:
I was able to leave pulseaudio running by installing and using alsoft-conf
sudo apt-get install alsoft-conf sudo alsoft-conf
and disabling all of the backend except for "ALSA" - I get no more distortion.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/righthalfplane/SdrGlut/issues/16#issuecomment-735883030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQQ3FMOLVNKNOVWRMN47EGTSSO73TANCNFSM4UF6CIRQ .
Sorry you comment got lost in my junk mail and the Issue was closed - so I got no notice.
alsoft-conf just sets things in the files, but I am not sure witch ones. I started to track it down, but the problem went away after a while on Ubuntu 20.04 - so I stopped looking.
The GitHub for openAL came up with a solution that works for some people -
https://github.com/kcat/openal-soft/issues/359
set "period_size=64" in the config file.
Thanks for the reference to the article. None of the suggestions in the article fixed garbled audio for me, but it helped a lot. What confused me and possibly some of the contributors is that changing period_size to anything legal and saving the file fixed it until after a reboot. The problem always came back. I did find 2 things that fixed it permanently.
----Steve
I installed SdrGlut-1.19.zip on another Raspberry Pi 4 / SDRplay RSP1A system than I used in my previous post: "Starts to run, but hangs when starting the SDR". This installation reports version SdrGlut-721. It recognizes my SDR without having to use Soapy Remote. SdrGlut runs and receives signals. The sound is extremely garbled. In addition, when SdrGlut is running while I play a youtube video, it gables that sound also. If I quit SdrGlut, the sound in the video immediately clears up. The test playsaw command specified in the RtAudio youtube video: ./playsaw 1 40000 does not work, giving the error message RtApiPulse::probeDeviceOpen: unsupported sample rate. ./playsaw 1 44100 works.
What is wrong here? Is there a way to configure the audio/sample rate in SdrGlut?