{"id":443,"date":"2012-09-03T02:30:55","date_gmt":"2012-09-03T02:30:55","guid":{"rendered":"http:\/\/garysieling.com\/blog\/?p=443"},"modified":"2012-09-03T02:30:55","modified_gmt":"2012-09-03T02:30:55","slug":"detecting-pitches-in-music-with-r","status":"publish","type":"post","link":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/","title":{"rendered":"Detecting Pitches in music with R"},"content":{"rendered":"<p>In a previous post, I described a method to <a href=\"http:\/\/garysieling.com\/blog\/how-to-find-pitches-in-music\">detect a chord using a Fourier transform<\/a> in Java\/Scala. I&#8217;ve re-implemented the same in R, detailed below.<\/p>\n<p>This will generate an audio file containing the C-Major chord:<\/p>\n<pre>library(sound)\n\nc&lt;-261.63\ne&lt;-164.81\ng&lt;-196\n\nlen&lt;-1\ncData&lt;-Sine(c,len)\neData&lt;-Sine(e,len)\ngData&lt;-Sine(g,len)\n\naudio&lt;-normalize(cData+eData+gData)\n\nsaveSample(audio, \"out\\\\ceg.wav\", overwrite=TRUE)<\/pre>\n<p>And a series of helper functions:<\/p>\n<pre>magnitude&lt;-function(x) { sqrt(Re(x) * Re(x) + Im(x) * Im(x)) }\nmaxPitch&lt;-audio$rate\/2-1\n\nfrq&lt;-c(16.35,17.32,18.35,19.45,20.60,21.83,23.12,24.50,25.96,27.50,29.14,30.87)\nnoteNames&lt;-c(\"C\", \"C#0\/Db0\", \"D0\", \"D#0\/Eb0\", \"E0\", \"F0\", \"F#0\/Gb0\", \"G0\", \"G#0\/Ab0\", \"A0\", \"A#0\/Bb0\", \"B0\")\n\nlookup&lt;-data.frame(noteNames,frq)<\/pre>\n<p>A function to find the middle frequency in each FFT bucket:<\/p>\n<pre>idxFrq&lt;-function(idx) { (idx - .5 ) }<\/pre>\n<p>And a function to find the closest note in the lowest octave:<\/p>\n<pre>noteDist&lt;-function(note1, note2) { abs(log(note1)\/log(2) - log(note2)\/log(2)) %% 1 }<\/pre>\n<p>Now to do the actual FFT:<\/p>\n<pre>fftdata&lt;-fft(audio$sound)\nhalf&lt;-fftdata[1:maxPitch]\nindexes&lt;-c(1:maxPitch)\nmagnitudes&lt;-magnitude(half)<\/pre>\n<p>Now, from each bucket, find the note that is closest to each bucket:<\/p>\n<pre>closest&lt;-function(x){ subset(lookup, select=c(noteNames,frq),subset=(min(noteDist(frq, x)) == noteDist(frq, x)))$noteNames }\n\nnoteList&lt;-mapply(closest, indexes-0.5)\nmag&lt;-data.frame(noteList, magnitudes)\nbarplot(by(mag$magnitudes, mag$noteList, sum))<\/pre>\n<p>This results in the following image, which has peaks at C, E, and G, as expected.<\/p>\n<p><a href=\"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/09\/fft-chord.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-447\" title=\"fft-chord\" src=\"http:\/\/garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/fft-chord-297x300.png\" alt=\"\" width=\"297\" height=\"300\" srcset=\"https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/fft-chord-297x300.png 297w, https:\/\/www.garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/fft-chord.png 586w\" sizes=\"(max-width: 297px) 100vw, 297px\" \/><\/a><\/p>\n<p>The calculation is very crude &#8211; all frequencies are mapped to a note evenly, which isn&#8217;t really correct.<\/p>\n<p>This can be adjusted by de-emphasizing the fft buckets between notes:<\/p>\n<pre>scale&lt;-function(x){ .5 + .5 * sin(pi * x*2 + pi\/2) }\nnote&lt;-function(x) { 12 * log(x\/440)\/log(2) + 49 }\nscaleData&lt;-scale(note(idxFrq(indexes)))\nscaledMagnitudes&lt;-scaleData*magnitudes\nscaledMag&lt;-data.frame(noteList, scaledMagnitudes)\n<\/pre>\n<p>This looks better &#8211; the three highest are the notes in the chord-<\/p>\n<p><a href=\"http:\/\/172.104.26.128\/wp-content\/uploads\/2012\/09\/fft-chord2.png\"><img decoding=\"async\" class=\"alignnone size-medium wp-image-454\" title=\"fft-chord2\" src=\"http:\/\/garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/fft-chord2-300x278.png\" alt=\"\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I&#8217;ve re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c&lt;-261.63 e&lt;-164.81 g&lt;-196 len&lt;-1 cData&lt;-Sine(c,len) eData&lt;-Sine(e,len) gData&lt;-Sine(g,len) audio&lt;-normalize(cData+eData+gData) saveSample(audio, &#8220;out\\\\ceg.wav&#8221;, overwrite=TRUE) And a series of helper functions: magnitude&lt;-function(x) &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Detecting Pitches in music with R&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[6,27],"tags":[109,178,373,450,532],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.9 - aioseo.com -->\n\t<meta name=\"description\" content=\"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I&#039;ve re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"gary\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.9\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Gary Sieling - Software Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Detecting Pitches in music with R - Gary Sieling\" \/>\n\t\t<meta property=\"og:description\" content=\"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I&#039;ve re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2012-09-03T02:30:55+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2012-09-03T02:30:55+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Detecting Pitches in music with R - Gary Sieling\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I&#039;ve re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#blogposting\",\"name\":\"Detecting Pitches in music with R - Gary Sieling\",\"headline\":\"Detecting Pitches in music with R\",\"author\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/garysieling.com\\\/blog\\\/wp-content\\\/uploads\\\/2012\\\/09\\\/fft-chord-297x300.png\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#articleImage\"},\"datePublished\":\"2012-09-03T02:30:55+00:00\",\"dateModified\":\"2012-09-03T02:30:55+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#webpage\"},\"articleSection\":\"Data Science, Statistics, chords, dsp, music, R, statistics\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.garysieling.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/data-science\\\/#listItem\",\"name\":\"Data Science\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/data-science\\\/#listItem\",\"position\":2,\"name\":\"Data Science\",\"item\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/data-science\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#listItem\",\"name\":\"Detecting Pitches in music with R\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#listItem\",\"position\":3,\"name\":\"Detecting Pitches in music with R\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/category\\\/data-science\\\/#listItem\",\"name\":\"Data Science\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\",\"name\":\"Gary Sieling\",\"description\":\"Software Engineer\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/\",\"name\":\"gary\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0be925276d848ffe98a6a9dc8cf33e67?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"gary\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#webpage\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/\",\"name\":\"Detecting Pitches in music with R - Gary Sieling\",\"description\":\"In a previous post, I described a method to detect a chord using a Fourier transform in Java\\\/Scala. I've re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/detecting-pitches-in-music-with-r\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/author\\\/gary\\\/#author\"},\"datePublished\":\"2012-09-03T02:30:55+00:00\",\"dateModified\":\"2012-09-03T02:30:55+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/\",\"name\":\"Gary Sieling\",\"description\":\"Software Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.garysieling.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Detecting Pitches in music with R - Gary Sieling","description":"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I've re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c","canonical_url":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#blogposting","name":"Detecting Pitches in music with R - Gary Sieling","headline":"Detecting Pitches in music with R","author":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"publisher":{"@id":"https:\/\/www.garysieling.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"http:\/\/garysieling.com\/blog\/wp-content\/uploads\/2012\/09\/fft-chord-297x300.png","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#articleImage"},"datePublished":"2012-09-03T02:30:55+00:00","dateModified":"2012-09-03T02:30:55+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#webpage"},"isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#webpage"},"articleSection":"Data Science, Statistics, chords, dsp, music, R, statistics"},{"@type":"BreadcrumbList","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.garysieling.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/data-science\/#listItem","name":"Data Science"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/data-science\/#listItem","position":2,"name":"Data Science","item":"https:\/\/www.garysieling.com\/blog\/category\/data-science\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#listItem","name":"Detecting Pitches in music with R"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#listItem","position":3,"name":"Detecting Pitches in music with R","previousItem":{"@type":"ListItem","@id":"https:\/\/www.garysieling.com\/blog\/category\/data-science\/#listItem","name":"Data Science"}}]},{"@type":"Organization","@id":"https:\/\/www.garysieling.com\/blog\/#organization","name":"Gary Sieling","description":"Software Engineer","url":"https:\/\/www.garysieling.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author","url":"https:\/\/www.garysieling.com\/blog\/author\/gary\/","name":"gary","image":{"@type":"ImageObject","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0be925276d848ffe98a6a9dc8cf33e67?s=96&d=identicon&r=g","width":96,"height":96,"caption":"gary"}},{"@type":"WebPage","@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#webpage","url":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/","name":"Detecting Pitches in music with R - Gary Sieling","description":"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I've re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.garysieling.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/#breadcrumblist"},"author":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"creator":{"@id":"https:\/\/www.garysieling.com\/blog\/author\/gary\/#author"},"datePublished":"2012-09-03T02:30:55+00:00","dateModified":"2012-09-03T02:30:55+00:00"},{"@type":"WebSite","@id":"https:\/\/www.garysieling.com\/blog\/#website","url":"https:\/\/www.garysieling.com\/blog\/","name":"Gary Sieling","description":"Software Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.garysieling.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Gary Sieling - Software Engineer","og:type":"article","og:title":"Detecting Pitches in music with R - Gary Sieling","og:description":"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I've re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c","og:url":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/","article:published_time":"2012-09-03T02:30:55+00:00","article:modified_time":"2012-09-03T02:30:55+00:00","twitter:card":"summary_large_image","twitter:title":"Detecting Pitches in music with R - Gary Sieling","twitter:description":"In a previous post, I described a method to detect a chord using a Fourier transform in Java\/Scala. I've re-implemented the same in R, detailed below. This will generate an audio file containing the C-Major chord: library(sound) c"},"aioseo_meta_data":{"post_id":"443","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2023-02-04 16:07:43","updated":"2026-07-06 00:45:54","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.garysieling.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.garysieling.com\/blog\/category\/data-science\/\" title=\"Data Science\">Data Science<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDetecting Pitches in music with R\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.garysieling.com\/blog"},{"label":"Data Science","link":"https:\/\/www.garysieling.com\/blog\/category\/data-science\/"},{"label":"Detecting Pitches in music with R","link":"https:\/\/www.garysieling.com\/blog\/detecting-pitches-in-music-with-r\/"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/443"}],"collection":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":0,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/posts\/443\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/media?parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/categories?post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.garysieling.com\/blog\/wp-json\/wp\/v2\/tags?post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}