{"id":5225,"date":"2021-04-29T10:26:51","date_gmt":"2021-04-29T14:26:51","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/?p=5225"},"modified":"2021-04-29T10:26:52","modified_gmt":"2021-04-29T14:26:52","slug":"assignment-22-masks-off","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/5225\/assignment-22-masks-off\/","title":{"rendered":"Assignment 22: Masks Off"},"content":{"rendered":"\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_67661.mp4\"><\/video><\/figure>\n\n\n\n<p>Anishwar ~ I began working on the code programming the Bluefruit to play sounds. Using the built in light sensor on the Bluefruit, I programmed it to produce a two note phrase depending on how dark the area around it is. When the light is on, the Blue fruit is silent. When the area is at a medium level of darkness, the Bluefruit plays two notes: E and B. When the area is really dark, the Bluefruit alternates between D and A#. Because a medium level of darkness is generally not uncomfortable, the Bluefruit plays a melodic Perfect Fifth interval to indicate that while the area is somewhat dark it is not oppressively dark. However, when it does get that dark, the Blue Fruit plays a dissonant Augmented Fifth interval to convey the tension associated with being in a very dark space. <\/p>\n\n\n\n<p>Elise ~ I wanted to try to inflate using the new pump, but totally need instruction for wiring that up.  I sewed lace panels together to begin to make a piece to put over the inflatable. The tulle was too abrasive to my face, so I&#8217;d like to use the lace we have. I may look at A31 to see what other options there are, but I think the lace can work.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"768\" height=\"1024\" src=\"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-768x1024.jpg\" alt=\"\" class=\"wp-image-5251\" srcset=\"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-508x677.jpg 508w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5114-scaled.jpg 1920w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"768\" height=\"1024\" src=\"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-768x1024.jpg\" alt=\"\" class=\"wp-image-5265\" srcset=\"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-768x1024.jpg 768w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-225x300.jpg 225w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-1152x1536.jpg 1152w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-1536x2048.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-973x1297.jpg 973w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-508x677.jpg 508w, https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-content\/uploads\/2021\/04\/IMG_5115-scaled.jpg 1920w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><figcaption>Lace curls for hair<\/figcaption><\/figure>\n\n\n\n<p>I also focused on making the inflatable for my headpiece as the last one was a test to see how well is works under fabric. Also, the port for the air to go in needed to be moved to be able to be concealed (we don&#8217;t want the pump hanging in front of our faces. Adding elastic to further keep the inflatable in place is a must. I couldn&#8217;t get any to fully inflate and my arm couldn&#8217;t continue to  pump the heart pump since it&#8217;s broken for me. <\/p>\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport time\nfrom adafruit_circuitplayground import cp\n    # Import the low-level hardware libraries.\nimport board\nimport pwmio\nimport digitalio\nimport analogio\nimport pulseio\nimport supervisor\nimport sys\n    # Import the Adafruit helper library.\nfrom adafruit_motor import servo\n\nwhile True:\n    print(cp.light)\n    time.sleep(.3)\n    tone_volume = 3\n    if cp.light &lt; 81 and cp.light &amp;gt;= 36:\n        cp.play_tone(329,.5)\n        cp.play_tone(493,.5)\n    elif cp.light &lt; 36:\n        cp.play_tone(293,.5)\n        cp.play_tone(466,.5)\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>Anishwar ~ I began working on the code programming the Bluefruit to play sounds. Using the built in light sensor on the Bluefruit, I programmed it to produce&#8230;<\/p>\n","protected":false},"author":82,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/posts\/5225"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/comments?post=5225"}],"version-history":[{"count":5,"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/posts\/5225\/revisions"}],"predecessor-version":[{"id":5268,"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/posts\/5225\/revisions\/5268"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/media?parent=5225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/categories?post=5225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-376\/s2021\/wp-json\/wp\/v2\/tags?post=5225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}