{"id":112,"date":"2016-04-09T20:32:52","date_gmt":"2016-04-09T18:32:52","guid":{"rendered":"https:\/\/einstein.amsterdam\/blog\/?page_id=112"},"modified":"2016-04-09T20:32:52","modified_gmt":"2016-04-09T18:32:52","slug":"playing-radio","status":"publish","type":"page","link":"https:\/\/einstein.amsterdam\/?page_id=112","title":{"rendered":"Part 2 : Playing Radio"},"content":{"rendered":"<p>Playing Radio<\/p>\n<p><span id=\"Playing_Radio_with_Linux\" class=\"mw-headline\"><\/span>Now, lets try to listen to some radio. I choose 100.7 FM as this is a fair strong signal. Lets hook up some speakers to the Raspberry and let\u2019s go\u00a0:<\/p>\n<pre>pi@srv-rasp-01 ~ $ rtl_fm -f 100.7M -M wbfm -s 200000 -r 48000 | aplay -r 48k -f S16_LE\nFound 1 device(s):\n0:  Realtek, RTL2838UHIDIR, SN: 00000001\nUsing device 0: Generic RTL2832U OEM\nFound Rafael Micro R820T tuner\nOversampling input by: 2x.\nOversampling output by: 4x.\nBuffer size: 5.12ms\nTuned to 101116000 Hz.\nSampling at 1600000 Hz.\nOutput at 48000 Hz.\nTuner gain set to automatic.\nPlaying raw data 'stdin'\u00a0: Signed 16 bit Little Endian, Rate 48000 Hz, Mono\n<\/pre>\n<p>And we have radio.!\u2026.let\u2019s try if the Terratec dongle does any better\u00a0\ud83d\ude42 .. Let\u2019s first run it through a rtl_test with the -t parameter designed to benchmark the E4000 tuner.<\/p>\n<pre>pi@srv-rasp-01 ~ $ rtl_test -t\nFound 1 device(s):\n0:  Terratec T Stick PLUS\nUsing device 0: Terratec T Stick PLUS\nFound Elonics E4000 tuner\nSupported gain values (14): -1.0 1.5 4.0 6.5 9.0 11.5 14.0 16.5 19.0 21.5 24.0 29.0 34.0 42.0\nBenchmarking E4000 PLL...\n[E4K] PLL not locked for 52000000 Hz!\n[E4K] PLL not locked for 2214000000 Hz!\n[E4K] PLL not locked for 1107000000 Hz!\n[E4K] PLL not locked for 1249000000 Hz!\nE4K range: 53 to 2213 MHz\nE4K L-band gap: 1107 to 1249 MHz\n<\/pre>\n<p>Good.. this seems to work. Now lets try the radio again\u2026. same quality..Not better or worse. Though it have to be mentioned that I had to use a good antenna (outside) to get a noise-free signal while a portable radio could do the same with a small internal antenna. (Don\u2019t mind my long antenna-adapter-conversion as I used what-ever I could find to hook it up to the IEC connector of the Dongle)<\/p>\n<p>source : <a class=\"external free\" href=\"http:\/\/www.yellownote.nl\/blog\/index.php\/2014\/01\/12\/dvb-t-fun-raspberry-pi\/\" rel=\"nofollow\">http:\/\/www.yellownote.nl\/blog\/index.php\/2014\/01\/12\/dvb-t-fun-raspberry-pi\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Playing Radio Now, lets try to listen to some radio. I choose 100.7 FM as this is a fair strong signal. Lets hook up some <a class=\"mh-excerpt-more\" href=\"https:\/\/einstein.amsterdam\/?page_id=112\" title=\"Part 2 : Playing Radio\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages\/112"}],"collection":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=112"}],"version-history":[{"count":0,"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=\/wp\/v2\/pages\/112\/revisions"}],"wp:attachment":[{"href":"https:\/\/einstein.amsterdam\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}