-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iqSDR sound dropouts #42
Comments
It sounds like speechrecognition 3.10.4 has turned on some option on by default that 3.10.1 had off by default. If you can find it and change it back - that may fix your problem. How did you do the installs of 3.10.1 and 3.10.4 ? iqSDR uses RtAudio while SdrGlut uses OpenAL for the audio processing. iqSDR is slower than SdrGlut, but it can run faster with a few fixes. iqSDR should only drop out if the data from the SDR does not arrive in time. What SDR are you using and how are you sending the data to the speech recognition routines ? What does "top" show when you doing a run - are the CPUs maxed out ? |
I cannot find any instructions on how to configure options for speechrecognition. To install it, I download and extract the archive from
I have RtAudio 6.0.1 installed. With top, iqSDR shows about 115% CPU. While playing iqSDR while it was working the dropouts started 5-10 seconds after I closed PulseAudio Control Panel while on the Input devices tab. Note that the Input Devices and Output Devices menus are blank. |
Which instructions did you follow for the install of iqSDR ? Are you saying that the install of speechrecognition affects iqSDR and SdrGlut, but you are not using speechrecognition ? |
I did try the latest version of iqSDR, but it was not better. The installation was done like this:
I usually have success with makefileUbuntu on my Raspberry Pi. I do install speechrecognition as detailed on my previous post, but I never found out how to use it. |
I ran a copy from another system of the 3/14/2024 installation on my newer system with speechrecognition 3.10.4. The installation done on 5/7/2024 on this newer system did not work and the input and output menus are blank. |
I decided to try building iqSDR using makefileRaspbian. Compiling iqSDR failed with errors related to OpenAL although it is supposed to use RtAudio.
|
Opps - I forgot that I had created a openal version of iqSDR and it got left in the default install. Reload the GitHub files to get the rtradio version. iqSDR should work better. The Input Devices and Output Devices menus should appear - now. I put new version number(1232) on the programs. With the SDRplay RSP1A, don't you need to install "SDRplay_RSP_API-Linux-3.12.1.run" ? Are you currently just using iqSDR and you wanted to send things to speechrecognition ? I would expect that the sound just needs to be piped into the speechrecognition module - what does it say when you start it - is there a "HELP" ? |
Nice job! It works again and the input/output menus are populated. I'm having fun checking out the radio bands in the amazing solar storm. Everything is DEAD except for ground wave. Pretty much local stations only. Very quiet |
Some more things I found: Yes, I installed SDRplay_RSP_API-Linux-3.14.0.run, soon to be SDRplay_RSP_API-Linux-3.15.1.run, just released. I mainly just want to use iqSDR and would like to experiment with speech recognition. I do not have a speech module, nor do I know any iqSDR commands, lacking any sort of documentation. What do I look for? |
I was wondering why the BBC and WWV was dead last night. The README.txt file in the iqSDR folder has a number of examples - Displaying real time TV - using dump1090 to track airplanes - saving I/Q files etc... Here is an example of using speech recognition to control SdrGlut. The real trick in in the program "speechcontrol.py" it does the microphone to text conversion and pipes the text to the input of a waiting program. SdrGlut (a Sofware Defined Radio) - Testing the Voice Control Module |
Running a Raspberry Pi 4B with DietPi Debian Bookworm
This is complicated and will sound confusing. See the summary for clarification.
On a newly installed operating system, I installed speechrecognition 3.10.4, SdrGlut and iqSDR.
iqSDR had audio dropouts with about a half second of audio and a second of silence, repeating.
I found that I can repeatedly run iqSDR and it will eventually work, but that is less than half of the time.
SdrGlut is working very well with only a rare
SDRplay Dev0 RSP1A 19110C0797 (0) count 2114 sound restarted error
.On one system where an older version (3/14/2024) of iqSDR was working, I upgraded speechrecognition to 3.10.4. [2]
After the upgrade, any new iqSDR builds had dropouts.
I downgraded speechrecognition back to the original 3.10.1 version, but any subsequent builds still had dropouts.
Copying the new iqSDR version built with speechrecognition 3.10.1 from a system where it was working had dropouts on this system. The old version still worked on this system.
In summary,
[System 1] new and old iqSDR versions work. It only had speechrecognition 3.10.1
[System 2] had speechrecognition 3.10.1, upgraded to speechrecognition 3.10.4, downgraded back to speechrecognition 3.10.1 works on the old version. It does not work with a working copy of the new version from [System 1]
[System 3] only had speechrecognition 3.10.4 and works on the old version compiled under speechrecognition 3.10.1. It does not work with a working copy of the new version from [System 1] or one that was compiled on this system.
It seems that any system that ever had speechrecognition 3.10.4 installed on it will run the old version, but not the new version.
The system that only had speechrecognition 3.10.1 runs both the old and new versions.
The problem seems to be partly due to speechrecognition 3.10.4 and partly the latest iqSDR version.
The text was updated successfully, but these errors were encountered: