Code Monkey home page Code Monkey logo

sdr-j-fm's People

Contributors

jvankatwijk avatar stefantalpalaru avatar tomneda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sdr-j-fm's Issues

Some notes after doing lots of testing

Hi Dev,
I hope you are doing well. I have been using this program on Ubuntu 20.04 for the last few months with little issue. I only have these few comments.

  1. This was hell to compile. Better compilation instructions or a well defined dependency list for Linux would be a plus.
  2. The RDS message disappears too fast. It would be a nice feature if when a message is complete, it is only changed/replaced when a change is detected. I do not know how your code works but I'm sure this can be done with a while loop that compares the message to the new data and then overwrites the old message when new data is detected
  3. Double clicking on a bookmark deletes it which is kind of inconvenient but I would not consider that a major bug

Overall this program is great, The first thing on my list above is a major issue in my opinion but the other two things are not a huge deal. RDS improvements would be a plus though.

SDR-J-FM 3.0 Feedback

Not an issue but just some feedback on the latest version of the sofrware. Most feedback is about the new UI.

First off, I got to say you got the RDS decoding is really good compared to the last version. The text cuts off by a few characters at times but still it's night and day better. However RDS kind of breaks when AFC is enabled but when that's disabled it's really good. There is no difference between RDS-1 and RDS-2 for the AFC and character thing I mentioned.

The new UI looks cool and is something I enjoy having on my TV. My only suggestion is that the RDS display is slightly larger and different parts can be resized, specifically the bookmarks.

I don't know if it's my KDE theme or sdr_j_fm but when clicking in the drop down menu text can be hard to see. It's still visible but I can see some people having trouble with it.

Also I found getting started pretty hard. As someone who is tech savvy I know what many of these options do. However a new user may have trouble. The tooltips are helpful but are still technical. Maybe a future version can have some settings presets such as "FM USA" or "FM Europe" etc. that a user can choose from to get up and running right away. I also didn't know about the new volume control and was wondering why I had no sound to realize the volume slider was at -999 which took me a few minutes to figure out.

Here's a screenshot of my setup if you're curious and/or you want to share it as a screenshot on the ReadMe

image

Btw, Here is what I'm talking about a few characters being cut off. It's not bad but I find it interesting how it's only 1-3 characters every time. Mostly it's been 1 character.

image

I see you put a lot of hard work in this version. Thanks again for maintaining and improving this program. This new version was a pleasant and unexpected surprise for me. Really made my day!

issue

Sir can i get any idea or material related to the design approach used here

sdr j fm software

I am reusing your code,instead of supporting many devices i am trying to bring it for a single tuner(device) to support..But I cant able to get the audio and expected data.

Could you please help me about the procedures for doing this.
If you have code for a FM tuner , kindly share it,which will be very helpful...
I am doing this for past 3 months.I need some support.

Thanks in Advance:)

RTL-SDR does not work with latest Appimage.

Happy new year!
Saw you made a release last week and gave it a try today. I see you changed the UI a little bit and put the device selector on startup like swradio-9. However the program does not seem to work with my RTL-SDR. There are no error messages in the terminal when I launch the program.

Won't link - ld is missing references to fftw functions

Here on NixOS, I had to make the following edit to CMakeLists.txt before cmake successfully ran:

diff --git i/CMakeLists.txt w/CMakeLists.txt
index 2b966d1..7c61551 100644
--- i/CMakeLists.txt
+++ w/CMakeLists.txt
@@ -103,7 +103,7 @@ list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
 	)
 
 	list (APPEND FFTW_INCLUDE_DIRS ${FFTW_INCLUDE_DIR})
-	find_library (FFTW_LIBRARIES NAMES fftw3f
+	find_library (FFTW_LIBRARIES NAMES fftw3
                       HINTS ENV FFTW_ROOT
                       PATHS
                       PATH_SUFFIXES lib64 Lib64 lib Lib)
@@ -395,7 +395,7 @@ list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
 	      set (extraLibs ${extraLibs} ${AIRSPY_LIB})
 	   endif()
 	   find_path (AIRSPYLIB_INCLUDE_DIR
-	              NAMES airspy.h
+	              NAMES libairspy/airspy.h
 	              PATHS
 	              /usr/local/include/
 	              /usr/local/include/libairspy

After that, I also got the following build errors:

<artificial>:(.text+0x4347): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x43a2): undefined reference to `fftwf_plan_dft_1d'
<artificial>:(.text+0x43c9): undefined reference to `fftwf_destroy_plan'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x43d2): undefined reference to `fftwf_free'
<artificial>:(.text+0x4409): undefined reference to `fftwf_execute'
<artificial>:(.text+0x45d7): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x4632): undefined reference to `fftwf_plan_dft_1d'
<artificial>:(.text+0x4659): undefined reference to `fftwf_destroy_plan'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x4662): undefined reference to `fftwf_free'
<artificial>:(.text+0x4689): undefined reference to `fftwf_execute'
<artificial>:(.text+0x8157): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x81bd): undefined reference to `fftwf_plan_dft_1d'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x81ec): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8255): undefined reference to `fftwf_plan_dft_1d'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8284): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x82ed): undefined reference to `fftwf_plan_dft_1d'
<artificial>:(.text+0x8437): undefined reference to `fftwf_destroy_plan'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8440): undefined reference to `fftwf_free'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x845f): undefined reference to `fftwf_destroy_plan'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8468): undefined reference to `fftwf_free'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8487): undefined reference to `fftwf_destroy_plan'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8490): undefined reference to `fftwf_free'
<artificial>:(.text+0x855d): undefined reference to `fftwf_execute'
<artificial>:(.text+0x877e): undefined reference to `fftwf_execute'
<artificial>:(.text+0x89fe): undefined reference to `fftwf_execute'
<artificial>:(.text+0x8b39): undefined reference to `fftwf_execute'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x8c10): undefined reference to `fftwf_execute'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: /build/cc2AJq9X.ltrans2.ltrans.o:<artificial>:(.text+0x43f5): more undefined references to `fftwf_execute' follow
<artificial>:(.text+0xf97): undefined reference to `fftwf_destroy_plan'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xfa0): undefined reference to `fftwf_free'
<artificial>:(.text+0x109b): undefined reference to `fftwf_execute'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x1134): undefined reference to `fftwf_execute'
<artificial>:(.text+0x1304): undefined reference to `fftwf_execute'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x13ad): undefined reference to `fftwf_execute'
<artificial>:(.text+0x7617): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0x767d): undefined reference to `fftwf_plan_dft_1d'
<artificial>:(.text+0x8065): undefined reference to `fftwf_execute'
<artificial>:(.text+0x8b6d): undefined reference to `fftwf_execute'
<artificial>:(.text+0x8d45): undefined reference to `fftwf_execute'
<artificial>:(.text+0xa6c1): undefined reference to `fftwf_execute'
<artificial>:(.text+0xc4d9): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xc51f): undefined reference to `fftwf_plan_dft_1d'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xd04c): undefined reference to `fftwf_execute'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xdee3): undefined reference to `fftwf_execute'
<artificial>:(.text+0xf423): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xf492): undefined reference to `fftwf_plan_dft_1d'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xf4c6): undefined reference to `fftwf_malloc'
/nix/store/f4qnwzv6y0nq8lix33jr5ykkyybs6fxf-binutils-2.40/bin/ld: <artificial>:(.text+0xf53a): undefined reference to `fftwf_plan_dft_1d'

Here's how NixOS compiles fftw:

https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/fftw/default.nix

And here's the files in fftw's tree:

result
└── lib
|   ├── libfftw3.la
|   ├── libfftw3_omp.la
|   ├── libfftw3_omp.so -> libfftw3_omp.so.3.6.10
|   ├── libfftw3_omp.so.3 -> libfftw3_omp.so.3.6.10
|   ├── libfftw3_omp.so.3.6.10
|   ├── libfftw3.so -> libfftw3.so.3.6.10
|   ├── libfftw3.so.3 -> libfftw3.so.3.6.10
|   ├── libfftw3.so.3.6.10
|   ├── libfftw3_threads.la
|   ├── libfftw3_threads.so -> libfftw3_threads.so.3.6.10
|   ├── libfftw3_threads.so.3 -> libfftw3_threads.so.3.6.10
|   └── libfftw3_threads.so.3.6.10
├── bin
│   ├── fftw-wisdom
│   └── fftw-wisdom-to-conf
├── include
│   ├── fftw3.f
│   ├── fftw3.f03
│   ├── fftw3.h
│   ├── fftw3l.f03
│   └── fftw3q.f03
├── lib
│   ├── cmake
│   │   └── fftw3
│   │       ├── FFTW3Config.cmake
│   │       └── FFTW3ConfigVersion.cmake
│   └── pkgconfig
│       └── fftw3.pc
└── nix-support
    └── propagated-build-inputs

7 directories, 11 files

I think Ideally you could use those FFTW3Config.cmake files that are supplied by default so it seems.

missing include

problem:

radio.cpp: In member function ‘void RadioInterface::showDcComponents(float, float)’:
radio.cpp:1600:31: error: variable ‘std::array<char, 1024> s’ has initializer but incomplete type
 1600 | static std::array<char, 1024> s{};
      |                               ^
make: *** [Makefile:1256: radio.o] Error 1

fix:

diff -ur sdr-j-fm-3.0.orig/radio.cpp sdr-j-fm-3.0/radio.cpp
--- sdr-j-fm-3.0.orig/radio.cpp	2022-12-13 14:12:46.000000000 +0100
+++ sdr-j-fm-3.0/radio.cpp	2022-12-13 14:53:01.205889004 +0100
@@ -27,6 +27,7 @@
 #include	<QHeaderView>
 #include	<QSettings>
 #include	<Qt>
+#include	<array>
 #include	"radio.h"
 #include	"audiosink.h"
 #include	"fm-constants.h"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.