{"id":18838,"date":"2018-05-24T16:11:26","date_gmt":"2018-05-24T15:11:26","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=18838"},"modified":"2018-05-24T16:11:26","modified_gmt":"2018-05-24T15:11:26","slug":"dual-ultrasonic-sensor-theremin-uses-sonic-pi-and-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=18838","title":{"rendered":"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18839\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=560%2C560&#038;ssl=1\" alt=\"\" width=\"560\" height=\"560\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?w=3024&amp;ssl=1 3024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=300%2C300&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=768%2C768&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=1024%2C1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=560%2C560&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=260%2C260&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?resize=160%2C160&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?w=1120&amp;ssl=1 1120w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p><em>Hi everyone. Caught a particularly nasty chest infection and flu on the flight back from Belfast, hence the lack of updates. I&#8217;m about 60% at the moment, but wanted to try and keep the bloggage going as best I can!<\/em><\/p>\n<p>Robin Newman, who is an expert with Sonic Pi, has created a lovely theremin-like musical instrument using a Raspberry Pi. He has wired up two ultrasonic distance sensors to his Pi using a <a href=\"http:\/\/rasp.io\/prohat\/\" target=\"_blank\" rel=\"noopener\">RasPiO Pro HAT<\/a>\u00a0and then created some Python code which reads the sensors and pipes the measurements into Sonic Pi to create sound. He can then vary the sound by holding his hands at different distances from the Pi. You can see it in action below and <a href=\"https:\/\/rbnrpi.wordpress.com\/2018\/05\/17\/dual-sensor-theremin-for-sonic-pi\/\" target=\"_blank\" rel=\"noopener\">find out more about the project on Robin&#8217;s blog<\/a>:<\/p>\n<p><iframe loading=\"lazy\" title=\"Sonic Pi Theremin with 2 Sensors\" width=\"560\" height=\"420\" src=\"https:\/\/www.youtube.com\/embed\/Kk9KO6Stqp4?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>Hi everyone. Caught a particularly nasty chest infection and flu on the flight back from Belfast, hence the lack of updates. I&#8217;m about 60% at the moment, but wanted to try and keep the bloggage going as best I can!&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":18839,"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":[4,20,50,31,62,51],"tags":[658,657,300],"class_list":["post-18838","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-audio","category-gpio-boards","category-making","category-music","category-sensors","category-tutorials","tag-robin-newman","tag-sonic-pi","tag-ultrasonic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi - 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=18838\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Hi everyone. Caught a particularly nasty chest infection and flu on the flight back from Belfast, hence the lack of updates. I&#8217;m about 60% at the moment, but wanted to try and keep the bloggage going as best I can!&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\" \/>\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=\"2018-05-24T15:11:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"3024\" \/>\n\t<meta property=\"og:image:height\" content=\"3024\" \/>\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=18838#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi\",\"datePublished\":\"2018-05-24T15:11:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\"},\"wordCount\":150,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1\",\"keywords\":[\"robin newman\",\"sonic pi\",\"ultrasonic\"],\"articleSection\":[\"Audio\",\"GPIO boards\",\"Making\",\"Music\",\"Sensors\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\",\"name\":\"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1\",\"datePublished\":\"2018-05-24T15:11:26+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=18838\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1\",\"width\":3024,\"height\":3024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=18838#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi\"}]},{\"@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":"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi - 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=18838","og_locale":"en_US","og_type":"article","og_title":"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi - Raspberry Pi Pod","og_description":"Hi everyone. Caught a particularly nasty chest infection and flu on the flight back from Belfast, hence the lack of updates. I&#8217;m about 60% at the moment, but wanted to try and keep the bloggage going as best I can!&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=18838","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2018-05-24T15:11:26+00:00","og_image":[{"width":3024,"height":3024,"url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&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=18838#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi","datePublished":"2018-05-24T15:11:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838"},"wordCount":150,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1","keywords":["robin newman","sonic pi","ultrasonic"],"articleSection":["Audio","GPIO boards","Making","Music","Sensors","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18838#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838","url":"https:\/\/www.recantha.co.uk\/blog\/?p=18838","name":"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1","datePublished":"2018-05-24T15:11:26+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=18838"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1","width":3024,"height":3024},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=18838#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Dual ultrasonic sensor theremin uses Sonic Pi and a Raspberry Pi"}]},{"@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\/2018\/05\/theremin.jpg?fit=3024%2C3024&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-4TQ","jetpack-related-posts":[{"id":18758,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18758","url_meta":{"origin":18838,"position":0},"title":"Creating a touch keyboard for Sonic Pi on the Raspberry Pi","author":"Michael Horne","date":"17 April 2018","format":false,"excerpt":"Robin Newman has taken a Raspberry Pi, a RasPiO Pro HAT\u00a0and an Adafruit MPR121 touch capacitive breakout\u00a0and created a touch-sensitive keyboard for Sonic Pi. He's documented the whole process over on his blog along with all the installation instructions and scripts you need to create your own. Read more here.\u2026","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\/2018\/04\/touch_keyboard_sonic_pi.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/touch_keyboard_sonic_pi.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/touch_keyboard_sonic_pi.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/touch_keyboard_sonic_pi.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/touch_keyboard_sonic_pi.jpg?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/04\/touch_keyboard_sonic_pi.jpg?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":16779,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16779","url_meta":{"origin":18838,"position":1},"title":"New learning resources from the Raspberry Pi Foundation &#8211; GUIs! Theremin! Umm&#8230; Poo!","author":"Michael Horne","date":"19 April 2017","format":false,"excerpt":"Every now and then, I review the Raspberry Pi learning resources page\u00a0to find out what they've been working on. Today is one of those days! Getting Started with GUIs One of Laura's pet projects is GUI Zero, a wrapper for GUI library tkinter that has been designed to make it\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\/04\/ultrasonic_theramin.png?fit=688%2C361&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/ultrasonic_theramin.png?fit=688%2C361&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/04\/ultrasonic_theramin.png?fit=688%2C361&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":18450,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18450","url_meta":{"origin":18838,"position":2},"title":"Control your pi-topPULSE HAT using Sonic Pi 3","author":"Michael Horne","date":"7 March 2018","format":false,"excerpt":"Robin Newman has recently been experimenting with Python OSC\u00a0which, among other things, can be used to tie Python and Sonic Pi's Ruby implementation together. This way, you can control a device driven by Python from inside Sonic Pi. Once such device is the pi-topPULSE HAT which features an audio amplifier,\u2026","rel":"","context":"In &quot;Blinkies&quot;","block_context":{"text":"Blinkies","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=80"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pi-topPULSE-in-CEED.jpg?fit=584%2C438&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pi-topPULSE-in-CEED.jpg?fit=584%2C438&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pi-topPULSE-in-CEED.jpg?fit=584%2C438&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":14898,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14898","url_meta":{"origin":18838,"position":3},"title":"LED bar graph driven from Sonic Pi using the RasPiO ProHAT and a Raspberry Pi","author":"Michael Horne","date":"14 June 2016","format":false,"excerpt":"Robin Newman, who does some wonderful stuff with Sonic Pi amongst other things, recently received his RasPiO ProHAT experimenter's kit and\u00a0set himself a project. The project involved taking the components from the kit and adding a couple of capacitors and creating an LED bar graph. He takes\u00a0the analog stereo output\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:\/\/rbnrpi.files.wordpress.com\/2016\/06\/spbargraphmainlayout.jpg?w=350&h=200&crop=1","width":350,"height":200,"srcset":"https:\/\/rbnrpi.files.wordpress.com\/2016\/06\/spbargraphmainlayout.jpg?w=350&h=200&crop=1 1x, https:\/\/rbnrpi.files.wordpress.com\/2016\/06\/spbargraphmainlayout.jpg?w=525&h=300&crop=1 1.5x"},"classes":[]},{"id":18909,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18909","url_meta":{"origin":18838,"position":4},"title":"Playing a glockenspiel with a Raspberry Pi and Sonic Pi","author":"Michael Horne","date":"7 June 2018","format":false,"excerpt":"Robin Newman\u00a0has taken a 30-year old glockenspiel, some solenoids, a RasPiO ProHAT and a custom circuit and hooked it up to a Raspberry Pi. The code is in two parts: a Python part which accepts OSC signals and then communicates with the GPIO and a Sonic Pi part which deals\u2026","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\/2018\/06\/glockenspiel.jpg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/06\/glockenspiel.jpg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/06\/glockenspiel.jpg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/06\/glockenspiel.jpg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/06\/glockenspiel.jpg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":14939,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=14939","url_meta":{"origin":18838,"position":5},"title":"Robot face conversation using Sonic Pi on a Raspberry Pi","author":"Michael Horne","date":"23 June 2016","format":false,"excerpt":"Robin Newman, who managed to do far\u00a0more with\u00a0Sonic Pi than I ever could, has done it again. This time, he's programmed Sonic Pi with some voice samples which sends commands, via a (pretty darned excellent)\u00a0PiCon Zero\u00a0controller board, to two 4tronix McRoboFaces (yet to be put on sale, but I'm sure\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\/2016\/06\/sonicpi_conversation.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/sonicpi_conversation.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/sonicpi_conversation.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/06\/sonicpi_conversation.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18838","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=18838"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18838\/revisions"}],"predecessor-version":[{"id":18840,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/18838\/revisions\/18840"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/18839"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}