{"id":7217,"date":"2020-01-05T23:53:03","date_gmt":"2020-01-05T21:53:03","guid":{"rendered":"https:\/\/eero.storijapan.net\/docfolio\/?p=7217"},"modified":"2020-01-07T13:25:11","modified_gmt":"2020-01-07T11:25:11","slug":"20200105-2","status":"publish","type":"post","link":"https:\/\/eero.storijapan.net\/docfolio\/20200105-2\/","title":{"rendered":"20200105"},"content":{"rendered":"<p>Got a Raspi4 with 4 gigs of ram as a gift! Enabled a <a href=\"https:\/\/www.stderr.nl\/Blog\/Hardware\/RaspberryPi\/PowerButton.html\">powerdown and powerup button<\/a> by adding <code>dtoverlay=gpio-shutdown,gpio_pin=3<\/code> to <code>\/boot\/config.txt<\/code>. Got <a href=\"https:\/\/github.com\/markondej\/fm_transmitter\">fm_transmitter<\/a> maintained by markondej working. The project seems to be less complicated then <a href=\"https:\/\/github.com\/ChristopheJacquet\/PiFmRds\">PiFmRds<\/a> which I was using previously. Learning to add buttons, switches and sensors to the Raspi. Dreaming of adding a WH1602C-YYH-JTK# &#8211; LCD display too (I salvaged a unit in New York). Added a button using thagrol&#8217;s python script <a href=\"https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?t=175005\">Switch button on GPIO, short press \/ long press<\/a>. A short press starts fm_transmitter and long press terminates it. This is done using scripts lauched from python <code>        subprocess.Popen(['\/home\/pi\/fm_transmitter\/broadcast.sh'],shell=True)<\/code>. I haven&#8217;t found a good way to terminate a broadcast, attempts to use <code>pkill<\/code> cause the a segment of a broadcasted file to loop.<\/p>\n<p>Ilkka send me an interesting link <a href=\"http:\/\/viznut.fi\/texts-fi\/bytebeat_ja_demoskene.html\">K\u00e4sitt\u00e4m\u00e4tt\u00f6m\u00e4t koodirivit musiikkina [Incomprehensible lines of code as music]<\/a> (2014) Viznut (aka Ville-Matias Heikkil\u00e4) which introduced me to <a href=\"https:\/\/youtu.be\/tCRPUv8V22o\">bytebeat.<\/a> The text also gives a thorough introduction to Demoscene development culture. Bytebeat is a music programming method which produces rhythms and melodies in complex ways users don&#8217;t seem to completely understand. It can <a href=\"https:\/\/greggman.com\/downloads\/examples\/html5bytebeat\/html5bytebeat.html\">be used online<\/a> (here are some <a href=\"https:\/\/github.com\/erlehmann\/algorithmic-symphonies\">samples for experimentation<\/a>). There is a tutorial of sorts available <a href=\"https:\/\/arxiv.org\/abs\/1112.1368\">Discovering novel computer music techniques by exploring the space of short computer programs<\/a> (2011) Viznut. Also read <a href=\"http:\/\/viznut.fi\/texts-en\/reaching_for_the_blocks.html\">Reaching for the blocks of the living world<\/a> (2018) by the author which feels like an attempt to bridge coding (optimization) and permaculture (degrowth?). The text explores two modes for studying: analytical mode vs. intuition. Viznut argues that &#8220;The trial-and-error mode is not problematic per se, it just needs a lot of cycles&#8221;.<\/p>\n<blockquote><p>As a child, I used to believe in endless linear progress. There were ever higher buildings in the world, ever more TV channels, ever-faster computers and spacecraft. [\u2026] In my teens, I started to notice the dark sides. [\u2026] As a response, I started to embrace an opposite kind of esthetic and technological ideology: small is beautiful, bits are beautiful, hacks are beautiful. True progress is about deepness and compression instead of maximization and accumulation.<\/p><\/blockquote>\n<p>Viznut has also made the <a href=\"https:\/\/youtu.be\/0S7vYMUWqg8\">PC-lamerit online series<\/a> (2015-2019) which I&#8217;ve been browsing last night.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Got a Raspi4 with 4 gigs of ram as a gift! Enabled a powerdown and powerup button by adding dtoverlay=gpio-shutdown,gpio_pin=3 to \/boot\/config.txt. Got fm_transmitter maintained by markondej working. The project seems to be less complicated then PiFmRds which I was using previously. Learning to add buttons, switches and sensors to the Raspi. Dreaming of adding &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/eero.storijapan.net\/docfolio\/20200105-2\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;20200105&#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":[309,44,1732],"class_list":["post-7217","post","type-post","status-publish","format-standard","hentry","category-log","tag-ilkka-wahala","tag-raspberry-pi","tag-viznut"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts\/7217","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=7217"}],"version-history":[{"count":0,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/posts\/7217\/revisions"}],"wp:attachment":[{"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/media?parent=7217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/categories?post=7217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eero.storijapan.net\/docfolio\/wp-json\/wp\/v2\/tags?post=7217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}