{"id":3518,"date":"2021-10-10T20:45:22","date_gmt":"2021-10-10T18:45:22","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=3518"},"modified":"2021-10-10T21:12:37","modified_gmt":"2021-10-10T19:12:37","slug":"using-the-arduino-audio-tools-project-with-platformio","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/","title":{"rendered":"Using the &#8216;Arduino Audio Tools&#8217; Library with PlatformIO"},"content":{"rendered":"<p>Today I was testing my <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/\">Arduino Audio Tools<\/a> project with <a href=\"https:\/\/platformio.org\/\">PlatformIO<\/a> on an <strong>ESP32<\/strong> because I was really looking forward to be able to use a proper <strong>Debugger<\/strong>.<\/p>\n<p>Unfortunately I was stumbling over the fact that, while Arduino is using now the latest IDF version, the <strong>PlatformIO<\/strong> ESP32 Arduino implementation was still using an <strong>old version<\/strong>. Therefore I needed to add some additional preprocessor #if statements to handle the differences.<\/p>\n<p>Anyhow, I committed the corrections and the project is compiling w\/o any errors!<\/p>\n<p>A detailed description on how to deploy the project using PlatformIO can be found in the <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/wiki\/Working-with-PlatformIO\">Wiki<\/a> of the project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I was testing my Arduino Audio Tools project with PlatformIO on an ESP32 because I was really looking forward to be able to use a proper Debugger. Unfortunately I was stumbling over the fact that, while Arduino is using now the latest IDF version, the PlatformIO ESP32 Arduino implementation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3519,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[20,22],"tags":[],"class_list":["post-3518","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-sound"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using the &#039;Arduino Audio Tools&#039; Library with PlatformIO - Phil Schatzmann<\/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.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using the &#039;Arduino Audio Tools&#039; Library with PlatformIO - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"Today I was testing my Arduino Audio Tools project with PlatformIO on an ESP32 because I was really looking forward to be able to use a proper Debugger. Unfortunately I was stumbling over the fact that, while Arduino is using now the latest IDF version, the PlatformIO ESP32 Arduino implementation [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-10T18:45:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-10T19:12:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/platformio-logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"220\" \/>\n\t<meta property=\"og:image:height\" content=\"220\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\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.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"Using the &#8216;Arduino Audio Tools&#8217; Library with PlatformIO\",\"datePublished\":\"2021-10-10T18:45:22+00:00\",\"dateModified\":\"2021-10-10T19:12:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/\"},\"wordCount\":112,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/platformio-logo.png\",\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/\",\"name\":\"Using the 'Arduino Audio Tools' Library with PlatformIO - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/platformio-logo.png\",\"datePublished\":\"2021-10-10T18:45:22+00:00\",\"dateModified\":\"2021-10-10T19:12:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/platformio-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/platformio-logo.png\",\"width\":220,\"height\":220},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/10\\\/using-the-arduino-audio-tools-project-with-platformio\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using the &#8216;Arduino Audio Tools&#8217; Library with PlatformIO\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using the 'Arduino Audio Tools' Library with PlatformIO - Phil Schatzmann","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.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/","og_locale":"en_US","og_type":"article","og_title":"Using the 'Arduino Audio Tools' Library with PlatformIO - Phil Schatzmann","og_description":"Today I was testing my Arduino Audio Tools project with PlatformIO on an ESP32 because I was really looking forward to be able to use a proper Debugger. Unfortunately I was stumbling over the fact that, while Arduino is using now the latest IDF version, the PlatformIO ESP32 Arduino implementation [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-10-10T18:45:22+00:00","article_modified_time":"2021-10-10T19:12:37+00:00","og_image":[{"width":220,"height":220,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/platformio-logo.png","type":"image\/png"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"Using the &#8216;Arduino Audio Tools&#8217; Library with PlatformIO","datePublished":"2021-10-10T18:45:22+00:00","dateModified":"2021-10-10T19:12:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/"},"wordCount":112,"commentCount":0,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/platformio-logo.png","articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/","name":"Using the 'Arduino Audio Tools' Library with PlatformIO - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/platformio-logo.png","datePublished":"2021-10-10T18:45:22+00:00","dateModified":"2021-10-10T19:12:37+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/platformio-logo.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/platformio-logo.png","width":220,"height":220},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/10\/using-the-arduino-audio-tools-project-with-platformio\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"Using the &#8216;Arduino Audio Tools&#8217; Library with PlatformIO"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=3518"}],"version-history":[{"count":14,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3518\/revisions"}],"predecessor-version":[{"id":3533,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3518\/revisions\/3533"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/3519"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=3518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=3518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=3518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}