{"id":4232,"date":"2021-12-22T11:32:47","date_gmt":"2021-12-22T10:32:47","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=4232"},"modified":"2021-12-28T22:49:43","modified_gmt":"2021-12-28T21:49:43","slug":"esp32-audiokit-and-midi-using-the-bluetooth-serial-interface","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/","title":{"rendered":"Microcontrollers and MIDI \u2013 Using the Bluetooth 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\/22\/esp32-audiokit-and-midi-using-serial\/\">connect a microcontroller to a MIDI Device using a physical serial connection<\/a> with the help of my <a href=\"https:\/\/github.com\/pschatzmann\/arduino-midi\">Arduino MIDI Library<\/a>. This solution is very similar, but replaces the physical connection with <strong>Serial Bluetooth<\/strong><\/p>\n<p>This solution will work with <strong>any ESP32<\/strong> and it will actually also work with <strong>any microcontroller<\/strong> if you connect a HC-05 Bluetooth Module!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/03\/hc05-300x300.png\" alt=\"\" width=\"300\" height=\"300\" class=\"alignnone size-medium wp-image-2738\" srcset=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/03\/hc05-300x300.png 300w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/03\/hc05-150x150.png 150w, https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2021\/03\/hc05.png 512w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<h3>The PC Software<\/h3>\n<p>We need some software which is running on our desktop which forwards the MIDI messages to the serial port. This time we use a <strong>Raspberry PI<\/strong> with some <strong>Python<\/strong> to set up the Serial Bluetooth scenario.<\/p>\n<p>We need to install all necessary libraries first with<\/p>\n<pre><code>pip install --upgrade pip mido python-rtmidi \n<\/code><\/pre>\n<p>The following python program forwards all MIDI Commands<\/p>\n<pre><code>import mido\nimport serial\n\nserial_port = '\/dev\/rfcomm0'\nmidi_name = 'Q61:Q61 MIDI 1 20:0'\n\nser = serial.Serial(serial_port)  # open serial port\ninput = mido.open_input(midi_name)\nfor msg in input:\n    print(msg)\n    if not ser.is_open:\n         ser.open()\n    ser.write(msg.bin())\n\n<\/code><\/pre>\n<p>You might need to adapt the serial port name and the midi name as described in the steps that follow.<\/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#include \"BluetoothSerial.h\"\n\nBluetoothSerial SerialBT;\nMidiCallbackAction action;\nMidiStreamIn in(SerialBT, 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  SerialBT.begin(\"AudioKitBT\");\n  action.setCallbacks(onNoteOn, onNoteOff);\n}\n\nvoid loop() {\n  in.loop();\n}\n\n<\/code><\/pre>\n<p>This is pretty much the same solution like in the last post. We just <strong>replaced Serial2 with SerialBT<\/strong>!<\/p>\n<p>Deploy the sketch.<\/p>\n<h2>Setup Bluetooth Connection<\/h2>\n<p>Now you can set up a Bluetooth connection on the <strong>Raspberry PI<\/strong> with Setup new Device. Follow thru all steps. At the end it will display the port information that you need to use to update the serial_port variable in the Python script above.<\/p>\n<h2>Determine the MIDI Name<\/h2>\n<p>You can determine the correct midi_name with the following program.<\/p>\n<pre><code>import mido\nfor name in mido.get_input_names():\n   print(name)\n<\/code><\/pre>\n<p>Update the midi_name variable in the Python copy program.<\/p>\n<h2>Running the Scenario<\/h2>\n<p>When you start the Python program and press any key on the keyboard, you should see the effect both in the Python output and in the Arduino Serial Console<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In one of my previous posts I gave an overview on how we can connect a microcontroller to a MIDI Device using a physical serial connection with the help of my Arduino MIDI Library. This solution is very similar, but replaces the physical connection with Serial Bluetooth This solution will [&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-4232","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.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Microcontrollers and MIDI \u2013 Using the Bluetooth 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-the-bluetooth-serial-interface\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Microcontrollers and MIDI \u2013 Using the Bluetooth 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 a microcontroller to a MIDI Device using a physical serial connection with the help of my Arduino MIDI Library. This solution is very similar, but replaces the physical connection with Serial Bluetooth This solution will [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-22T10:32:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-28T21:49:43+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=\"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\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"Microcontrollers and MIDI \u2013 Using the Bluetooth Serial Interface\",\"datePublished\":\"2021-12-22T10:32:47+00:00\",\"dateModified\":\"2021-12-28T21:49:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/\"},\"wordCount\":293,\"commentCount\":0,\"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-the-bluetooth-serial-interface\\\/#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-the-bluetooth-serial-interface\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/\",\"name\":\"Microcontrollers and MIDI \u2013 Using the Bluetooth 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-the-bluetooth-serial-interface\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/09\\\/midi.png\",\"datePublished\":\"2021-12-22T10:32:47+00:00\",\"dateModified\":\"2021-12-28T21:49:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2021\\\/12\\\/22\\\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\\\/#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-the-bluetooth-serial-interface\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Microcontrollers and MIDI \u2013 Using the Bluetooth 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 \u2013 Using the Bluetooth 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-the-bluetooth-serial-interface\/","og_locale":"en_US","og_type":"article","og_title":"Microcontrollers and MIDI \u2013 Using the Bluetooth Serial Interface - Phil Schatzmann","og_description":"In one of my previous posts I gave an overview on how we can connect a microcontroller to a MIDI Device using a physical serial connection with the help of my Arduino MIDI Library. This solution is very similar, but replaces the physical connection with Serial Bluetooth This solution will [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/","og_site_name":"Phil Schatzmann","article_published_time":"2021-12-22T10:32:47+00:00","article_modified_time":"2021-12-28T21:49:43+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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"Microcontrollers and MIDI \u2013 Using the Bluetooth Serial Interface","datePublished":"2021-12-22T10:32:47+00:00","dateModified":"2021-12-28T21:49:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/"},"wordCount":293,"commentCount":0,"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-the-bluetooth-serial-interface\/#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-the-bluetooth-serial-interface\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/","url":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/","name":"Microcontrollers and MIDI \u2013 Using the Bluetooth 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-the-bluetooth-serial-interface\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/09\/midi.png","datePublished":"2021-12-22T10:32:47+00:00","dateModified":"2021-12-28T21:49:43+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2021\/12\/22\/esp32-audiokit-and-midi-using-the-bluetooth-serial-interface\/#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-the-bluetooth-serial-interface\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"Microcontrollers and MIDI \u2013 Using the Bluetooth 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\/4232","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=4232"}],"version-history":[{"count":26,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/4232\/revisions"}],"predecessor-version":[{"id":4284,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/4232\/revisions\/4284"}],"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=4232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=4232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=4232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}