{"id":4930,"date":"2013-01-18T22:05:34","date_gmt":"2013-01-18T22:05:34","guid":{"rendered":"http:\/\/zerokidz.com\/ideas\/?p=4930"},"modified":"2014-06-18T01:55:56","modified_gmt":"2014-06-18T05:55:56","slug":"pd-extended-on-raspberry-pi","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=4930","title":{"rendered":"pd-extended on Raspberry Pi"},"content":{"rendered":"<h5>notes<\/h5>\n<p>Using installation instructions from Pd site:<\/p>\n<p><a href=\"http:\/\/puredata.info\/downloads\/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf\">http:\/\/puredata.info\/downloads\/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf<\/a><\/p>\n<p>Installation worked fine. I tried running the GUI under xterm and it was a disaster. Then, using this post, I was able to get a test patch (sine wave with LFO) running in terminal mode:<\/p>\n<p><a href=\"http:\/\/log.liminastudio.com\/programming\/running-puredata-on-the-raspberry-pi\">http:\/\/log.liminastudio.com\/programming\/running-puredata-on-the-raspberry-pi<\/a><\/p>\n<p>Note: I changed the actual command to this due to the fact I&#8217;m running pd-extended and a USB sound card:<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">pd-extended -nogui -noadc testPatch.pd<\/pre>\n<p>This post from same source has instructions for installing pd-extended (disaster) but a very nice version of the test patch called testPatchExtended.pd<\/p>\n<p><a href=\"http:\/\/log.liminastudio.com\/writing\/tutorials\/how-to-build-pd-extended-on-the-raspberry-pi\">http:\/\/log.liminastudio.com\/writing\/tutorials\/how-to-build-pd-extended-on-the-raspberry-pi<\/a><\/p>\n<p>(another update) running Midi:<\/p>\n<p>To run midi you need to specify the device on the command line. First I plugged in the m-audio key station 49 and rebooted RPi<\/p>\n<p>To get a list of devices use:<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">pd-extended -nogui -listdev<\/pre>\n<p>Then to run a patch with midi<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">pd-extended -nogui -noadc -midiindev 1 testMidi.pd<\/pre>\n<p>Here is a page with more information on command line options<\/p>\n<p><a href=\"http:\/\/crca.ucsd.edu\/~msp\/Pd_documentation\/x3.htm#s4\">http:\/\/crca.ucsd.edu\/~msp\/Pd_documentation\/x3.htm#s4<\/a><\/p>\n<p>(another update) Testing with Griffin iMic. Bad news when doing an ADC-&gt;DAC passthrough, sample rates above 32000 don&#8217;t work in stereo. However 44100 and 48000 sound fine in mono.<\/p>\n<p>At the higher rates in stereo, the audio breaks up. Oh well. Need to try the Behringer audio box, but I&#8217;m assuming there will be no difference. Only possibility would be to somehow devote more system resources to audio.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>notes Using installation instructions from Pd site: http:\/\/puredata.info\/downloads\/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf Installation worked fine. I tried running the GUI under xterm and it was a disaster. Then, using this post, I was able to get a test patch (sine wave with LFO) running in terminal mode: http:\/\/log.liminastudio.com\/programming\/running-puredata-on-the-raspberry-pi Note: I changed the actual command to this due to the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=4930\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;pd-extended on Raspberry Pi&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[143],"tags":[58,6,128,190,25,172],"class_list":["post-4930","post","type-post","status-publish","format-standard","hentry","category-interactive-media-art","tag-audio","tag-interactive-media","tag-pd","tag-portfolio","tag-programming","tag-raspberry-pi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>pd-extended on Raspberry Pi - reactive music<\/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:\/\/reactivemusic.net\/?p=4930\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"pd-extended on Raspberry Pi - reactive music\" \/>\n<meta property=\"og:description\" content=\"notes Using installation instructions from Pd site: http:\/\/puredata.info\/downloads\/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf Installation worked fine. I tried running the GUI under xterm and it was a disaster. Then, using this post, I was able to get a test patch (sine wave with LFO) running in terminal mode: http:\/\/log.liminastudio.com\/programming\/running-puredata-on-the-raspberry-pi Note: I changed the actual command to this due to the &hellip; Continue reading &quot;pd-extended on Raspberry Pi&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=4930\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2013-01-18T22:05:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-18T05:55:56+00:00\" \/>\n<meta name=\"author\" content=\"Tom Zicarelli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Zicarelli\" \/>\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:\\\/\\\/reactivemusic.net\\\/?p=4930#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=4930\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"pd-extended on Raspberry Pi\",\"datePublished\":\"2013-01-18T22:05:34+00:00\",\"dateModified\":\"2014-06-18T05:55:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=4930\"},\"wordCount\":243,\"keywords\":[\"audio\",\"interactive media\",\"Pd\",\"portfolio\",\"programming\",\"raspberry pi\"],\"articleSection\":[\"interactive media art\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=4930\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=4930\",\"name\":\"pd-extended on Raspberry Pi - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"datePublished\":\"2013-01-18T22:05:34+00:00\",\"dateModified\":\"2014-06-18T05:55:56+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=4930#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=4930\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=4930#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"pd-extended on Raspberry Pi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/\",\"name\":\"reactive music\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/reactivemusic.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\",\"name\":\"Tom Zicarelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"caption\":\"Tom Zicarelli\"},\"sameAs\":[\"http:\\\/\\\/tomzicarelli.com\"],\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"pd-extended on Raspberry Pi - reactive music","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:\/\/reactivemusic.net\/?p=4930","og_locale":"en_US","og_type":"article","og_title":"pd-extended on Raspberry Pi - reactive music","og_description":"notes Using installation instructions from Pd site: http:\/\/puredata.info\/downloads\/pd-extended-0-43-3-on-raspberry-pi-raspbian-wheezy-armhf Installation worked fine. I tried running the GUI under xterm and it was a disaster. Then, using this post, I was able to get a test patch (sine wave with LFO) running in terminal mode: http:\/\/log.liminastudio.com\/programming\/running-puredata-on-the-raspberry-pi Note: I changed the actual command to this due to the &hellip; Continue reading \"pd-extended on Raspberry Pi\"","og_url":"https:\/\/reactivemusic.net\/?p=4930","og_site_name":"reactive music","article_published_time":"2013-01-18T22:05:34+00:00","article_modified_time":"2014-06-18T05:55:56+00:00","author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=4930#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=4930"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"pd-extended on Raspberry Pi","datePublished":"2013-01-18T22:05:34+00:00","dateModified":"2014-06-18T05:55:56+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=4930"},"wordCount":243,"keywords":["audio","interactive media","Pd","portfolio","programming","raspberry pi"],"articleSection":["interactive media art"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=4930","url":"https:\/\/reactivemusic.net\/?p=4930","name":"pd-extended on Raspberry Pi - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"datePublished":"2013-01-18T22:05:34+00:00","dateModified":"2014-06-18T05:55:56+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=4930#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=4930"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=4930#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"pd-extended on Raspberry Pi"}]},{"@type":"WebSite","@id":"https:\/\/reactivemusic.net\/#website","url":"https:\/\/reactivemusic.net\/","name":"reactive music","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/reactivemusic.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571","name":"Tom Zicarelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","caption":"Tom Zicarelli"},"sameAs":["http:\/\/tomzicarelli.com"],"url":"https:\/\/reactivemusic.net\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/4930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4930"}],"version-history":[{"count":9,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/4930\/revisions"}],"predecessor-version":[{"id":4932,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/4930\/revisions\/4932"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}