Skip to content
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

How to Best "Pipe" Audio from Gqrx to aptdec? #25

Open
AlexLandherr opened this issue Nov 1, 2023 · 1 comment
Open

How to Best "Pipe" Audio from Gqrx to aptdec? #25

AlexLandherr opened this issue Nov 1, 2023 · 1 comment

Comments

@AlexLandherr
Copy link

Hi, I have this project idea:
https://forums.raspberrypi.com/viewtopic.php?t=358687

on how to get live decoding working on a Raspberry Pi 4 or Raspberry Pi 5.

My question is how would I "pipe" the audio from Gqrx to aptdec on Raspberry Pi OS?

@Xerbo
Copy link
Owner

Xerbo commented Apr 24, 2024

APT is a very simple protocol, GPS and doppler tracking are completely unnecessary.

This is very easily doable with aptdec v2 and rtl_fm, see the README for a basic example. Should also be doable with the master branch with something like:

mkfifo /tmp/aptaudio
aptdec -r /tmp/aptaudio
rtl_fm -f 137.1M -g 40 -s 40k | sox -t raw -r 40k -e signed-integer -b 16 - -t wav /tmp/aptaudio

If you have to use GQRX this is best done with the UDP audio function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants