{"id":2629,"date":"2013-03-04T16:50:12","date_gmt":"2013-03-04T16:50:12","guid":{"rendered":"http:\/\/178.62.14.192\/?p=2629"},"modified":"2013-03-04T16:50:12","modified_gmt":"2013-03-04T16:50:12","slug":"tweaking-the-raspberrypi-for-low-latency-audio-processing","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=2629","title":{"rendered":"Tweaking the #RaspberryPi for low-latency audio processing"},"content":{"rendered":"<p><a href=\"http:\/\/wiki.linuxaudio.org\/wiki\/raspberrypi\">This is just something I saw pop up on Twitter<\/a>. I don&#8217;t do it myself, but there&#8217;s a lot of info about getting your Raspberry Pi to perform when processing audio and avoiding many of the pitfalls. Here&#8217;s what their site says about the article:<\/p>\n<blockquote><p>The Raspberry Pi can be set up to handle real-time, low-latency audio but it requires quite some tweaking. Hence this Wiki article in which some common bottlenecks as well as some possible optimizations will be described. Last but not least this article will explain how to get JACK aka jackd running on your RPi.<\/p><\/blockquote>\n<p><a href=\"http:\/\/wiki.linuxaudio.org\/wiki\/raspberrypi\">Read the article<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just something I saw pop up on Twitter. I don&#8217;t do it myself, but there&#8217;s a lot of info about getting your Raspberry Pi to perform when processing audio and avoiding many of the pitfalls. Here&#8217;s what their&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\">Read more &rarr;<\/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":"","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":[1],"tags":[],"class_list":["post-2629","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tweaking the #RaspberryPi for low-latency audio processing - 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=2629\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tweaking the #RaspberryPi for low-latency audio processing - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"This is just something I saw pop up on Twitter. I don&#8217;t do it myself, but there&#8217;s a lot of info about getting your Raspberry Pi to perform when processing audio and avoiding many of the pitfalls. Here&#8217;s what their&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\" \/>\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=\"2013-03-04T16:50:12+00:00\" \/>\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=2629#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Tweaking the #RaspberryPi for low-latency audio processing\",\"datePublished\":\"2013-03-04T16:50:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\"},\"wordCount\":112,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2629#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\",\"name\":\"Tweaking the #RaspberryPi for low-latency audio processing - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-03-04T16:50:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2629#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2629\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2629#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tweaking the #RaspberryPi for low-latency audio processing\"}]},{\"@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":"Tweaking the #RaspberryPi for low-latency audio processing - 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=2629","og_locale":"en_US","og_type":"article","og_title":"Tweaking the #RaspberryPi for low-latency audio processing - Raspberry Pi Pod","og_description":"This is just something I saw pop up on Twitter. I don&#8217;t do it myself, but there&#8217;s a lot of info about getting your Raspberry Pi to perform when processing audio and avoiding many of the pitfalls. Here&#8217;s what their&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=2629","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-03-04T16:50:12+00:00","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=2629#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2629"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Tweaking the #RaspberryPi for low-latency audio processing","datePublished":"2013-03-04T16:50:12+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2629"},"wordCount":112,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2629#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2629","url":"https:\/\/www.recantha.co.uk\/blog\/?p=2629","name":"Tweaking the #RaspberryPi for low-latency audio processing - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-03-04T16:50:12+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2629#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2629"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2629#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Tweaking the #RaspberryPi for low-latency audio processing"}]},{"@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":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-Gp","jetpack-related-posts":[{"id":16603,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16603","url_meta":{"origin":2629,"position":0},"title":"New audio and midi interface board for the Raspberry Pi &#8211; pisound","author":"Michael Horne","date":"14 March 2017","format":false,"excerpt":"A group from\u00a0Lithuania has launched an IndieGoGo campaign for a new sound board for the Raspberry Pi. Called\u00a0pisound, it has the following features: Hi-fi stereo input and output Classic midi input and output User-customisable button Bundled software tools Two dials for volume and gain Here's the blurb from the campaign:\u2026","rel":"","context":"In &quot;Audio&quot;","block_context":{"text":"Audio","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=4"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pisound-front.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pisound-front.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/03\/pisound-front.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1780,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1780","url_meta":{"origin":2629,"position":1},"title":"#Raspberry Pi to Arduino via GPIO UART","author":"Michael Horne","date":"2 February 2013","format":false,"excerpt":"With most Arduinos (and compatibles) there is a USB port. However, communicating over it introduces some latency. Communicating directly via UART serial is faster. Here's a tutorial on how to make it happen for you.\u00a0Raspberry Pi and Arduino via GPIO UARTandremiller.net | andremiller.net.","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5717,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5717","url_meta":{"origin":2629,"position":2},"title":"New expansion board for #RaspberryPi announced by Element14 &#8211; chipKIT Pi","author":"Michael Horne","date":"4 September 2013","format":false,"excerpt":"Just saw this on the blogosphere so thought I'd share it. Element 14\/Farnell have just announced that they're asking for people to register interest in a new product. I'll just copy-paste in from their site: chipKIT\u2122 Pi (Designed for Raspberry Pi) is the latest Arduino\u2122 compatible chipKIT\u2122 platform from Microchip\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5010,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=5010","url_meta":{"origin":2629,"position":3},"title":"Building an audio processing looper with a #RaspberryPi and KORG monotron","author":"Michael Horne","date":"8 July 2013","format":false,"excerpt":"Servando Barreiro has made an audio processor\/looper using a Raspberry Pi and the KORG monotron. Looks like a sweet project. Read more about it here","rel":"","context":"In &quot;Audio&quot;","block_context":{"text":"Audio","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=4"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":16257,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=16257","url_meta":{"origin":2629,"position":4},"title":"Mycroft &#8211; an open source artificial intelligence voice processor for the Raspberry Pi","author":"Michael Horne","date":"18 January 2017","format":false,"excerpt":"Artificial intelligence software Mycroft was originally a Kickstarter. Designed as an open source alternative to\u00a0Siri, Google Now, Cortana and Echo, it was originally developed for a Raspberry Pi 2 and is hosted on GitHub. Now, the Mycroft team has released an SD card image for the system for Raspberry Pi\u2026","rel":"","context":"In &quot;Artificial intelligence&quot;","block_context":{"text":"Artificial intelligence","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=143"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mycroft.ai\/wp-content\/uploads\/2015\/08\/connect.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/mycroft.ai\/wp-content\/uploads\/2015\/08\/connect.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/mycroft.ai\/wp-content\/uploads\/2015\/08\/connect.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2147,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2147","url_meta":{"origin":2629,"position":5},"title":"Fixing audio pop\/click on the #RaspberryPi","author":"Michael Horne","date":"11 February 2013","format":false,"excerpt":"This is a blog post at Light Blue Touchpaper (originating at the University of Cambridge) that deals with eliminating the annoying clicks on the audio output of the Raspberry Pi. Read the article","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=51"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2629","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=2629"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2629\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}