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

Can't get it to decode anything #13

Closed
niston opened this issue May 6, 2016 · 3 comments
Closed

Can't get it to decode anything #13

niston opened this issue May 6, 2016 · 3 comments

Comments

@niston
Copy link

niston commented May 6, 2016

Maybe the hardware (RPi B+) is not powerful enough?

pi@raspberrypi:~/redsea/src $ rtl_fm -M fm -f 88.2M -l 0 -A std -p 0 -s 228k -F 9 | ./redsea
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
HWTUNER Rafael Micro R820T
Tuner gain set to automatic.
Tuned to 88656000 Hz.
Oversampling input by: 8x.
Oversampling output by: 1x.
Buffer size: 4.49ms
SAMPLERATE 1824000.017395
Sampling at 1824000 S/s.
Output at 228000 Hz.
buffer underrun!

...is all Im getting.

@windytan
Copy link
Owner

windytan commented May 9, 2016

I haven't tested it on RPi yet, maybe soon. Thanks for the report.

@kms
Copy link

kms commented Sep 7, 2016

There are some recent optimizations. I'm running it successfully on an RPi2 now, the rtl_fm and redsea processes are using about 40% CPU each. Might still be a tad too slow for the RPi1, but one option could be to direct the output from rtl_fm to a file and then post-process with redsea. No idea if that makes sense for your use-case, though.

@windytan
Copy link
Owner

Works on RasPi 1 after recent optimizations. I also dropped the sampling rate from 228k -> 171k and added a tip in the readme about fast integer approximation in the FM decoder.

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

3 participants