{"id":4577,"date":"2022-04-08T12:46:08","date_gmt":"2022-04-08T10:46:08","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=4577"},"modified":"2022-04-08T13:26:53","modified_gmt":"2022-04-08T11:26:53","slug":"an-introduction-to-audio-output-with-tensorflow-lite","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/","title":{"rendered":"An Introduction to Arduino Audio Generated by Tensorflow Lite"},"content":{"rendered":"<p>The goal of this blog is to give a quick introduction into using TensorFlow Lite For Microcontrollers to create <strong>Audio Output<\/strong> with the help of the <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\">audio-tools library<\/a>.<\/p>\n<h2>Hallo World<\/h2>\n<p>The starting point is the good overview provided by <a href=\"https:\/\/www.tensorflow.org\/lite\/microcontrollers\/get_started_low_level#train_a_model\">the &#8220;Hallo World&#8221; example of Tensorflow Lite<\/a> which describes how to create, train and use a model which based on the <strong>sine function<\/strong>.<\/p>\n<h2>Converting into Audio<\/h2>\n<p>We can use this model to output the result as a tone with the help o the following sketch:<\/p>\n<pre><code>#include \"AudioTools.h\"\n#include \"AudioLibs\/TfLiteAudioStream.h\"\n#include \"model.h\"\n\nTfLiteSineReader tf_reader(20000,0.3);  \/\/ Audio generation logic \nTfLiteAudioStream tf_stream;            \/\/ Audio source -&gt; no classification so N is 0\nI2SStream i2s;                          \/\/ Audio destination\nStreamCopy copier(i2s, tf_stream);      \/\/ copy tf_stream to i2s\nint channels = 1;\nint samples_per_second = 16000;\n\n\nvoid setup() {\n  Serial.begin(115200);\n  AudioLogger::instance().begin(Serial, AudioLogger::Warning);\n\n  \/\/ Setup tensorflow input\n  auto tcfg = tf_stream.defaultConfig();\n  tcfg.channels = channels;\n  tcfg.sample_rate = samples_per_second;\n  tcfg.kTensorArenaSize = 2 * 1024;\n  tcfg.model = g_model;\n  tcfg.input = &amp;tf_reader;\n  tf_stream.begin(tcfg);\n\n  \/\/ setup Audioi2s output\n  auto cfg = i2s.defaultConfig(TX_MODE);\n  cfg.channels = channels;\n  cfg.sample_rate = samples_per_second;\n  i2s.begin(cfg);\n\n}\n\nvoid loop() { copier.copy(); }\n\n<\/code><\/pre>\n<p>Like in any other audio sketch we copy the audio data from the <strong>source (TfLiteAudioStream)<\/strong> to the <strong>sink (I2SStream)<\/strong>.<\/p>\n<h3>The TfLiteSineReader class<\/h3>\n<p>The heart of the processing is the <strong>TfLiteSineReader<\/strong> class which is provided by the framework and has been defined as follows<\/p>\n<pre><code>class TfLiteSineReader : public TfLiteReader {\n  public: TfLiteSineReader(int16_t range=32767, float increment=0.01 ){\n    this-&gt;increment = increment;\n    this-&gt;range = range;\n  }\n\n  virtual int read(TfLiteAudioStream *parent, int16_t*data, int sampleCount) {\n    int channels = parent-&gt;config().channels;\n    float two_pi = 2 * PI;\n    \/\/ setup on first call\n    if (p_interpreter==nullptr){\n      p_interpreter = parent-&gt;interpreter();\n      input = p_interpreter-&gt;input(0);\n      output = p_interpreter-&gt;output(0);\n    }\n    for (int j=0; j&lt;sampleCount; j+=channels){\n      \/\/ Quantize the input from floating-point to integer\n      input-&gt;data.int8[0] = TfQuantizer::quantize(actX,input-&gt;params.scale, input-&gt;params.zero_point);\n\n      \/\/ Invoke TF Model\n      TfLiteStatus invoke_status = p_interpreter-&gt;Invoke();\n      \/\/ Dequantize the output and convert it to int32 range\n      data[j] = TfQuantizer::dequantizeToNewRange(output-&gt;data.int8[0], output-&gt;params.scale, output-&gt;params.zero_point, range);\n      for (int i=1;i&lt;channels;i++){\n          data[j+i] = data[j];\n      }\n      \/\/ Increment X\n      actX += increment;\n      if (actX&gt;two_pi){\n        actX-=two_pi;\n      }\n    }\n\n    return sampleCount;\n  }\n<\/code><\/pre>\n<p>As you can see, we just provide a array of int16_t data generated by the Tensorflow Model!<\/p>\n<h2>Summary<\/h2>\n<p>This is a pretty bad way to generate a sine tone and the audio tools library provides better ways to do this. However the goal was to give an simple introduction as a stepping stone&#8230;<\/p>\n<h2>Dependencies<\/h2>\n<ul>\n<li><a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\">Arduino Audio Tools<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pschatzmann\/tflite-micro-arduino-examples\">tflite-micro-arduino-examples<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/pschatzmann\/arduino-audiokit\">arduino-audiokit<\/a> &#8211; Optional if you use an AudioKit board<\/li>\n<\/ul>\n<h2>Github<\/h2>\n<p>The full example can be found on <a href=\"https:\/\/github.com\/pschatzmann\/arduino-audio-tools\/tree\/main\/examples\/examples-stream\/streams-tf-i2s\">Github<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The goal of this blog is to give a quick introduction into using TensorFlow Lite For Microcontrollers to create Audio Output with the help of the audio-tools library. Hallo World The starting point is the good overview provided by the &#8220;Hallo World&#8221; example of Tensorflow Lite which describes how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4489,"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,14,22],"tags":[28],"class_list":["post-4577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-learning","category-machine-sound","tag-esp32audiokit"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>An Introduction to Arduino Audio Generated by Tensorflow Lite - 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\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"An Introduction to Arduino Audio Generated by Tensorflow Lite - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"The goal of this blog is to give a quick introduction into using TensorFlow Lite For Microcontrollers to create Audio Output with the help of the audio-tools library. Hallo World The starting point is the good overview provided by the &#8220;Hallo World&#8221; example of Tensorflow Lite which describes how to [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-08T10:46:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-04-08T11:26:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/02\/tensorflow.png\" \/>\n\t<meta property=\"og:image:width\" content=\"318\" \/>\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=\"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\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"An Introduction to Arduino Audio Generated by Tensorflow Lite\",\"datePublished\":\"2022-04-08T10:46:08+00:00\",\"dateModified\":\"2022-04-08T11:26:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/\"},\"wordCount\":214,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/tensorflow.png\",\"keywords\":[\"ESP32AudioKit\"],\"articleSection\":[\"Arduino\",\"Machine Learning\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/\",\"name\":\"An Introduction to Arduino Audio Generated by Tensorflow Lite - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/tensorflow.png\",\"datePublished\":\"2022-04-08T10:46:08+00:00\",\"dateModified\":\"2022-04-08T11:26:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/tensorflow.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/tensorflow.png\",\"width\":318,\"height\":159},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2022\\\/04\\\/08\\\/an-introduction-to-audio-output-with-tensorflow-lite\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"An Introduction to Arduino Audio Generated by Tensorflow Lite\"}]},{\"@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":"An Introduction to Arduino Audio Generated by Tensorflow Lite - 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\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/","og_locale":"en_US","og_type":"article","og_title":"An Introduction to Arduino Audio Generated by Tensorflow Lite - Phil Schatzmann","og_description":"The goal of this blog is to give a quick introduction into using TensorFlow Lite For Microcontrollers to create Audio Output with the help of the audio-tools library. Hallo World The starting point is the good overview provided by the &#8220;Hallo World&#8221; example of Tensorflow Lite which describes how to [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/","og_site_name":"Phil Schatzmann","article_published_time":"2022-04-08T10:46:08+00:00","article_modified_time":"2022-04-08T11:26:53+00:00","og_image":[{"width":318,"height":159,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/02\/tensorflow.png","type":"image\/png"}],"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\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"An Introduction to Arduino Audio Generated by Tensorflow Lite","datePublished":"2022-04-08T10:46:08+00:00","dateModified":"2022-04-08T11:26:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/"},"wordCount":214,"commentCount":1,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/02\/tensorflow.png","keywords":["ESP32AudioKit"],"articleSection":["Arduino","Machine Learning","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/","url":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/","name":"An Introduction to Arduino Audio Generated by Tensorflow Lite - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/02\/tensorflow.png","datePublished":"2022-04-08T10:46:08+00:00","dateModified":"2022-04-08T11:26:53+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/02\/tensorflow.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/02\/tensorflow.png","width":318,"height":159},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2022\/04\/08\/an-introduction-to-audio-output-with-tensorflow-lite\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"An Introduction to Arduino Audio Generated by Tensorflow Lite"}]},{"@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\/4577","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=4577"}],"version-history":[{"count":7,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/4577\/revisions"}],"predecessor-version":[{"id":4585,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/4577\/revisions\/4585"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/4489"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=4577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=4577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=4577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}