{"id":3534,"date":"2021-10-11T19:19:04","date_gmt":"2021-10-11T17:19:04","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=3534"},"modified":"2025-04-19T23:59:14","modified_gmt":"2025-04-19T21:59:14","slug":"a-simple-arduino-mp3-player","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/","title":{"rendered":"A Versatile Arduino MP3 File Player&#8230;"},"content":{"rendered":"<p>It is pretty simple to build <strong>a simple mp3 audio player<\/strong> using the Stream API of my <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\">Arduino Audio Tools<\/a> library:<\/p>\n<ul>\n<li>A SD file is a subclass of an Arduino Stream, so all you need to do is to copy from the file to the desired output stream. <\/li>\n<li>when we use the EncodedAudioStream as output, we can support different audio formats<\/li>\n<li>we can add a status flag to halt and continue the processing <\/li>\n<li>Finally we need to add some logic which handles the end of file to automatically process the next file<\/li>\n<li>On top of that it is rather easy to add volume control and meta data support.<\/li>\n<\/ul>\n<p>In order to <strong>simplify the usage<\/strong> of my library even more, I decided to provide this functionality as well in a separate class and to prove the point: The <a href=\"https:\/\/pschatzmann.github.io\/arduino-audio-tools\/html\/classaudio__tools_1_1_audio_player.html\">AudioPlayer class<\/a> <strong>took only 120 lines of code<\/strong> to implement!<\/p>\n<p>The AudioPlayer supports<\/p>\n<ul>\n<li><strong>multiple processor architectures<\/strong><\/li>\n<li><strong>multiple audio data sources<\/strong> (SD, URL, callbacks)<\/li>\n<li><strong>different Output<\/strong> Scenarios (I2S, PWM, A2DP etc). Just pass the desired output stream object to the constructor.<\/li>\n<li><strong>different Decoders<\/strong> for MP3, AAC, WAV. Just pass the desired decoder object to the constructor.<\/li>\n<li><strong>Volume Control<\/strong> (by calling player.setVolume())<\/li>\n<li><strong>Stopping and Resuming<\/strong> the processing (by calling player.stop() and player.play())<\/li>\n<li>You can <strong>move to the next file<\/strong> by calling player.next();<\/li>\n<li>support for <strong>Metadata<\/strong><\/li>\n<\/ul>\n<h2>Dependencies<\/h2>\n<p>The sketch is using the following dependencies:<\/p>\n<ul>\n<li><a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\">https:\/\/github.com\/pschatzmann\/arduino-audio-tools<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pschatzmann\/arduino-libhelix\">https:\/\/github.com\/pschatzmann\/arduino-libhelix<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/greiman\/SdFat\">https:\/\/github.com\/greiman\/SdFat<\/a><\/li>\n<\/ul>\n<h2>Setup<\/h2>\n<p>Install the necessary libraries. Before you start double check your settings in the AudioConfig.h of the arduino-audio-tools project.<\/p>\n<h2>A Basic Sketch<\/h2>\n<p>The following <strong>Arduino Sketch<\/strong> demonstrates how to implement an <strong>MP3 Player<\/strong>: which gets the data from a SD drive and provides the audio as <strong>analog output<\/strong>: The <strong>AudioSourceSdFat class<\/strong> builds on the <a href=\"https:\/\/github.com\/greiman\/SdFat\">SdFat Library<\/a> from Bill Greiman which provides FAT16\/FAT32 and exFAT support with long filenames.<\/p>\n<pre><code>#include \"AudioTools.h\"\n#include \"AudioTools\/AudioCodecs\/CodecMP3Helix.h\"\n\nconst char *startFilePath=\"\/\";\nconst char* ext=\"mp3\";\nAudioSourceSdFat source(startFilePath, ext);\nAnalogAudioStream out;\nMP3DecoderHelix decoder;\nAudioPlayer player(source, out, decoder);\n\n\/\/ Arduino setup\nvoid setup() {\n  Serial.begin(115200);\n  AudioLogger::instance().begin(Serial, AudioLogger::Info);\n\n  \/\/ setup output\n  auto cfg = out.defaultConfig();\n  out.begin(cfg);\n\n  \/\/ setup player\n  player.begin();\n}\n\n\/\/ Arduino loop\nvoid loop() {\n  player.copy();\n}\n<\/code><\/pre>\n<p>As you can see, this approach has quite some <strong>flexibility<\/strong>: if you want to use I2S as output just replace the AnalogAudioStream with I2SStream. If you want to process another file format, just replace the <a href=\"https:\/\/pschatzmann.github.io\/arduino-audio-tools\/html\/classaudio__tools_1_1_audio_decoder.html\">Decoder implementation<\/a> and if you want to get the audio data from a different source, just replace use a different <a href=\"https:\/\/pschatzmann.github.io\/arduino-audio-tools\/html\/classaudio__tools_1_1_audio_source.html\">AudioSource<\/a>..<\/p>\n<h2>Extending the Functionality<\/h2>\n<p>With just a few more lines we can add the support for metadata and the filtering of files by name:<\/p>\n<pre><code>#include \"AudioTools.h\"\n#include \"AudioCodecs\/CodecMP3Helix.h\"\n\nconst char *startFilePath=\"\/\";\nconst char* ext=\"mp3\";\nAudioSourceSdFat source(startFilePath, ext);\nAnalogAudioStream out;\nMP3DecoderHelix decoder;\nAudioPlayer player(source, out, decoder);\n\n\/\/ metadata callback\nvoid printMetaData(MetaDataType type, const char* str, int len){\n  Serial.print(\"==&gt; \");\n  Serial.print(MetaDataTypeStr[type]);\n  Serial.print(\": \");\n  Serial.println(str);\n}\n\n\/\/ Arduino setup\nvoid setup() {\n  Serial.begin(115200);\n  AudioLogger::instance().begin(Serial, AudioLogger::Info);\n\n  \/\/ setup output\n  auto cfg = out.defaultConfig();\n  out.begin(cfg);\n\n  \/\/ setup player\n  source.setFileFilter(\"*Bob Dylan*\");\n  player.setCallbackMetadata(printMetaData);\n  player.begin();\n}\n\n\/\/ Arduino loop\nvoid loop() {\n  player.copy();\n}\n<\/code><\/pre>\n<h2>SD Card<\/h2>\n<p>Here is the information how to wire the SD card to the ESP32<\/p>\n<table>\n<thead>\n<tr>\n<th>SD<\/th>\n<th>ESP32<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>CS<\/td>\n<td>VSPI-CS0 (GPIO 05)<\/td>\n<\/tr>\n<tr>\n<td>SCK<\/td>\n<td>VSPI-CLK (GPIO 18)<\/td>\n<\/tr>\n<tr>\n<td>MOSI<\/td>\n<td>VSPI-MOSI (GPIO 23)<\/td>\n<\/tr>\n<tr>\n<td>MISO<\/td>\n<td>VSPI-MISO (GPIO 19)<\/td>\n<\/tr>\n<tr>\n<td>VCC<\/td>\n<td>VIN (5V)<\/td>\n<\/tr>\n<tr>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" src=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/04\/sd-module.jpeg\" alt=\"SD\" \/><\/p>\n<h2>The Output<\/h2>\n<p>On the ESP32 the analog output is available on GPIO25 (Channel 1) and GPIO26 (Channel 2).<\/p>\n<p>You can use a piezo electric element or connect some earphones:<br \/>\n<img decoding=\"async\" src=\"https:\/\/pschatzmann.github.io\/Resources\/img\/earphones.jpg\" alt=\"Earphones\" \/><\/p>\n<h2>Using PlatformIO<\/h2>\n<p>You can also implement this sketch in <a href=\"https:\/\/platformio.org\/\">PlatformIO<\/a>. This has the advantage, that the dependencies get installed automatically. Just use the following <strong>platform.ini<\/strong> file:<\/p>\n<pre><code>[platformio]\ndescription = Audio MP3 Player\ndefault_envs = esp32dev\n\n[env:esp32dev]\nplatform = espressif32\nboard = esp32dev\nframework = arduino\nlib_deps = https:\/\/github.com\/pschatzmann\/arduino-audio-tools, https:\/\/github.com\/pschatzmann\/arduino-libhelix, https:\/\/github.com\/greiman\/SdFat\nbuild_flags = -DCORE_DEBUG_LEVEL=5 -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -Wno-format-extra-args \nmonitor_speed = 115200\n<\/code><\/pre>\n<h2>Source code<\/h2>\n<p>You can find the source code for <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/tree\/main\/examples\/examples-player\">this and other audio player examples<\/a> on Github.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is pretty simple to build a simple mp3 audio player using the Stream API of my Arduino Audio Tools library: A SD file is a subclass of an Arduino Stream, so all you need to do is to copy from the file to the desired output stream. when we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3546,"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-3534","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.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Versatile Arduino MP3 File Player... - 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\/11\/a-simple-arduino-mp3-player\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Versatile Arduino MP3 File Player... - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"It is pretty simple to build a simple mp3 audio player using the Stream API of my Arduino Audio Tools library: A SD file is a subclass of an Arduino Stream, so all you need to do is to copy from the file to the desired output stream. when we [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-11T17:19:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-19T21:59:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/mp3.png\" \/>\n\t<meta property=\"og:image:width\" content=\"316\" \/>\n\t<meta property=\"og:image:height\" content=\"159\" \/>\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=\"4 minutes\" \/>\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\\\/11\\\/a-simple-arduino-mp3-player\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"A Versatile Arduino MP3 File Player&#8230;\",\"datePublished\":\"2021-10-11T17:19:04+00:00\",\"dateModified\":\"2025-04-19T21:59:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/\"},\"wordCount\":510,\"commentCount\":15,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/mp3.png\",\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/\",\"name\":\"A Versatile Arduino MP3 File Player... - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/mp3.png\",\"datePublished\":\"2021-10-11T17:19:04+00:00\",\"dateModified\":\"2025-04-19T21:59:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/mp3.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/mp3.png\",\"width\":316,\"height\":159},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/10\\\/11\\\/a-simple-arduino-mp3-player\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Versatile Arduino MP3 File Player&#8230;\"}]},{\"@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":"A Versatile Arduino MP3 File Player... - 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\/11\/a-simple-arduino-mp3-player\/","og_locale":"en_US","og_type":"article","og_title":"A Versatile Arduino MP3 File Player... - Phil Schatzmann","og_description":"It is pretty simple to build a simple mp3 audio player using the Stream API of my Arduino Audio Tools library: A SD file is a subclass of an Arduino Stream, so all you need to do is to copy from the file to the desired output stream. when we [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-10-11T17:19:04+00:00","article_modified_time":"2025-04-19T21:59:14+00:00","og_image":[{"width":316,"height":159,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/mp3.png","type":"image\/png"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"A Versatile Arduino MP3 File Player&#8230;","datePublished":"2021-10-11T17:19:04+00:00","dateModified":"2025-04-19T21:59:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/"},"wordCount":510,"commentCount":15,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/mp3.png","articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/","name":"A Versatile Arduino MP3 File Player... - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/mp3.png","datePublished":"2021-10-11T17:19:04+00:00","dateModified":"2025-04-19T21:59:14+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/mp3.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/10\/mp3.png","width":316,"height":159},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/10\/11\/a-simple-arduino-mp3-player\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"A Versatile Arduino MP3 File Player&#8230;"}]},{"@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\/3534","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=3534"}],"version-history":[{"count":45,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3534\/revisions"}],"predecessor-version":[{"id":6694,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/3534\/revisions\/6694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/3546"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=3534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=3534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=3534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}