DAB-Radio icon indicating copy to clipboard operation
DAB-Radio copied to clipboard

How do I run this on Ubuntu?

Open CarlosPisco opened this issue 10 months ago • 7 comments

Hi there, I'm newbie on this digital radio SDR stuff, I was interested in this project and I was wondering how do i run this. I mean is there any executable or something like that? I'm on Ubuntu 24.04, sorry if this question is too basic, but I'm trying to learn.

Thanks in advance.

CarlosPisco avatar Feb 19 '25 22:02 CarlosPisco

Here are some instructions

source: https://github.com/williamyang98/DAB-Radio/tree/master/toolchains/ubuntu

Instructions

  1. Clone repository: git clone https://github.com/williamyang98/DAB-Radio.git --recurse-submodules
  2. Change into repository directory: cd ./DAB-Radio
  3. Install dependencies: ./toolchains/ubuntu/install_packages.sh
  4. Configure cmake: cmake . -B build --preset gcc -DCMAKE_BUILD_TYPE=Release
  5. Build: cmake --build build --config Release
  6. Run: ./build/examples/radio_app

There aren't any executables for Linux, but you can compile and run it on your Ubuntu 24.04 install using the above instructions. Right now this project only supports the RTLSDR dongle, I'm not sure if other ones will work.

williamyang98 avatar Feb 20 '25 04:02 williamyang98

But why is this how-to not mentioned in the (main) Readme of your github project

andimik avatar Feb 20 '25 09:02 andimik

README.md: https://github.com/williamyang98/DAB-Radio?tab=readme-ov-file#building-programs toolchains/ubuntu/README.md: https://github.com/williamyang98/DAB-Radio/blob/master/toolchains/ubuntu/README.md

You can scroll down the README.md to the Building programs section for non Windows platforms.

williamyang98 avatar Feb 20 '25 10:02 williamyang98

Thanks for your help. Do you know any projects related to this one but in the transmission side, unfortunately in my region there is no dab available, so I want to try it on my own.

Cheers

CarlosPisco avatar Feb 20 '25 16:02 CarlosPisco

Here is opendigitalradio.org which is used for DAB transmissions. You can read the guide for it linked on their website, as well as check out their Github profile.

williamyang98 avatar Feb 20 '25 16:02 williamyang98

Thanks, that was really helpful. Regarding your project I've got a doubt, in the part of output devices I don't get any options, so i can't listen to the tuned frequency, in that case how could I configure an output in that part?

Thanks in advance.

CarlosPisco avatar Feb 25 '25 15:02 CarlosPisco

This might be a problem with portaudio (a crossplatform library which abstracts around different audio apis) or the audio drivers on your install. I'm not sure how to fix both of these issues. For reference this is what I get on my Ubuntu 24.04 installation.

Image Image Image Image Image

williamyang98 avatar Feb 26 '25 15:02 williamyang98