{"id":1695,"date":"2017-05-19T15:55:37","date_gmt":"2017-05-19T12:55:37","guid":{"rendered":"http:\/\/eero.storijapan.net\/log\/?p=1695"},"modified":"2018-03-29T16:34:50","modified_gmt":"2018-03-29T13:34:50","slug":"20170519-2","status":"publish","type":"post","link":"https:\/\/eero.storijapan.net\/docfolio\/20170519-2\/","title":{"rendered":"20170519"},"content":{"rendered":"<p>I got <a href=\"https:\/\/github.com\/ChristopheJacquet\/PiFmRds\">PiFmRds<\/a> to work on my RasPi3.<\/p>\n<p>Note to self:<\/p>\n<p>1. Use <a href=\"https:\/\/etcher.io\/\">Etcher<\/a> to flash <a href=\"https:\/\/www.raspberrypi.org\/downloads\/raspbian\/\">Raspbian<\/a>.<br \/>\n2. Enable ssh in RasPi using Terminal<br \/>\n<code>cd Volumes<br \/>\ncd boot<br \/>\ntouch ssh<\/code><br \/>\n3. Boot RasPi3, login via ssh<br \/>\n4. Set new password<br \/>\n<code>passwd<\/code><br \/>\n5. Set locale<br \/>\n<code>raspi-config<\/code><br \/>\n6. Install sndfile library<br \/>\n<code>sudo apt-get install libsndfile1-dev<\/code><br \/>\n7. Install PiFmRds<br \/>\n<code>git clone https:\/\/github.com\/ChristopheJacquet\/PiFmRds.git<br \/>\ncd PiFmRds\/src<br \/>\nmake clean<br \/>\nmake<\/code><br \/>\n8. Broadcast from usb audio in at 107.9FM in mono 22050<br \/>\n<code>sudo arecord -fS16_LE -r 22050 -Dplughw:1,0 -c 1 - | sudo .\/pi_fm_rds -audio - -rt Hammeradio<\/code><br \/>\n9. End broadcast<br \/>\n<code>sudo pkill pi_fm_rds<\/code><\/p>\n<p>Fiddled\u00a0with PiFmRds settings (I want it to display <a href=\"http:\/\/eero.storijapan.net\/docfolio\/20160509-2\/\">Hammeradio<\/a>\u00a0as radiotext (RT) but I&#8217;m not sure if it&#8217;s working). I also want to run a .sh script on boot to launch pi_fm_rds broadcast (aka. step 8). Currently launching\u00a0the pi_fm_rds from\u00a0<code>\/etc\/rc.local<\/code>. Tomorrow I&#8217;ll try\u00a0to build\u00a0a\u00a0<a href=\"https:\/\/www.raspberrypi.org\/documentation\/linux\/usage\/cron.md\">cron startup schedule<\/a>\u00a0so that I can spare the Hammeradio\u00a0preamp from excess stress by powering the system down on\u00a0gallery off hours (I have to use a preamp to connect a piezo mic to the RasPi). Other useful resources for future\u00a0<a href=\"https:\/\/www.raspberrypi.org\/documentation\/remote-access\/vnc\/\">tightvnc manual<\/a>.<\/p>\n<p>Installed Sea Change: In the Scale of a Horse (2017) by Otto Karvonen feat Trans-Horse installation at Vuotalo.\u00a0The installation consists of\u00a0<a href=\"https:\/\/www.youtube.com\/watch?v=ME_PDySgFRU\">a performance documentation<\/a>, a custom horse blanket with an embroidery with the\u00a0text &#8220;Helsingin kaupunki \u2013 Kaupunkimittausyksikk\u00f6&#8221;\u00a0and horse-gear used by Toivottu Poika during our HKI-TKU-HKI riding trip in 2014.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got PiFmRds to work on my RasPi3. Note to self: 1. Use Etcher to flash Raspbian. 2. Enable ssh in RasPi using Terminal cd Volumes cd boot touch ssh 3. Boot RasPi3, login via ssh 4. Set new password passwd 5. Set locale raspi-config 6. Install sndfile library sudo apt-get install libsndfile1-dev 7. Install &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/eero.storijapan.net\/docfolio\/20170519-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;20170519&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[49,44],"class_list":["post-1695","post","type-post","status-publish","format-standard","hentry","category-log","tag-hammeradio","tag-raspberry-pi"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts\/1695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/comments?post=1695"}],"version-history":[{"count":0,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts\/1695\/revisions"}],"wp:attachment":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/media?parent=1695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/categories?post=1695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/tags?post=1695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}