{"id":1578,"date":"2021-09-29T23:46:46","date_gmt":"2021-09-30T03:46:46","guid":{"rendered":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/?p=1578"},"modified":"2021-09-29T23:46:46","modified_gmt":"2021-09-30T03:46:46","slug":"nathan-clune-audio-input-sketch","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/clunenathan\/nathan-clune-audio-input-sketch\/","title":{"rendered":"Nathan Clune &#8211; Audio Input Sketch"},"content":{"rendered":"\n<p>My audio input sketch is a voice-controlled airplane. Unfortunately I haven&#8217;t been able to record it for a number of reasons involving my PC \/ microphone, but the Max code is more or less complete.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"828\" src=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17-1024x828.png\" alt=\"\" class=\"wp-image-1593\" srcset=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17-1024x828.png 1024w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17-800x647.png 800w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17-768x621.png 768w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17-1536x1242.png 1536w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17-371x300.png 371w, https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17.png 1745w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>The user can control the altitude of the plane through audio input (ideally by making engine noises). High pitched sounds cause the plane to rise while low pitched sounds make it fall. Independent of pitch, the volume must surpass a minimum threshold in order for the sound to register. If no sound is being made, the plane will go into free fall and accelerate due to gravity.<\/p>\n\n\n\n<p>I had an alternate version of the sketch in which pitch was irrelevant. The plane was controlled entirely by the volume of the audio input. While that helicopter was easier to control and far easier to make, I find this one more charming. It better captures my mental image of a child making airplane noises, while also utilizing inputs more complex than the Blendie sample project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My audio input sketch is a voice-controlled airplane. Unfortunately I haven&#8217;t been able to record it for a number of reasons involving my PC \/ microphone, but the Max code is more or less complete. The user can control the altitude of the plane through audio input (ideally by making engine noises). High pitched sounds&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/clunenathan\/nathan-clune-audio-input-sketch\/\">Read More<\/a><\/div>\n","protected":false},"author":186,"featured_media":1593,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1578","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-computer-vision-audio-input-sketch"],"jetpack_featured_media_url":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-content\/uploads\/sites\/17\/2021\/09\/Screenshot-17.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts\/1578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/users\/186"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/comments?post=1578"}],"version-history":[{"count":4,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts\/1578\/revisions"}],"predecessor-version":[{"id":1594,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/posts\/1578\/revisions\/1594"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/media\/1593"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/media?parent=1578"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/categories?post=1578"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a21\/wp-json\/wp\/v2\/tags?post=1578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}