{"id":4195,"date":"2021-12-22T09:00:30","date_gmt":"2021-12-22T08:00:30","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=4195"},"modified":"2024-08-18T05:18:48","modified_gmt":"2024-08-18T03:18:48","slug":"esp32-audiokit-and-midi-using-serial","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/","title":{"rendered":"Microcontrollers and MIDI &#8211; Using the Serial Interface"},"content":{"rendered":"<p>In one of my previous posts I gave an overview on how we can <a href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/21\/esp32-audiokit-and-midi\/\">connect an microcontroller to a MIDI Device<\/a>.<\/p>\n<p>The <strong>simplest solution<\/strong> is to connect the <strong>MIDI Keyboard<\/strong> to the PC and use a <a href=\"https:\/\/www.google.com\/search?q=FTDI+USB+to+Serial+Adapter\">FTDI serial adapter<\/a> to communicate with your microcontroller. Because the keyboard is only sending data, we only need to connect the <strong>TX pin on the FTDI<\/strong> to the <strong>RX pin on the AudioKit<\/strong> board. Please make sure that the device is set to 3V (because 5V might destroy your AudioKit).<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcRcuj_yvb4_n_JZVUpVbFOGHuRCkkTepzahEg&#038;usqp=CAU\" \/><\/p>\n<h3>The PC Software<\/h3>\n<p>On the PC you need to run a software tool that forwards the midi messages from the keyboard to the serial port. I am using <a href=\"https:\/\/projectgus.github.io\/hairless-midiserial\/\">Hairless MIDI Serial Bridge<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/12\/hairless-serial-300x150.png\" alt=\"\" width=\"70%\"  class=\"alignnone size-medium wp-image-4239\" srcset=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/12\/hairless-serial-300x150.png 300w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/12\/hairless-serial.png 604w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3>The Arduino Sketch<\/h3>\n<p>For the example I am using my <a href=\"https:\/\/github.com\/pschatzmann\/arduino-midi\">Arduino MIDI library<\/a>.<\/p>\n<pre><code>#include \"Midi.h\"\n\n#define RXD2 21\n#define TXD2 22\n\nMidiCallbackAction action;\nMidiStreamIn in(Serial, action);\n\nvoid onNoteOn(uint8_t channel, uint8_t note, uint8_t velocity) {\n  Serial.print(\"onNoteOn: \");\n  Serial.println(note);\n}\n\nvoid onNoteOff(uint8_t channel, uint8_t note, uint8_t velocity) {\n  Serial.print(\"onNoteOff: \");\n  Serial.println(note);\n}\n\nvoid setup() {\n  Serial.begin(119200);\n  Serial2.begin(119200, SERIAL_8N1, RXD2, TXD2);\n  action.setCallbacks(onNoteOn, onNoteOff);\n}\n\nvoid loop() {\n  in.loop();\n}\n\n<\/code><\/pre>\n<h3>Connections<\/h3>\n<p>The ESP32 AudioKit provides a RX0 and TX0 pin, but this is already used by the USB connection and in order to avoid any <strong>conflicts<\/strong> we use any separate <strong>unused pins<\/strong> (e.g. GPIO21 or GPIO22).<\/p>\n<table>\n<thead>\n<tr>\n<th>Kit<\/th>\n<th>FTDI<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>GPIO21<\/td>\n<td>TX<\/td>\n<\/tr>\n<tr>\n<td>GND<\/td>\n<td>GND<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Dependencies<\/h3>\n<ul>\n<li><a href=\"https:\/\/github.com\/pschatzmann\/arduino-midi\">arduino-midi<\/a><\/li>\n<\/ul>\n<h3>Final Comments<\/h3>\n<p>You can replace the &#8216;Hairless MIDI Serial&#8217; tool with a simple Python Program. Details can be found in <a href=\"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/\">my next blog<\/a>.<\/p>\n<p>I this example I concentrated on using the AudioKit as synthesizer and processing inbound MIDI messages from a MIDI keyboard. Naturally we can use the AudioKit also as MIDI source to generate MIDI messages. You can find the corresponding code in the <a href=\"https:\/\/github.com\/pschatzmann\/arduino-midi\/blob\/main\/examples\/MidiToSerial\/MidiToSerial.ino\">examples directory<\/a>.<\/p>\n<p>The examples directory also contains a demo how to build as <a href=\"https:\/\/github.com\/pschatzmann\/arduino-midi\/blob\/main\/examples\/MidiFromSerial\/MidiFromSerial.ino\">simple synthesizer with the STK framework<\/a>.<\/p>\n<p>If you want to use these examples in the AudioKit, you just need to <strong>adapt the Serial interface<\/strong> with the approach described in this  blog.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In one of my previous posts I gave an overview on how we can connect an microcontroller to a MIDI Device. The simplest solution is to connect the MIDI Keyboard to the PC and use a FTDI serial adapter to communicate with your microcontroller. Because the keyboard is only sending [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2000,"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":[33],"class_list":["post-4195","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-arduino","category-machine-sound","tag-midi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Microcontrollers and MIDI - Using the Serial Interface - 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\/12\/22\/esp32-audiokit-and-midi-using-serial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Microcontrollers and MIDI - Using the Serial Interface - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"In one of my previous posts I gave an overview on how we can connect an microcontroller to a MIDI Device. The simplest solution is to connect the MIDI Keyboard to the PC and use a FTDI serial adapter to communicate with your microcontroller. Because the keyboard is only sending [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-22T08:00:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-18T03:18:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"582\" \/>\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=\"3 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\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"Microcontrollers and MIDI &#8211; Using the Serial Interface\",\"datePublished\":\"2021-12-22T08:00:30+00:00\",\"dateModified\":\"2024-08-18T03:18:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/\"},\"wordCount\":293,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/midi.png\",\"keywords\":[\"MIDI\"],\"articleSection\":[\"Arduino\",\"Machine Sound\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/\",\"name\":\"Microcontrollers and MIDI - Using the Serial Interface - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/midi.png\",\"datePublished\":\"2021-12-22T08:00:30+00:00\",\"dateModified\":\"2024-08-18T03:18:48+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/midi.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/midi.png\",\"width\":1280,\"height\":582},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-serial\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Microcontrollers and MIDI &#8211; Using the Serial Interface\"}]},{\"@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":"Microcontrollers and MIDI - Using the Serial Interface - 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\/12\/22\/esp32-audiokit-and-midi-using-serial\/","og_locale":"en_US","og_type":"article","og_title":"Microcontrollers and MIDI - Using the Serial Interface - Phil Schatzmann","og_description":"In one of my previous posts I gave an overview on how we can connect an microcontroller to a MIDI Device. The simplest solution is to connect the MIDI Keyboard to the PC and use a FTDI serial adapter to communicate with your microcontroller. Because the keyboard is only sending [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-12-22T08:00:30+00:00","article_modified_time":"2024-08-18T03:18:48+00:00","og_image":[{"width":1280,"height":582,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png","type":"image\/png"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"Microcontrollers and MIDI &#8211; Using the Serial Interface","datePublished":"2021-12-22T08:00:30+00:00","dateModified":"2024-08-18T03:18:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/"},"wordCount":293,"commentCount":1,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png","keywords":["MIDI"],"articleSection":["Arduino","Machine Sound"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/","name":"Microcontrollers and MIDI - Using the Serial Interface - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png","datePublished":"2021-12-22T08:00:30+00:00","dateModified":"2024-08-18T03:18:48+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png","width":1280,"height":582},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-serial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"Microcontrollers and MIDI &#8211; Using the Serial Interface"}]},{"@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\/4195","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=4195"}],"version-history":[{"count":43,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/4195\/revisions"}],"predecessor-version":[{"id":4200,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/4195\/revisions\/4200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/2000"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=4195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=4195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=4195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}