{"id":17159,"date":"2014-09-24T10:58:29","date_gmt":"2014-09-24T14:58:29","guid":{"rendered":"https:\/\/reactivemusic.net\/?p=17159"},"modified":"2014-12-15T01:03:35","modified_gmt":"2014-12-15T06:03:35","slug":"ep-413-dsp-week-3","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=17159","title":{"rendered":"ep-413 DSP \u2013 week 4"},"content":{"rendered":"<h4><a style=\"font-style: inherit; color: #1b8be0;\" href=\"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-3329\" style=\"font-style: inherit; color: inherit;\" title=\"Screen Shot 2014-06-22 at 9.23.20 PM\" src=\"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png\" alt=\"\" width=\"300\" height=\"220\" \/><\/a><\/h4>\n<h4>Notes:<\/h4>\n<p>Audio Signal Processing Course:\u00a0<a href=\"https:\/\/www.coursera.org\/course\/audio\">https:\/\/www.coursera.org\/<wbr \/>course\/audio<\/a><\/p>\n<p><cite>By Xavier Serra and Julius O. Smith<\/cite><\/p>\n<p><span style=\"color: #000000;\">This is a free course offered by Stanford.\u00a0<\/span>It starts at the beginning of October. I will be taking the course and would be happy to help you if you are interested in taking it too.<\/p>\n<p>Pd weekend 2014: Katja Vetter Microphone design:\u00a0<a href=\"http:\/\/libguides.lib.siu.edu\/puredata\">http:\/\/libguides.lib.siu.edu\/puredata<\/a><\/p>\n<h4>Part I &#8211; Pitch detection<\/h4>\n<p style=\"color: #333333;\">How would you construct an &#8216;Autotune&#8217; effect that works in real time? \u00a0The first requirement is accurate pitch detection:<\/p>\n<h5 style=\"color: #333333;\">Frequency domain:<\/h5>\n<p style=\"color: #333333;\">FFT and STFT: Find frequencies where the signal has greatest energy. Tradeoff between frequency and temporal resolution. Moderate latency.<\/p>\n<p style=\"color: #333333;\">Max examples:\u00a0<a href=\"https:\/\/reactivemusic.net\/?p=11202\">https:\/\/reactivemusic.net\/?p=11202<\/a><\/p>\n<p style=\"color: #333333;\">Also look at the builtin Max tutorials on the fft~ and pfft~ objects<\/p>\n<p style=\"color: #333333;\">3rd party Max\/Pd objects:<\/p>\n<ul>\n<li>fiddle~, sigmund~, centroid~ (CNMAT)\u00a0<a style=\"line-height: normal;\" href=\"http:\/\/cnmat.berkeley.edu\/downloads\">http:\/\/cnmat.berkeley.edu\/downloads<\/a><\/li>\n<li>pitch~ (Tristan Jehan)\u00a0<a style=\"line-height: normal;\" href=\"http:\/\/web.media.mit.edu\/~tristan\/maxmsp.html\">http:\/\/web.media.mit.edu\/~tristan\/maxmsp.htm<\/a><\/li>\n<\/ul>\n<p>DSP code<\/p>\n<ul>\n<li>DIRAC (Stefan Bernsee) <a href=\"http:\/\/www.dspdimension.com\/category\/tutorial\/\">http:\/\/www.dspdimension.com\/category\/tutorial\/\u00a0<\/a><\/li>\n<li>Audiograph (iOS)\u00a0<a href=\"http:\/\/zerokidz.com\/audiograph\">http:\/\/zerokidz.com\/audiograph<\/a><\/li>\n<\/ul>\n<h5 style=\"color: #333333;\">Time domain:<\/h5>\n<p>Zero crossing: Measure the period of waves by counting rate of zero crossings. Doesn&#8217;t work with complex waveforms.<\/p>\n<p>Max objects: fzero~ and zerox~<\/p>\n<p>Autocorrelation: Compare a signal with a time shifted copy of itself. \u00a0Low latency but CPU intensive. Can be improved by using lower sample rates and other tweaks. (Helmholtz)<\/p>\n<p>Example patches:\u00a0<a href=\"https:\/\/reactivemusic.net\/?p=17169\">https:\/\/reactivemusic.net\/?p=17169<\/a><\/p>\n<p>(note: gbr.yin~ is a 3rd party object from IRCAM, but is built into Max)<\/p>\n<p>Pd examples from Katja Vetter: (helmholtz~ external)<\/p>\n<ul>\n<li>&#8220;Helmholtz finds the pitch&#8221;\u00a0<a href=\"http:\/\/www.katjaas.nl\/helmholtz\/helmholtz.html\">http:\/\/www.katjaas.nl\/helmholtz\/helmholtz.html<\/a><\/li>\n<li>SliceJockey:\u00a0<a href=\"http:\/\/www.katjaas.nl\/slicejockey\/slicejockey.html\">http:\/\/www.katjaas.nl\/slicejockey\/slicejockey.html<\/a><\/li>\n<\/ul>\n<p>We also looked at Katja&#8217;s new app: InstantDecomposer. If you would like to try this patch, please contact me. I will need to get permission from Katja.<\/p>\n<h5>Wavelet transform:<\/h5>\n<ul>\n<li>The Wavelet tutorial by Robi Polikar:\u00a0<a href=\"http:\/\/users.rowan.edu\/~polikar\/WAVELETS\/WTtutorial.html\">http:\/\/users.rowan.edu\/~polikar\/WAVELETS\/WTtutorial.html<\/a><\/li>\n<li>Multi Resolution Audio Transforms by Graham Wakefield:\u00a0<a href=\"http:\/\/www.grahamwakefield.net\/MAT-F04\/201b\/\">http:\/\/www.grahamwakefield.net\/MAT-F04\/201b<\/a>\/<\/li>\n<li>wavelet~ object (From CNMAT)<\/li>\n<\/ul>\n<h5>Other methods:<\/h5>\n<ul>\n<li>phase locked loop<\/li>\n<li>human pitch matching (what is the latency?)<\/li>\n<li>Neural networks?<\/li>\n<li>Statistical methods (pattern matching)?<\/li>\n<\/ul>\n<h4>Part II &#8211; Prototyping<\/h4>\n<p style=\"color: #333333;\">Muse development case study:\u00a0<a href=\"https:\/\/reactivemusic.net\/?p=16187\">https:\/\/reactivemusic.net\/?p=16187<\/a><\/p>\n<h4 style=\"color: #333333;\">Assignment<\/h4>\n<p>Next week we will listen to your music from the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notes: Audio Signal Processing Course:\u00a0https:\/\/www.coursera.org\/course\/audio By Xavier Serra and Julius O. Smith This is a free course offered by Stanford.\u00a0It starts at the beginning of October. I will be taking the course and would be happy to help you if you are interested in taking it too. Pd weekend 2014: Katja Vetter Microphone design:\u00a0http:\/\/libguides.lib.siu.edu\/puredata Part &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=17159\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ep-413 DSP \u2013 week 4&#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":[1],"tags":[],"class_list":["post-17159","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ep-413 DSP \u2013 week 4 - 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=17159\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ep-413 DSP \u2013 week 4 - reactive music\" \/>\n<meta property=\"og:description\" content=\"Notes: Audio Signal Processing Course:\u00a0https:\/\/www.coursera.org\/course\/audio By Xavier Serra and Julius O. Smith This is a free course offered by Stanford.\u00a0It starts at the beginning of October. I will be taking the course and would be happy to help you if you are interested in taking it too. Pd weekend 2014: Katja Vetter Microphone design:\u00a0http:\/\/libguides.lib.siu.edu\/puredata Part &hellip; Continue reading &quot;ep-413 DSP \u2013 week 4&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=17159\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2014-09-24T14:58:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-12-15T06:03:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"ep-413 DSP \u2013 week 4\",\"datePublished\":\"2014-09-24T14:58:29+00:00\",\"dateModified\":\"2014-12-15T06:03:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159\"},\"wordCount\":379,\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/zerokidz.com\\\/time\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png\",\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159\",\"name\":\"ep-413 DSP \u2013 week 4 - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#primaryimage\"},\"thumbnailUrl\":\"http:\\\/\\\/zerokidz.com\\\/time\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png\",\"datePublished\":\"2014-09-24T14:58:29+00:00\",\"dateModified\":\"2014-12-15T06:03:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=17159\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#primaryimage\",\"url\":\"http:\\\/\\\/zerokidz.com\\\/time\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png\",\"contentUrl\":\"http:\\\/\\\/zerokidz.com\\\/time\\\/wp-content\\\/uploads\\\/2014\\\/06\\\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=17159#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ep-413 DSP \u2013 week 4\"}]},{\"@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":"ep-413 DSP \u2013 week 4 - 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=17159","og_locale":"en_US","og_type":"article","og_title":"ep-413 DSP \u2013 week 4 - reactive music","og_description":"Notes: Audio Signal Processing Course:\u00a0https:\/\/www.coursera.org\/course\/audio By Xavier Serra and Julius O. Smith This is a free course offered by Stanford.\u00a0It starts at the beginning of October. I will be taking the course and would be happy to help you if you are interested in taking it too. Pd weekend 2014: Katja Vetter Microphone design:\u00a0http:\/\/libguides.lib.siu.edu\/puredata Part &hellip; Continue reading \"ep-413 DSP \u2013 week 4\"","og_url":"https:\/\/reactivemusic.net\/?p=17159","og_site_name":"reactive music","article_published_time":"2014-09-24T14:58:29+00:00","article_modified_time":"2014-12-15T06:03:35+00:00","og_image":[{"url":"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png","type":"","width":"","height":""}],"author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=17159#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=17159"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"ep-413 DSP \u2013 week 4","datePublished":"2014-09-24T14:58:29+00:00","dateModified":"2014-12-15T06:03:35+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=17159"},"wordCount":379,"image":{"@id":"https:\/\/reactivemusic.net\/?p=17159#primaryimage"},"thumbnailUrl":"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png","inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=17159","url":"https:\/\/reactivemusic.net\/?p=17159","name":"ep-413 DSP \u2013 week 4 - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=17159#primaryimage"},"image":{"@id":"https:\/\/reactivemusic.net\/?p=17159#primaryimage"},"thumbnailUrl":"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png","datePublished":"2014-09-24T14:58:29+00:00","dateModified":"2014-12-15T06:03:35+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=17159#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=17159"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/reactivemusic.net\/?p=17159#primaryimage","url":"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png","contentUrl":"http:\/\/zerokidz.com\/time\/wp-content\/uploads\/2014\/06\/Screen-Shot-2014-06-22-at-9.23.20-PM-300x220.png"},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=17159#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"ep-413 DSP \u2013 week 4"}]},{"@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\/17159","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=17159"}],"version-history":[{"count":12,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/17159\/revisions"}],"predecessor-version":[{"id":17840,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/17159\/revisions\/17840"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17159"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17159"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}