{"id":8885,"date":"2013-12-26T23:26:38","date_gmt":"2013-12-26T23:26:38","guid":{"rendered":"http:\/\/zerokidz.com\/ideas\/?p=8885"},"modified":"2014-05-18T16:19:16","modified_gmt":"2014-05-18T20:19:16","slug":"fm-am-and-ssb-modulationdemodulation-in-max","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=8885","title":{"rendered":"FM, AM, and SSB modulation\/demodulation in Max"},"content":{"rendered":"<p>This is a radio &#8211; but also a modem, in a literal sense of the word. You may be familiar with AM and FM. Have your tried using them backwards?<\/p>\n<p><a href=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9316\" title=\"Screen Shot 2014-01-09 at 9.45.26 PM\" src=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png\" alt=\"\" width=\"300\" height=\"167\" srcset=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png 300w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-1024x572.png 1024w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-500x279.png 500w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM.png 1204w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In this patch, an audio signal is modulated using SSB, AM, and FM then frequency shifted to about 1\/4 the nyquist frequency. Then the process is reversed revealing the original audio.<\/p>\n<p><a href=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.46.05-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-9317\" title=\"Screen Shot 2014-01-09 at 9.46.05 PM\" src=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.46.05-PM-300x157.png\" alt=\"\" width=\"300\" height=\"157\" srcset=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.46.05-PM-300x157.png 300w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.46.05-PM-1024x536.png 1024w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.46.05-PM-500x261.png 500w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.46.05-PM.png 1273w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h2>notes<\/h2>\n<p>Have improved and simplified FM and AM detection. There is no frequency shift prior to detection. This eliminates some phase distortion.<\/p>\n<p>Pd Version. (runs at 44.1 kHz, because I was too lazy to figure out how to do audio file playback which detects the SR of the audio file.<\/p>\n<p>FM detection: The DC offset and makeup gain levels are sensitive to carrier frequency and SR. Will need to automate these corrections to prevent audio output problems.<\/p>\n<h4>download<\/h4>\n<p>max-projects: <a href=\"https:\/\/github.com\/tkzic\/max-projects\">https:\/\/github.com\/tkzic\/max-projects<\/a><\/p>\n<p>folder: demodulation\/max<\/p>\n<ul>\n<li>modem3.maxpat<\/li>\n<li>obama.aiff<\/li>\n<\/ul>\n<p>folder: demodulation\/pd<\/p>\n<div>\n<ul>\n<li>modem-pd.pd<\/li>\n<li>freqshift-abs~.pd<\/li>\n<li>obama.aiff<\/li>\n<\/ul>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a radio &#8211; but also a modem, in a literal sense of the word. You may be familiar with AM and FM. Have your tried using them backwards? In this patch, an audio signal is modulated using SSB, AM, and FM then frequency shifted to about 1\/4 the nyquist frequency. Then the process &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=8885\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;FM, AM, and SSB modulation\/demodulation in Max&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[21,273,28,249],"tags":[345,128,190,57,13],"class_list":["post-8885","post","type-post","status-publish","format-standard","hentry","category-dsp","category-max-projects","category-maxmsp","category-pd-2","tag-maxmsp","tag-pd","tag-portfolio","tag-radio","tag-teaching"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>FM, AM, and SSB modulation\/demodulation in Max - reactive music<\/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:\/\/reactivemusic.net\/?p=8885\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"FM, AM, and SSB modulation\/demodulation in Max - reactive music\" \/>\n<meta property=\"og:description\" content=\"This is a radio &#8211; but also a modem, in a literal sense of the word. You may be familiar with AM and FM. Have your tried using them backwards? In this patch, an audio signal is modulated using SSB, AM, and FM then frequency shifted to about 1\/4 the nyquist frequency. Then the process &hellip; Continue reading &quot;FM, AM, and SSB modulation\/demodulation in Max&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=8885\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2013-12-26T23:26:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-05-18T20:19:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png\" \/>\n<meta name=\"author\" content=\"Tom Zicarelli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Zicarelli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"FM, AM, and SSB modulation\\\/demodulation in Max\",\"datePublished\":\"2013-12-26T23:26:38+00:00\",\"dateModified\":\"2014-05-18T20:19:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885\"},\"wordCount\":168,\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png\",\"keywords\":[\"Max\\\/MSP\",\"Pd\",\"portfolio\",\"radio\",\"teaching\"],\"articleSection\":[\"DSP\",\"max-projects\",\"Max\\\/MSP\",\"Pd\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885\",\"name\":\"FM, AM, and SSB modulation\\\/demodulation in Max - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png\",\"datePublished\":\"2013-12-26T23:26:38+00:00\",\"dateModified\":\"2014-05-18T20:19:16+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=8885\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#primaryimage\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/Screen-Shot-2014-01-09-at-9.45.26-PM.png\",\"contentUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/12\\\/Screen-Shot-2014-01-09-at-9.45.26-PM.png\",\"width\":\"1204\",\"height\":\"673\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=8885#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FM, AM, and SSB modulation\\\/demodulation in Max\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/\",\"name\":\"reactive music\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/reactivemusic.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\",\"name\":\"Tom Zicarelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"caption\":\"Tom Zicarelli\"},\"sameAs\":[\"http:\\\/\\\/tomzicarelli.com\"],\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"FM, AM, and SSB modulation\/demodulation in Max - reactive music","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:\/\/reactivemusic.net\/?p=8885","og_locale":"en_US","og_type":"article","og_title":"FM, AM, and SSB modulation\/demodulation in Max - reactive music","og_description":"This is a radio &#8211; but also a modem, in a literal sense of the word. You may be familiar with AM and FM. Have your tried using them backwards? In this patch, an audio signal is modulated using SSB, AM, and FM then frequency shifted to about 1\/4 the nyquist frequency. Then the process &hellip; Continue reading \"FM, AM, and SSB modulation\/demodulation in Max\"","og_url":"https:\/\/reactivemusic.net\/?p=8885","og_site_name":"reactive music","article_published_time":"2013-12-26T23:26:38+00:00","article_modified_time":"2014-05-18T20:19:16+00:00","og_image":[{"url":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png","type":"","width":"","height":""}],"author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=8885#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=8885"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"FM, AM, and SSB modulation\/demodulation in Max","datePublished":"2013-12-26T23:26:38+00:00","dateModified":"2014-05-18T20:19:16+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=8885"},"wordCount":168,"image":{"@id":"https:\/\/reactivemusic.net\/?p=8885#primaryimage"},"thumbnailUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png","keywords":["Max\/MSP","Pd","portfolio","radio","teaching"],"articleSection":["DSP","max-projects","Max\/MSP","Pd"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=8885","url":"https:\/\/reactivemusic.net\/?p=8885","name":"FM, AM, and SSB modulation\/demodulation in Max - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=8885#primaryimage"},"image":{"@id":"https:\/\/reactivemusic.net\/?p=8885#primaryimage"},"thumbnailUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM-300x167.png","datePublished":"2013-12-26T23:26:38+00:00","dateModified":"2014-05-18T20:19:16+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=8885#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=8885"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/reactivemusic.net\/?p=8885#primaryimage","url":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM.png","contentUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/12\/Screen-Shot-2014-01-09-at-9.45.26-PM.png","width":"1204","height":"673"},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=8885#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"FM, AM, and SSB modulation\/demodulation in Max"}]},{"@type":"WebSite","@id":"https:\/\/reactivemusic.net\/#website","url":"https:\/\/reactivemusic.net\/","name":"reactive music","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/reactivemusic.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571","name":"Tom Zicarelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","caption":"Tom Zicarelli"},"sameAs":["http:\/\/tomzicarelli.com"],"url":"https:\/\/reactivemusic.net\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/8885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8885"}],"version-history":[{"count":12,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/8885\/revisions"}],"predecessor-version":[{"id":11638,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/8885\/revisions\/11638"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}