Created
January 29, 2014 07:21
-
-
Save pdp7/8683297 to your computer and use it in GitHub Desktop.
BeagleBone Black tuning FM station with Adafruit USB DVB-T and USB Sound Card with rtl-sdr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@beaglebone:~# rtl_eeprom | |
Found 1 device(s): | |
0: Generic RTL2832U OEM | |
Using device 0: Generic RTL2832U OEM | |
Found Rafael Micro R820T tuner | |
Current configuration: | |
__________________________________________ | |
Vendor ID: 0x0bda | |
Product ID: 0x2838 | |
Manufacturer: Realtek | |
Product: RTL2838UHIDIR | |
Serial number: 00000001 | |
Serial number enabled: yes | |
IR endpoint enabled: yes | |
Remote wakeup enabled: no | |
__________________________________________ | |
root@beaglebone:~# rtl_fm -f 96.3e6 -r 48000 - | aplay -r 48k -f S16_LE | |
Found 1 device(s): | |
0: Realtek, RTL2838UHIDIR, SN: 00000001 | |
Using device 0: Generic RTL2832U OEM | |
Found Rafael Micro R820T tuner | |
Tuner gain set to automatic. | |
Tuned to 96552000 Hz. | |
Oversampling input by: 42x. | |
Oversampling output by: 1x. | |
Buffer size: 8.13ms | |
Exact sample rate is: 1008000.009613 Hz | |
Sampling at 1008000 S/s. | |
Output at 24000 Hz. | |
aplay: playback:2483: read error | |
root@beaglebone:~# nice -n -10 rtl_fm -f 96.3e6 -M wbfm -r 48000 - | aplay -r 48k -f S16_LE | |
Found 1 device(s): | |
0: Realtek, RTL2838UHIDIR, SN: 00000001 | |
Using device 0: Generic RTL2832U OEM | |
Found Rafael Micro R820T tuner | |
Tuner gain set to automatic. | |
Tuned to 96571000 Hz. | |
Oversampling input by: 6x. | |
Oversampling output by: 1x. | |
Buffer size: 8.03ms | |
Exact sample rate is: 1020000.026345 Hz | |
Sampling at 1020000 S/s. | |
Output at 170000 Hz. | |
Playing raw data 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment