{"id":17463,"date":"2017-08-09T21:30:01","date_gmt":"2017-08-09T20:30:01","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=17463"},"modified":"2017-08-09T22:11:13","modified_gmt":"2017-08-09T21:11:13","slug":"use-a-microbit-to-control-music-on-a-raspberry-pi-with-the-bitio-library","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=17463","title":{"rendered":"Use a micro:bit to control music on a Raspberry Pi with the bitio library"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17464\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=560%2C291&#038;ssl=1\" alt=\"\" width=\"560\" height=\"291\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?w=1275&amp;ssl=1 1275w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=300%2C156&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=768%2C399&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=1024%2C532&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=560%2C291&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=260%2C135&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?resize=160%2C83&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>Giles Booth likes to try out new hardware by seeing if it can be made into a music player. This time, he&#8217;s used a micro:bit to control a Raspberry Pi&#8217;s music playing capabilities. By pressing A and B, he can change channels and by tilting the micro:bit from side to side, he can change the volume. The magic sauce that makes this all work is <a href=\"https:\/\/twitter.com\/whaleygeek\" target=\"_blank\" rel=\"noopener\">David Whale<\/a>&#8216;s <a href=\"https:\/\/github.com\/whaleygeek\/bitio\" target=\"_blank\" rel=\"noopener\">bitio Python library<\/a>\u00a0which gives users of Python on a Pi, PC or Mac access to the micro:bit&#8217;s sensors and buttons. You can <a href=\"http:\/\/www.suppertime.co.uk\/blogmywiki\/2017\/08\/microbit-controlled-radio\/\" target=\"_blank\" rel=\"noopener\">read more about this project on Giles&#8217; blog here<\/a>\u00a0and you can <a href=\"https:\/\/github.com\/whaleygeek\/bitio\" target=\"_blank\" rel=\"noopener\">find out more about the bitio library here<\/a>. <a href=\"https:\/\/thepihut.com\/collections\/micro-bit-store\" target=\"_blank\" rel=\"noopener\">Get hold of a micro:bit from The Pi Hut<\/a>. Giles takes you through the operation of the system in the video below:<\/p>\n<p><iframe loading=\"lazy\" title=\"Microbit-controlled radio\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/zIxCsXDGR_w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Giles Booth likes to try out new hardware by seeing if it can be made into a music player. This time, he&#8217;s used a micro:bit to control a Raspberry Pi&#8217;s music playing capabilities. By pressing A and B, he can&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":17464,"comment_status":"open","ping_status":"closed","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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[96,31,39,49,51],"tags":[507,499,498,366],"class_list":["post-17463","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microbit","category-music","category-programming","category-software","category-tutorials","tag-david-whale","tag-giles-booth","tag-microbit","tag-music-player"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Use a micro:bit to control music on a Raspberry Pi with the bitio library - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use a micro:bit to control music on a Raspberry Pi with the bitio library - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Giles Booth likes to try out new hardware by seeing if it can be made into a music player. This time, he&#8217;s used a micro:bit to control a Raspberry Pi&#8217;s music playing capabilities. By pressing A and B, he can&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-09T20:30:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-08-09T21:11:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1275\" \/>\n\t<meta property=\"og:image:height\" content=\"663\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Use a micro:bit to control music on a Raspberry Pi with the bitio library\",\"datePublished\":\"2017-08-09T20:30:01+00:00\",\"dateModified\":\"2017-08-09T21:11:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\"},\"wordCount\":163,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1\",\"keywords\":[\"david whale\",\"giles booth\",\"micro:bit\",\"music player\"],\"articleSection\":[\"micro:bit\",\"Music\",\"Programming\",\"Software\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\",\"name\":\"Use a micro:bit to control music on a Raspberry Pi with the bitio library - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1\",\"datePublished\":\"2017-08-09T20:30:01+00:00\",\"dateModified\":\"2017-08-09T21:11:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=17463\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1\",\"width\":1275,\"height\":663},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17463#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use a micro:bit to control music on a Raspberry Pi with the bitio library\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Use a micro:bit to control music on a Raspberry Pi with the bitio library - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=17463","og_locale":"en_US","og_type":"article","og_title":"Use a micro:bit to control music on a Raspberry Pi with the bitio library - Raspberry Pi Pod","og_description":"Giles Booth likes to try out new hardware by seeing if it can be made into a music player. This time, he&#8217;s used a micro:bit to control a Raspberry Pi&#8217;s music playing capabilities. By pressing A and B, he can&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=17463","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2017-08-09T20:30:01+00:00","article_modified_time":"2017-08-09T21:11:13+00:00","og_image":[{"width":1275,"height":663,"url":"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1","type":"image\/jpeg"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Use a micro:bit to control music on a Raspberry Pi with the bitio library","datePublished":"2017-08-09T20:30:01+00:00","dateModified":"2017-08-09T21:11:13+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463"},"wordCount":163,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1","keywords":["david whale","giles booth","micro:bit","music player"],"articleSection":["micro:bit","Music","Programming","Software","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=17463#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463","url":"https:\/\/www.recantha.co.uk\/blog\/?p=17463","name":"Use a micro:bit to control music on a Raspberry Pi with the bitio library - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1","datePublished":"2017-08-09T20:30:01+00:00","dateModified":"2017-08-09T21:11:13+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=17463"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1","width":1275,"height":663},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17463#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Use a micro:bit to control music on a Raspberry Pi with the bitio library"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/08\/microbitmusicplayer.jpg?fit=1275%2C663&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-4xF","jetpack-related-posts":[{"id":17929,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17929","url_meta":{"origin":17463,"position":0},"title":"Making a radio with the Pimoroni Hyperpixel and a Raspberry Pi","author":"Michael Horne","date":"11 December 2017","format":false,"excerpt":"https:\/\/www.youtube.com\/watch?v=G8fdosUKtbw Giles Booth likes to make radios out of tech. This time, he's taken a Pimoroni Hyperpixel\u00a0and a Pi and installed on the SD card MPC and MPD which allows him to play streams or MP3 files. He's then programmed the Pi using Python and the Tkinter library and made\u2026","rel":"","context":"In &quot;Media centre&quot;","block_context":{"text":"Media centre","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=30"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/img.youtube.com\/vi\/G8fdosUKtbw\/0.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":13925,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13925","url_meta":{"origin":17463,"position":1},"title":"Turn the Raspberry Pi SenseHAT into a spirit level","author":"Michael Horne","date":"20 December 2015","format":false,"excerpt":"Giles Booth has attached a SenseHAT to his Raspberry Pi and then written some simple Python script to generate a spirit level on the SenseHAT's matrix display. Some great work here showing the flexibility of this fantastic little Pi accessory. Read how to do it\u00a0here.","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/12\/spiritlevel.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/12\/spiritlevel.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/12\/spiritlevel.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2015\/12\/spiritlevel.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":14176,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14176","url_meta":{"origin":17463,"position":2},"title":"Program a CodeBug from a Raspberry Pi with Python","author":"Michael Horne","date":"19 February 2016","format":false,"excerpt":"The MagPi has just published one of it's articles online. This one covers programming the CodeBug\u00a0micro-controller from a Raspberry Pi using a Python 3 library. Read it here.","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.raspberrypi.org\/magpi\/wp-content\/uploads\/2016\/02\/extraImage.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.raspberrypi.org\/magpi\/wp-content\/uploads\/2016\/02\/extraImage.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.raspberrypi.org\/magpi\/wp-content\/uploads\/2016\/02\/extraImage.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.raspberrypi.org\/magpi\/wp-content\/uploads\/2016\/02\/extraImage.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.raspberrypi.org\/magpi\/wp-content\/uploads\/2016\/02\/extraImage.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":17178,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17178","url_meta":{"origin":17463,"position":3},"title":"Internet radio controlled by a Raspberry Pi and Flotilla","author":"Michael Horne","date":"23 July 2017","format":false,"excerpt":"Giles Booth has recently been rediscovering the Flotilla range from Pimoroni. By putting together various components, such as the Flotilla dock, a slider, a touch-button add-on and an 8x8 matrix, he's created an internet radio. The back-end is MPC and MPD and the Python script simply calls this software to\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/flotilla-radio-icon-1024x682.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/flotilla-radio-icon-1024x682.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/flotilla-radio-icon-1024x682.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/flotilla-radio-icon-1024x682.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":13575,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13575","url_meta":{"origin":17463,"position":4},"title":"Simple GPIO project using the Raspberry Pi and GPIO Zero","author":"Michael Horne","date":"19 October 2015","format":false,"excerpt":"Giles Booth wanted to get started with physical computing using the Pi. Luckily, Ben Nuttall had just announced GPIO Zero, the new GPIO library from the Foundation. So, Giles got hold of some simple electronic components and wrote a traffic light project using Zero. Read about his efforts here. Shameless\u2026","rel":"","context":"In &quot;Making&quot;","block_context":{"text":"Making","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=50"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights.png?resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.suppertime.co.uk\/blogmywiki\/wp-content\/uploads\/2015\/10\/traffic-lights.png?resize=700%2C400 2x"},"classes":[]},{"id":17147,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17147","url_meta":{"origin":17463,"position":5},"title":"Control a paint program with a Wiimote on the Raspberry Pi","author":"Michael Horne","date":"18 July 2017","format":false,"excerpt":"Giles Booth has followed on from Matt Hawkins' work on using a Wiimote and hooked the Bluetooth remote control device up to the Pi and made it control Turtle graphics. You can change pen colour, lift and place the pen and, of course, control the direction of the turtle. A\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/wii_control_paint.png?fit=1024%2C576&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/wii_control_paint.png?fit=1024%2C576&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/wii_control_paint.png?fit=1024%2C576&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/wii_control_paint.png?fit=1024%2C576&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17463"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17463\/revisions"}],"predecessor-version":[{"id":17465,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17463\/revisions\/17465"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/17464"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}