{"id":6535,"date":"2025-01-09T14:12:14","date_gmt":"2025-01-09T13:12:14","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=6535"},"modified":"2025-01-09T20:25:27","modified_gmt":"2025-01-09T19:25:27","slug":"tinyusb-the-rp2040-i2s-output-challange","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/","title":{"rendered":"TinyUSB: the RP2040 I2S Output Challange"},"content":{"rendered":"<p>The starting point for writing audio data from <strong>USB<\/strong> to I2S using a <strong>Rasperry Pico<\/strong> (RP2040) Microcontroller is the <a href=\"https:\/\/github.com\/pschatzmann\/Adafruit_TinyUSB_Arduino\/blob\/Audio\/examples\/Audio\/audio_speaker\/audio_speaker.ino\">speaker example sketch<\/a> from my <a href=\"https:\/\/github.com\/pschatzmann\/Adafruit_TinyUSB_Arduino\/tree\/Audio\">extended TinyUSB library<\/a>.<\/p>\n<p>We would just do an <strong>i2s.write(data, len)<\/strong> in the callback: Unfortunately this did not work and this was <strong>locking up<\/strong> the output quite quickly.<\/p>\n<p>In the next trial, I was writing the data to a <strong>queue<\/strong> and do the i2s output in the loop(): still no success.<\/p>\n<p>The first success started when I moved the output to the <strong>second core<\/strong> by doing the i2s output in <strong>loop1()<\/strong> and making sure that the log level was set to Warning!<\/p>\n<p>But now I was running into the next problem: the audio was <strong>breaking up<\/strong> badly since the usb and i2s clocks were not matching and we were running into  <strong>underflows<\/strong>. The built in automatic feed-back logic from TinyUSB did not work as expected.<\/p>\n<p>The final solution relies on switching off the automatic feedback and to use my own <strong>custom feedback logic<\/strong> which slows down the data sending when the buffer is starting to be filled and speeds it up when the queue is running low:<\/p>\n<pre><code>#include \"Adafruit_TinyUSB.h\"\n#include \"AudioTools.h\"\n#include \"AudioTools\/Concurrency\/RP2040.h\"\n\nAudioInfo info(44100, 2, 16);\nAdafruit_USBD_Audio usb;\nBufferRP2040 buffer(256, 20); \nQueueStream queue(buffer);\nI2SStream i2s;\nStreamCopy copier(i2s, queue);\n\nsize_t writeCB(const uint8_t* data, size_t len, Adafruit_USBD_Audio&amp; ref) {\n  usb.setFeedbackPercent(buffer.size()*100 \/ buffer.available());\n  return queue.write(data, len);\n}\n\nvoid setup() {  \n  Serial.begin(115200);\n  AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Warning);\n  while(!Serial);  \/\/ wait for serial\n  Serial.println(\"starting...\");\n  \/\/ start queue\n  queue.begin(80);\n\n  \/\/ Start USB device as Audio Sink w\/o automatic feedback\n  usb.setFeedbackMethod(AUDIO_FEEDBACK_METHOD_DISABLED);\n  usb.setWriteCallback(writeCB);\n  if (!usb.begin(info.sample_rate, info.channels, info.bits_per_sample)){\n    Serial.println(\"USB error\");\n  }\n\n  \/\/ If already enumerated, additional class driverr begin() e.g msc, hid, midi won't take effect until re-enumeration\n  if (TinyUSBDevice.mounted()) {\n    TinyUSBDevice.detach();\n    delay(10);\n    TinyUSBDevice.attach();\n  }\n}\n\nvoid loop() {\n  \/\/ just for fun: we blink the LED\n  usb.updateLED();\n}\n\nvoid setup1(){\n  \/\/start i2s\n  auto cfg = i2s.defaultConfig(TX_MODE);\n  cfg.copyFrom(info);\n  cfg.buffer_size = 256;\n  cfg.buffer_count = 3;\n  if (!i2s.begin(cfg)){\n    Serial.print(\"i2s error\");\n  }\n}\n\nvoid loop1() {\n  copier.copy();\n}\n\n<\/code><\/pre>\n<p>Of cause we need to connect the RP2040 to an <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/wiki\/External-DAC\">external I2S DAC<\/a>: I was using an MAX98357A.<\/p>\n<p>The actual version of this sketch can be found <a href=\"https:\/\/github.com\/pschatzmann\/Adafruit_TinyUSB_Arduino\/blob\/Audio\/examples\/Audio\/audio_speaker_rp2040_i2s\/audio_speaker_rp2040_i2s.ino\">in the examples<\/a> folder.<\/p>\n<p><strong>Instructions how to install<\/strong> the library can be found in the <a href=\"https:\/\/github.com\/pschatzmann\/Adafruit_TinyUSB_Arduino\/wiki\">Wiki of the project<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The starting point for writing audio data from USB to I2S using a Rasperry Pico (RP2040) Microcontroller is the speaker example sketch from my extended TinyUSB library. We would just do an i2s.write(data, len) in the callback: Unfortunately this did not work and this was locking up the output quite [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2416,"comment_status":"open","ping_status":"closed","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,24],"tags":[48],"class_list":["post-6535","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-sound","category-pico","tag-tinyusb"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>TinyUSB: the RP2040 I2S Output Challange - 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\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"TinyUSB: the RP2040 I2S Output Challange - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"The starting point for writing audio data from USB to I2S using a Rasperry Pico (RP2040) Microcontroller is the speaker example sketch from my extended TinyUSB library. We would just do an i2s.write(data, len) in the callback: Unfortunately this did not work and this was locking up the output quite [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-09T13:12:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-09T19:25:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/01\/pico.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"266\" \/>\n\t<meta property=\"og:image:height\" content=\"190\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"TinyUSB: the RP2040 I2S Output Challange\",\"datePublished\":\"2025-01-09T13:12:14+00:00\",\"dateModified\":\"2025-01-09T19:25:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/\"},\"wordCount\":252,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/pico.jpeg\",\"keywords\":[\"TinyUSB\"],\"articleSection\":[\"Arduino\",\"Machine Sound\",\"Pico\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/\",\"name\":\"TinyUSB: the RP2040 I2S Output Challange - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/pico.jpeg\",\"datePublished\":\"2025-01-09T13:12:14+00:00\",\"dateModified\":\"2025-01-09T19:25:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/pico.jpeg\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/pico.jpeg\",\"width\":266,\"height\":190},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2025\\\/01\\\/09\\\/tinyusb-the-rp2040-i2s-output-challange\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"TinyUSB: the RP2040 I2S Output Challange\"}]},{\"@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":"TinyUSB: the RP2040 I2S Output Challange - 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\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/","og_locale":"en_US","og_type":"article","og_title":"TinyUSB: the RP2040 I2S Output Challange - Phil Schatzmann","og_description":"The starting point for writing audio data from USB to I2S using a Rasperry Pico (RP2040) Microcontroller is the speaker example sketch from my extended TinyUSB library. We would just do an i2s.write(data, len) in the callback: Unfortunately this did not work and this was locking up the output quite [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/","og_site_name":"Phil Schatzmann","article_published_time":"2025-01-09T13:12:14+00:00","article_modified_time":"2025-01-09T19:25:27+00:00","og_image":[{"width":266,"height":190,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/01\/pico.jpeg","type":"image\/jpeg"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"TinyUSB: the RP2040 I2S Output Challange","datePublished":"2025-01-09T13:12:14+00:00","dateModified":"2025-01-09T19:25:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/"},"wordCount":252,"commentCount":6,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/01\/pico.jpeg","keywords":["TinyUSB"],"articleSection":["Arduino","Machine Sound","Pico"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/","url":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/","name":"TinyUSB: the RP2040 I2S Output Challange - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/01\/pico.jpeg","datePublished":"2025-01-09T13:12:14+00:00","dateModified":"2025-01-09T19:25:27+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/01\/pico.jpeg","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/01\/pico.jpeg","width":266,"height":190},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2025\/01\/09\/tinyusb-the-rp2040-i2s-output-challange\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"TinyUSB: the RP2040 I2S Output Challange"}]},{"@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\/6535","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=6535"}],"version-history":[{"count":16,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/6535\/revisions"}],"predecessor-version":[{"id":6551,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/6535\/revisions\/6551"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/2416"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=6535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=6535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=6535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}