{"id":213,"date":"2015-10-27T12:52:50","date_gmt":"2015-10-27T12:52:50","guid":{"rendered":"http:\/\/www.aaronparsekian.com\/?p=213"},"modified":"2015-10-27T12:52:50","modified_gmt":"2015-10-27T12:52:50","slug":"hipster-oscilloscope","status":"publish","type":"post","link":"http:\/\/www.aaronparsekian.com\/?p=213","title":{"rendered":"Hipster Oscilloscope"},"content":{"rendered":"<p>This week I used the p5 sound library to map an oscilloscope to the microphone on my computer. This came after a week of frustration trying to work with RGB pixel tape and p5. I definitely need some more time to get that working! I decided learning about routing sound in p5 would be a good fall back.<\/p>\n<p>The code used the waveform generator in the p5 sound library to draw three waveforms:<\/p>\n<div class=\"oembed-gist\"><script src=\"https:\/\/gist.github.com\/aaronparsekian\/518d0dfdbeedf0e7d778.js\"><\/script><noscript>View the code on <a href=\"https:\/\/gist.github.com\/aaronparsekian\/518d0dfdbeedf0e7d778\">Gist<\/a>.<\/noscript><\/div>\n<p>By toggling a DOM button, you can switch between two visualizations.<\/p>\n<p><a href=\"http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.25-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-215\" src=\"http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.25-AM-273x300.png\" alt=\"Screen Shot 2015-10-27 at 8.46.25 AM\" width=\"273\" height=\"300\" srcset=\"http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.25-AM-273x300.png 273w, http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.25-AM-933x1024.png 933w, http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.25-AM.png 1252w\" sizes=\"auto, (max-width: 273px) 100vw, 273px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.34-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-214\" src=\"http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.34-AM-273x300.png\" alt=\"Screen Shot 2015-10-27 at 8.46.34 AM\" width=\"273\" height=\"300\" srcset=\"http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.34-AM-273x300.png 273w, http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.34-AM-933x1024.png 933w, http:\/\/www.aaronparsekian.com\/wp-content\/uploads\/2015\/10\/Screen-Shot-2015-10-27-at-8.46.34-AM.png 1252w\" sizes=\"auto, (max-width: 273px) 100vw, 273px\" \/><\/a><\/p>\n<p>The slider controls the volume \/ amplitude.<\/p>\n<p>Here is the sketch:<\/p>\n<p><a href=\"http:\/\/www.aaronparsekian.com\/projects\/oscilloscope\/\">http:\/\/www.aaronparsekian.com\/projects\/oscilloscope\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I used the p5 sound library to map an oscilloscope to the microphone on my computer. This came after a week of frustration trying to work with RGB pixel tape and p5. I definitely need some more time to get that working! I decided learning about routing sound in p5 would be a &hellip; <a href=\"http:\/\/www.aaronparsekian.com\/?p=213\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Hipster Oscilloscope<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,2],"tags":[],"class_list":["post-213","post","type-post","status-publish","format-standard","hentry","category-fall-2015","category-icm"],"_links":{"self":[{"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=213"}],"version-history":[{"count":1,"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":216,"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=\/wp\/v2\/posts\/213\/revisions\/216"}],"wp:attachment":[{"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.aaronparsekian.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}