{"id":1707,"date":"2017-05-22T12:09:15","date_gmt":"2017-05-22T09:09:15","guid":{"rendered":"http:\/\/eero.storijapan.net\/log\/?p=1707"},"modified":"2017-05-22T12:09:15","modified_gmt":"2017-05-22T09:09:15","slug":"20170522-2","status":"publish","type":"post","link":"https:\/\/eero.storijapan.net\/docfolio\/20170522-2\/","title":{"rendered":"20170522"},"content":{"rendered":"<p>Making the &#8220;Hammeradio&#8221; launch FM broadcast by <a href=\"https:\/\/www.raspberrypi.org\/documentation\/linux\/usage\/cron.md\">scheduling tasks with cron<\/a>. <code>@reboot \/home\/pi\/Desktop\/startupfm.sh<\/code> works well. It launches <code>sudo arecord -fS16_LE -r 22050 -Dplughw:1,0 -c 1 - | sudo \/home\/pi\/PiFmRds\/src\/pi_fm_rds -audio - -rt Hammeradio &amp;<\/code> I&#8217;ll also schedule a daily power off cycle for the device. I&#8217;ll set it to work during gallery open hours 14:00 to 18:00 (with a Lunch break in the middle). Found an old amplifier circuit I build (while learning to solder to make the WSG) and I&#8217;ll test it with the piezo mic I have handy (It would save the iRig pre-amp I bought).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Making the &#8220;Hammeradio&#8221; launch FM broadcast by scheduling tasks with cron. @reboot \/home\/pi\/Desktop\/startupfm.sh works well. It launches sudo arecord -fS16_LE -r 22050 -Dplughw:1,0 -c 1 &#8211; | sudo \/home\/pi\/PiFmRds\/src\/pi_fm_rds -audio &#8211; -rt Hammeradio &amp; I&#8217;ll also schedule a daily power off cycle for the device. I&#8217;ll set it to work during gallery open hours 14:00 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/eero.storijapan.net\/docfolio\/20170522-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;20170522&#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,45],"class_list":["post-1707","post","type-post","status-publish","format-standard","hentry","category-log","tag-hammeradio","tag-raspberry-pi","tag-weird-sound-generator"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts\/1707","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=1707"}],"version-history":[{"count":0,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts\/1707\/revisions"}],"wp:attachment":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/media?parent=1707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/categories?post=1707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/tags?post=1707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}