<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Class Notes &#8211; Making Things Interactive, Fall 2020</title>
	<atom:link href="https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;cat=3" rel="self" type="application/rss+xml" />
	<link>https://courses.ideate.cmu.edu/48-339/f2020</link>
	<description>Making Things Interactive</description>
	<lastBuildDate>Wed, 02 Dec 2020 00:44:18 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.14</generator>
	<item>
		<title>p5/arduino example</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1918</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1918#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Wed, 02 Dec 2020 00:44:18 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1918</guid>

					<description><![CDATA[Here&#8217;s the p5/arduino example p5-example.tar]]></description>
										<content:encoded><![CDATA[<p>Here&#8217;s the p5/arduino example</p>
<p><a href="https://courses.ideate.cmu.edu/48-339/f2020/wp-content/uploads/2020/12/p5-example.tar.gz">p5-example.tar</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1918</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Class notes, 17 Nov 2020</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1872</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1872#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Wed, 18 Nov 2020 20:04:40 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1872</guid>

					<description><![CDATA[Interactive jacket project from Baskinger&#8217;s Experimental Form class. Look at the 2019 Final Crit for some good examples on elevator pitches and proposals. Next Tuesday, 24 Nov, is the last day you can use A10.  We&#8217;ll make that a work day.  Thursday, 26 Nov, no class due to turkey day. For Thursday, have a proposal &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1872" class="more-link">Continue reading<span class="screen-reader-text"> "Class notes, 17 Nov 2020"</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.core77.com/posts/26944/One-Way-to-Listen-to-Music-and-Stay-Dry-on-a-Rainy-Walk-Without-Waterlogging-Your-iPhone">Interactive jacke</a>t project from Baskinger&#8217;s Experimental Form class.</p>
<p>Look at the <a href="https://courses.ideate.cmu.edu/48-339/f2019/?cat=21">2019 Final Crit</a> for some good examples on elevator pitches and proposals.</p>
<p>Next Tuesday, 24 Nov, is the last day you can use A10.  We&#8217;ll make that a work day.  Thursday, 26 Nov, no class due to turkey day.</p>
<p>For Thursday, have a proposal posted to the blog&#8217;s Final Crit category.</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1872</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Class notes, 12 Nov 2020</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1870</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1870#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Fri, 13 Nov 2020 04:04:36 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1870</guid>

					<description><![CDATA[p5.js / arduino Configure/test p5.js not required for final crit but lets make sure you can use it if you decide to.  The NYU ITP instructions are a good guide.  Do not use the online p5.js web editor, use local files and a local browser and text editor. Final Crit Start thinking about the final &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1870" class="more-link">Continue reading<span class="screen-reader-text"> "Class notes, 12 Nov 2020"</span></a>]]></description>
										<content:encoded><![CDATA[<h2>p5.js / arduino</h2>
<p>Configure/test p5.js not required for final crit but lets make sure you can use it if you decide to.  The <a href="https://itp.nyu.edu/physcomp/labs/labs-serial-communication/lab-serial-input-to-the-p5-js-ide/">NYU ITP instructions</a> are a good guide.  Do not use the online p5.js web editor, use local files and a local browser and text editor.</p>
<h2>Final Crit</h2>
<p>Start thinking about the final crit. We only have one more day to access A10, 24 Nov, and you should have your wish lists ready</p>
<p>For the final crit  combine visual, sound, and kinetics with a state machine and sensors to make something more accessible, usable, or uses universal design.</p>
<p>Here&#8217;s a rough schedule.  On some of the work days I will do a brief lecture based on questions or inspirational projects done in other physical computing projects.  The remainder of this time is making up for my not having open-office hours in A10.</p>
<ul>
<li>17 Nov &#8212; workshop proposals</li>
<li>19 Nov &#8212; work day</li>
<li>24 Nov &#8212; last day in A10</li>
<li>26 Nov &#8212; vacation</li>
<li>1 Dec &#8212; work day</li>
<li>3 Dec &#8212; crit test flight</li>
<li>8 Dec &#8212; work day</li>
<li>10 Dec &#8212; final crit</li>
</ul>
<h2>Assignment for Tuesday</h2>
<p>Crit warmup: come up with a problem to solve.  No need to write code (unless you want to), just a statement of the problem and your solution.</p>
<p>We will discuss these on Tuesday and brainstorm improvements.</p>
<h3>Viewing assignment</h3>
<p>These are based on the idea of how you can hide/obfuscate the man behind the curtain.</p>
<p>Former FBI Agent Explains How to Read Body Language<br />
<iframe title="Former FBI Agent Explains How to Read Body Language | Tradecraft | WIRED" width="840" height="473" src="https://www.youtube.com/embed/4jwUXV4QaTw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>Former CIA Operative In Charge of Disguise Explains How Spies Use Disguises  (except for the model with a sleeve)<br />
<iframe title="Former CIA Operative Explains How Spies Use Disguises | WIRED" width="840" height="473" src="https://www.youtube.com/embed/JASUsVY5YJ8?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>&#8230;and debunks spies and disguises in entertainment:<br />
<iframe title="Former CIA Chief of Disguise Breaks Down 30 Spy Scenes From Film &amp; TV | WIRED" width="840" height="473" src="https://www.youtube.com/embed/mUqeBMP8nEg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1870</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>quick reading assignment for 12 Nov</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1861</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1861#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Wed, 11 Nov 2020 03:43:03 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1861</guid>

					<description><![CDATA[Chapters 11 and 12]]></description>
										<content:encoded><![CDATA[<p>Chapters 11 and 12</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1861</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Using a transducer to make my desktop a speaker</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1782</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1782#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Fri, 30 Oct 2020 21:19:09 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1782</guid>

					<description><![CDATA[Pretty simple circuit that makes a lot of noise. PDF of the sketch arduino-transistor-speaker]]></description>
										<content:encoded><![CDATA[<p>Pretty simple circuit that makes a lot of noise.</p>
<p>PDF of the sketch <a href="https://courses.ideate.cmu.edu/48-339/f2020/wp-content/uploads/2020/10/arduino-transistor-speaker.pdf">arduino-transistor-speaker</a><iframe src="https://player.vimeo.com/video/473996496" width="640" height="360" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1782</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Class notes, 27 Sep 2020</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1752</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1752#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Wed, 28 Oct 2020 02:13:27 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1752</guid>

					<description><![CDATA[Genre conflation This is a counter to sampling and using electronics to invent new music. Instruments from one style of music are used to perform a style of music from a completely unrelated genre. My favorite examples are “pirate metal” or the band Orkestra Obsolete playing famous pop music. We&#8217;re skipping a lot of contemporary &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1752" class="more-link">Continue reading<span class="screen-reader-text"> "Class notes, 27 Sep 2020"</span></a>]]></description>
										<content:encoded><![CDATA[<h2>Genre conflation</h2>
<p>This is a counter to sampling and using electronics to invent new music. Instruments from one style of music are used to perform a style of music from a completely unrelated genre. My favorite examples are “<a href="https://www.youtube.com/watch?v=bnGYaRJ3EFk">pirate</a> <a href="https://www.youtube.com/watch?v=f55CqLc6IR0">metal</a>” or the band Orkestra Obsolete <a href="https://www.youtube.com/watch?v=cHLbaOLWjpc&amp;list=PL1GMbFzCcs_B1beW0voK3VO90ODkyBa7e">playing famous pop music</a>.</p>
<p>We&#8217;re skipping a lot of contemporary genres &#8212; things like EDM, IDM, dub, liquid trap, and future soul. There’s an entire class in this topic, but if you want to go on a genre-binge-fest then Ishkur’s Guide is one place to start: http://music.ishkur.com/</p>
<h2>Physical interaction options</h2>
<p>How to hide things in plain sight: https://www.youtube.com/watch?v=T61-twuvJA4</p>
<p>Bill Shannon, PGH native, who defies disability with dance performance:</p>
<p><iframe title="Rjd2 - &#039;Work It Out&#039;" width="840" height="473" src="https://www.youtube.com/embed/rxjrBd4WE2U?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p>and his tutorial on a dance form he developed:</p>
<p><iframe title="Bill Shannon : The Shannon Technique" width="840" height="630" src="https://www.youtube.com/embed/AIcNjyN0N6s?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<h2>Ways of making sound</h2>
<p>Some examples of different ways people create sound</p>
<div class="entry-content">
<p>Foley artists <a href="https://www.youtube.com/watch?v=UO3N_PRIgX0">creating the sounds of weather</a>.</p>
<p>The Arduino guide to <a href="https://www.arduino.cc/en/Tutorial/Debounce">handling debounce on switches</a>.</p>
<p>A mapping of <a href="http://from https://pages.mtu.edu/~suits/notefreqs.html">western scale notes to frequencies</a>.</p>
<p>The <a href="http://www.sandnoisedevice.com/#contact">Sound Noise Device</a> that uses cameras to create animation and sound.</p>
<p>It’s easy to create sounds without speakers:</p>
<ul>
<li><a href="https://www.youtube.com/watch?v=wd9a6oTrjLA">music</a> made with  <a href="https://www.youtube.com/watch?v=Oym7B7YidKs">steppers</a></li>
<li>A “<a href="https://www.youtube.com/watch?v=39YUvCqxPSs">top ten</a>” list of arduino music projects</li>
<li>historical <a href="https://www.youtube.com/watch?v=Jv6hE3sMB2Q">tube</a> doorbells and someone what <a href="https://www.youtube.com/watch?v=CveHmdALp8U">lost their mind</a></li>
</ul>
</div>
<h2>Using things you already have at home</h2>
<p>There&#8217;s a Japanese TV show for kids, &#8220;<a href="https://en.wikipedia.org/wiki/PythagoraSwitch">Pythagora Switch</a>&#8220;, that features <a href="https://www.youtube.com/watch?v=krsOBAgOmyM">Rube-Goldberg like devices</a> made with stuff you&#8217;d find around the house. These are so popular with adults that people go a little over the top <a href="https://www.youtube.com/watch?v=KcI2b-hi8Mc">making/recording their own devices</a> still using common items.</p>
<h2>Arduino data collection/processing tips</h2>
<p>how to debounce a switch: https://www.arduino.cc/en/Tutorial/Debounce</p>
<p>standard deviations, arrays, and monitoring a variable source. flattening data with mean / median.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp">// -*-c++-*-
/*
  The MIT License (MIT)

  Copyright (c) 2019 Jet Townsend

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
*/

/* basic stats with analogRead()

   intputs
   A0 pot

   output
   D2 Speaker
   D13 LED

   40 NEOPIXEL

*/

#include &lt;Adafruit_NeoPixel.h&gt;

#ifdef __AVR__
#include &lt;avr/power.h&gt;
#endif
#define PIN            44
#define NUMPIXELS      1
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_GRBW + NEO_KHZ800);

static int plotter = 1;
static int console = !plotter;

static const int inPot = A0;
unsigned int potValue;

static const int sampleSize = 16;
int readings[sampleSize];
unsigned int sampleIndex = 0;
unsigned long lastSampleTime = 0;
unsigned long sampleInterval = 100; // in ms
// we need to move these out of the loop() as well
unsigned int median = 0;
unsigned int low = 1024;
unsigned int high = 0;
unsigned int mean = 0;

static const int statusLed = 13;
unsigned int lastRedVal = 0;
unsigned int analogMax = 1023;

void setup() {
  //analogWriteResolution(10); // Set analog out resolution to max, 10-bits
  analogReadResolution(12); // and read at 12 bits
  analogMax = 1023 * 4;

  Serial.begin(115200);

  pinMode(inPot, INPUT);

  pinMode(statusLed, OUTPUT);

  pixels.begin(); // This initializes the NeoPixel library.

}

void loop() {
  // TODO what happens if you try to set a negative color?
  unsigned int redVal = 0;

  // TODO
  // don't read the input on every loop to help stabilize the data
  // sampling over time is also a UI change, you have to actively
  // block light for
  // sampleSize * sampleInterval milliseconds to create a change

  unsigned long now = millis();
  if (lastSampleTime + sampleInterval &lt; now) {
    lastSampleTime = now;
     potValue = analogRead(inPot);

    // good for debugging:
    //        Serial.print(now);
    //        Serial.print(" ");
    //        Serial.println(potValue);

    readings[sampleIndex] = potValue;
    sampleIndex &lt; (sampleSize - 1) ? sampleIndex++ : sampleIndex = 0;

    digitalWrite(inPot, HIGH);
    for (int i = 0; i &lt; sampleSize; i++) {
      mean += readings[i];
      if (readings[i] &lt; low) {
        low = readings[i];
      }
      if (readings[i] &gt; high) {
        high = readings[i];
      }
    }
    mean = mean / sampleSize;
    bubbleSort();
    median = readings[sampleSize / 2];
  }

  // set the pixels with different values, mean, median, current read

  // long map(long x, long in_min, long in_max, long out_min, long out_max)
  // in A10, the value of 600 was the bottom end
  // TODO use a flashlight to break this, more light == lower number
  // than 600
  redVal = map(median, 5, analogMax, 0, 255);

  //  at home, 950 was the bottom end. Remember that higher value == less light
  // how do we dynamically set the bottom end of the map?
  //    redVal = map(median, 950, analogMax, 0, 255);

  // what about changing the max value of redVal so we have a dimmer range?
  //    redVal = map(median, 600, analogMax, 0, 128);

  // TODO keep the pixel from blinking
  /*
    // simple, but allows for some blinking
      if (redVal != lastRedVal) {
          pixels.setPixelColor(0, pixels.Color(redVal,0,0));
          pixels.show(); // This sends the updated pixel color to the hardware.
          lastRedVal = redVal;
      }
  */


  // use a tolerance to limit to a range
  // by making this not a const we can change it in the code
  // as needed

  int tolerance = 5;

  // This looks like it should work, right?
  // what happens if lastRedVal is 0?
  if (
    (redVal &gt;  (lastRedVal + tolerance))
    || (redVal &lt;  (lastRedVal - tolerance))
  ) {

    pixels.setPixelColor(0, pixels.Color(redVal, 0, 0));
    pixels.show(); // This sends the updated pixel color to the hardware.
    lastRedVal = redVal;
  }

  // console
  if (console) {
    Serial.print("reading ");
    Serial.print(potValue);
    Serial.print(" low ");
    Serial.print(low);
    Serial.print(" high ");
    Serial.print(high);
    Serial.print(" mean ");
    Serial.println(mean);
    Serial.print(" median ");
    Serial.print(median);
    Serial.print(",");
    Serial.print(" redVal ");
    Serial.println(redVal);
    delay(100);
    digitalWrite(inPot, LOW);
    delay(100);
  }
  else if (plotter) {
    // plotter
    Serial.print(low);
    Serial.print(",");
    Serial.print(high);
    Serial.print(",");
    Serial.print(mean);
    Serial.print(",");
    Serial.print(median);
    Serial.print(",");
    Serial.println(redVal);
  }

}

// tigoe's sort for an array
void bubbleSort() {
  int out, in, swapper;
  for (out = 0 ; out &lt; sampleSize; out++) { // outer loop
    for (in = out; in &lt; (sampleSize - 1); in++)  { // inner loop
      if ( readings[in] &gt; readings[in + 1] ) { // out of order?
        // swap them:
        swapper = readings[in];
        readings [in] = readings[in + 1];
        readings[in + 1] = swapper;
      }
    }
  }
}</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1752</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Class notes, 22 Oct 2020</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1690</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1690#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Fri, 23 Oct 2020 02:28:14 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1690</guid>

					<description><![CDATA[Great posts about how you react to sound.  This is what we&#8217;re looking to do with sound &#8212; bypass thinking about what you&#8217;re hearing and have an immediate reaction. Sound crit moved to 10 Nov.   3 Nov will be a workday in A10, 5 Nov will be another workday-not-in-A10.  I&#8217;ll be on zoom for both &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1690" class="more-link">Continue reading<span class="screen-reader-text"> "Class notes, 22 Oct 2020"</span></a>]]></description>
										<content:encoded><![CDATA[<p>Great posts about how you react to sound.  This is what we&#8217;re looking to do with sound &#8212; bypass thinking about what you&#8217;re hearing and have an immediate reaction.</p>
<p>Sound crit moved to 10 Nov.   3 Nov will be a workday in A10, 5 Nov will be another workday-not-in-A10.  I&#8217;ll be on zoom for both classes.</p>
<h2>Notes</h2>
<p>We&#8217;re looking at sounds-out-of-context.  Experimental music, the use of new technology to invent new music, etc.</p>
<h3>Experimental / avant-garde sound</h3>
<p>Mark Applebaum’s experimental instruments and scoring. https://www.youtube.com/watch?v=46w99bZ3W_M</p>
<p>Nikoli Voinov who composed music by drawing on paper, creating animation that made sound. https://www.youtube.com/watch?v=Z7Zb4rso82M</p>
<p>Musique concrete using early technology to record and modify sound, including the original soundtrack to “Doctor Who”.  Some examples of recording found sound and reusing it for music.  https://www.youtube.com/watch?v=c4ea0sBrw6M</p>
<p>Some music you should listen to as background music while you’re doing other tasks. Avant-garde and futurism is a rather wide grouping, like saying “rock” or “country”:</p>
<p>Experimental composition with traditional instruments  https://www.youtube.com/watch?v=TTUXhLeLojA including John Cage: https://www.youtube.com/watch?v=pq0a317mk30</p>
<p>Luigi Russolo&#8217;s &#8220;industrial music&#8221; using sirens  https://www.youtube.com/watch?v=BYPXAo1cOA4</p>
<h3>The Development of Hip-Hop</h3>
<p>Using street technology to change and create new genres of music. Entertainment and environmental sounds can come from other contexts with the use of equipment to record, store, modify, and replay.<br />
Turntables used to create hip hop https://www.youtube.com/watch?v=oA-OpvH4CIQ and the 1.5 hour documentary (good for a long flight)   https://www.youtube.com/watch?v=YEKRAn-ZleM</p>
<h3>Appropriating Sounds from Other Domains</h3>
<p>There are a couple of famous sounds in hip-hop that became parts of pop and rave music.</p>
<p>Watch these:</p>
<ul>
<li>The Orchestra Hit  https://www.youtube.com/watch?v=8A1Aj1_EF9Y</li>
<li>The Amen Break  https://www.youtube.com/watch?v=5SaFTm2bcac</li>
</ul>
<p>Save this for free time:</p>
<p>Rob Base teaching DJ at the university level https://www.youtube.com/watch?v=spto6rbvvV0</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1690</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Starting interaction with sound, 20 Oct</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1667</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1667#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Wed, 21 Oct 2020 02:03:27 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1667</guid>

					<description><![CDATA[Why is sound important? Why is sound important? How do you close your earlids when you go to sleep? How do we learn to make sounds as children?  https://www.youtube.com/watch?v=8fHi36dvTdE&#38;feature=youtu.be&#38;t=920 Close your eyes after following links in this section. don’t worry about the visual details and information, this is learning to understand sound and signals Classes &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1667" class="more-link">Continue reading<span class="screen-reader-text"> "Starting interaction with sound, 20 Oct"</span></a>]]></description>
										<content:encoded><![CDATA[<h2>Why is sound important?</h2>
<p>Why is sound important? How do you close your earlids when you go to sleep?</p>
<p>How do we learn to make sounds as children?  https://www.youtube.com/watch?v=8fHi36dvTdE&amp;feature=youtu.be&amp;t=920</p>
<p>Close your eyes after following links in this section. don’t worry about the visual details and information, this is learning to understand sound and signals</p>
<h2>Classes of sounds</h2>
<h3>Signals and alerts</h3>
<p>Signals and alerts are short sounds that transfer a small amount of information</p>
<ul>
<li>automobile warning buzzers and interior sounds that communicate the state of the vehicle: https://www.soundsnap.com/tags/car_interiors</li>
<li>walk/don’t walk beep boop and how crazy we were about it at CMU:  https://www.youtube.com/watch?v=dcE6gn-JLbw</li>
<li>fire department / police codes on dispatch channels:  http://www.policeinterceptor.com/emerg.htm</li>
<li>collection that includes a game tone https://www.zedge.net/find/ringtones/dispatch</li>
<li>doorbell: https://www.youtube.com/watch?v=sbCyxgLgmEE https://www.youtube.com/watch?v=fUVj0BnC8Gw</li>
<li>ringing phone: https://www.youtube.com/watch?v=3GnoCz5mw3M</li>
</ul>
<p>Information over time &#8211; songs and patterns, more complex information, many of them skeuomorphic</p>
<ul>
<li>air raid siren, dual pitch: https://www.youtube.com/watch?v=cURcd2_w-rg</li>
<li>tornado sirens: https://www.youtube.com/watch?v=Djqi86jMl5g
<ul>
<li>my borough uses this as the 15 minute warning on curfew for minors(!)</li>
</ul>
</li>
</ul>
<h2>Music and entertainment</h2>
<p>Ringing phones are so unique that we map and learn our own ringtones using songs. Golan Levin’s mobile phone concert was only possible because phones had ring tones that couldn’t be changed.  http://www.flong.com/projects/telesymphony/</p>
<p>Star Trek had one of the earliest catalogs of special effects sounds used to alert viewers of plot elements and activity.  https://www.mediacollege.com/downloads/sound-effects/star-trek/tos/</p>
<p>Professional companies that sell sound libraries. https://www.soundsnap.com/</p>
<p>Chili&#8217;s used the <strong>sound</strong> of sizzling fajitas to sell them, not their flavor:  https://99percentinvisible.org/episode/the-sizzle/</p>
<p>We like things that reflect heartbeat rhythm, this goes back to dance for thousands of years, continue to do this in today’s music with multiple tempo compositions.  Orbital and Underworld are two electronic bands using dual internal tempos, one near the rate of resting heart beat the other near the rate of active (dancing) heart beat.  https://www.youtube.com/watch?v=IcQXy4YdFcM</p>
<h2>Psychological effects of sound</h2>
<p>Is it genetics that cause us to respond to the sound of a crying human baby? Can you think of an “angry” noise? A “happy” noise? a “relaxing” noise?</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1667</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Arduino source formatting tool</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1619</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1619#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Fri, 16 Oct 2020 01:34:47 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1619</guid>

					<description><![CDATA[I&#8217;ve added a tool that shows up in the Post editor as the icon &#8220;{&#8230;}&#8221;.   To post the code below, I clicked on that icon, pasted in my code, turned off indentation, then selected C++, and hit &#8220;OK&#8221;. &#160; // -*-c++-*- /* The MIT License (MIT) Copyright (c) 2017 J. Eric Townsend Permission is hereby &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1619" class="more-link">Continue reading<span class="screen-reader-text"> "Arduino source formatting tool"</span></a>]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve added a tool that shows up in the Post editor as the icon &#8220;{&#8230;}&#8221;.   To post the code below, I clicked on that icon, pasted in my code, turned off indentation, then selected C++, and hit &#8220;OK&#8221;.</p>
<p>&nbsp;</p>
<pre class="EnlighterJSRAW" data-enlighter-language="cpp">// -*-c++-*-
/*
  The MIT License (MIT)

  Copyright (c) 2017 J. Eric Townsend

  Permission is hereby granted, free of charge, to any person obtaining a copy
  of this software and associated documentation files (the "Software"), to deal
  in the Software without restriction, including without limitation the rights
  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  copies of the Software, and to permit persons to whom the Software is
  furnished to do so, subject to the following conditions:

  The above copyright notice and this permission notice shall be included in
  all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  THE SOFTWARE.
*/

/*
  using interrupts to stop/alter a process that's eating up the loop()
cycle with delays

 */

static const int potOnPin = A1;
static const int potOffPin = A1;


static const int togglePin = 2;

static const int LED1Pin = 5;
static const int LED2Pin = 6;
static const int LED3Pin = 9;

int LEDOnDuration = 1000;  // milliseconds
int LEDOffDuration = 1000;  // milliseconds
long LEDOnTime = 0;
long LEDOffTime = 0;;
bool LEDState = false;
bool LEDStatePrev = false;
int toggleState = 0;

bool flagState = false;
const bool isInterrupt = true;

// TODO: how do we stop the for() loops so we can do another analogRead()?
void SwitchPressed()
{
    // we can set the delay to 0 and fall out of the loops
  //LEDOnDuration = 0;
  //LEDOffDuration = 0;
    // or we can modify a flag variable and use that to exit the loop
       flagState = true;
}

void setup() {
  Serial.begin(115200);

  pinMode(potOnPin, INPUT);
  pinMode(potOffPin, INPUT);
  pinMode(togglePin, INPUT);

  pinMode(LED1Pin, OUTPUT);
  pinMode(LED2Pin, OUTPUT);
  pinMode(LED3Pin, OUTPUT);

  if (isInterrupt) {
    attachInterrupt (digitalPinToInterrupt(togglePin), SwitchPressed, CHANGE);
  }
}

void loop() {

  if (!isInterrupt) {
    flagState = digitalRead(togglePin);
  }

  if (flagState) {
    Serial.println("flagState true");
  }

  // take input from the pots to determine on/off times
  int pot = analogRead(potOnPin);
  if (pot != LEDOnDuration) {
   //Serial.print("on: ");
    //Serial.println(pot);
    LEDOnDuration = map(pot, 0, 1024, 0, 255);
  }
  pot = analogRead(potOffPin);
  if (pot != LEDOffDuration) {
   // Serial.print("off: ");
   // Serial.println(pot);
    LEDOffDuration = map(pot, 0, 1024, 0, 255);
  }


  // now let's write some really bad code
  // turn the LEDs on
  for (int i = 0; i &lt; 255; i++) {
      if (flagState) {
        break;
  // is more reliable than setting i = 256;
          // if we set flagState back to false here we
          // won't make a change in the next loop where we
          // turn LEDs off
      }
      else {
          analogWrite(LED1Pin, i);
          analogWrite(LED2Pin, i);
          analogWrite(LED3Pin, i);
          delay(LEDOnDuration);
      }
  }
  // turn the LEDs off
  for (int i = 255; i &gt; 0; i--) {
      if (flagState) {
          break;
  // is more reliable than setting i = 256;
          // if we set flagState back to false here we
          // won't make a change in the next loop where we
          // turn LEDs on
      }
      else {
          analogWrite(LED1Pin, i);
          analogWrite(LED2Pin, i);
          analogWrite(LED3Pin, i);
          delay(LEDOffDuration);
      }
  }

  // this is the proper place to turn off the flagState.
  // We could do this with just a statement and never check
  // its status, but using a test makes debugging easier
  if (flagState == true) {
      flagState = false;
      // because we could add this
      Serial.println("flagState was on, now turned off");
  }

}

</pre>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1619</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Class Notes, 8 Oct 2020</title>
		<link>https://courses.ideate.cmu.edu/48-339/f2020/?p=1539</link>
					<comments>https://courses.ideate.cmu.edu/48-339/f2020/?p=1539#respond</comments>
		
		<dc:creator><![CDATA[Jet Townsend]]></dc:creator>
		<pubDate>Fri, 09 Oct 2020 01:23:49 +0000</pubDate>
				<category><![CDATA[Class Notes]]></category>
		<guid isPermaLink="false">https://courses.ideate.cmu.edu/48-339/f2020/?p=1539</guid>

					<description><![CDATA[Kinetic input devices In 1968, Doug Englebart demonstrated the first &#8220;workstation&#8221;.  It&#8217;s a long watch but I think at least the first half will give you a lot of ideas on how to pitch a novel technological concept.  Stanford has a broken down version in flash. Doug Engelbart&#8217;s 1968 Demo in full from Frode Hegland &#8230; <a href="https://courses.ideate.cmu.edu/48-339/f2020/?p=1539" class="more-link">Continue reading<span class="screen-reader-text"> "Class Notes, 8 Oct 2020"</span></a>]]></description>
										<content:encoded><![CDATA[<h2><strong>Kinetic input devices<br />
</strong></h2>
<p>In 1968, Doug Englebart demonstrated the first &#8220;workstation&#8221;.  It&#8217;s a long watch but I think at least the first half will give you a lot of ideas on how to pitch a novel technological concept.  Stanford has a <a href="https://web.stanford.edu/dept/SUL/library/extra4/sloan/mousesite/1968Demo.html">broken down version</a> in flash.</p>
<p><iframe src="https://player.vimeo.com/video/32381658?title=0&amp;byline=0&amp;portrait=0" width="640" height="480" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p><a href="https://vimeo.com/32381658">Doug Engelbart&#8217;s 1968 Demo in full</a> from <a href="https://vimeo.com/frode">Frode Hegland</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
<h2>Accessibility vs Inclusion</h2>
<p>What makes something accessible?  Is universal design also accessibility?</p>
<p>Inclusion ==&gt; inviting, making someone want to participate. How do you invite someone to provide input / direction?</p>
<p>Microsoft has a great program on</p>
<p><a href="https://www.microsoft.com/design/inclusive/">Microsoft Inclusion</a> and <a href="https://download.microsoft.com/download/b/0/d/b0d4bf87-09ce-4417-8f28-d60703d672ed/inclusive_toolkit_manual_final.pdf">PDF</a> book</p>
<p>Are 30mm arcade buttons are accessible? Interrupt or constant? Convex or concave? If you want to use Universal Design, how do you decide how big the button should be and where it’s located?</p>
<p>There&#8217;s a wide variety of <a href="https://arcadeshock.com/collections/pushbuttons">arcade push buttons</a>.  Are controls like buttons the wrong answer?  Is a better way to collect input?</p>
<p>What is wrong with the E-Stop button in A10?</p>
<ul>
<li>Unlit</li>
<li>Recessed button “hidden” in a guard</li>
<li>No signage on the wall like we have with fire extinguishers</li>
</ul>
<h2><strong>Kinetic Output and representation of data</strong></h2>
<p>tactile maps: https://www.youtube.com/watch?v=psObymNkzvk</p>
<p>research data on tactile map comparison: https://www.youtube.com/watch?v=Qbe9G9dWcSk</p>
<p>tactile graphics using “swell paper”: https://www.youtube.com/watch?v=QeulfaWn_Ps</p>
<p>what does a snowflake look like?  A butterfly?  A sailboat?</p>
<p>3d printing for the blind: https://www.youtube.com/watch?v=bEVTu1xdpVI</p>
<p>Not discussed in class &#8212; make your own 3d prints of maps.  https://www.instructables.com/Make-3d-Printed-Topo-Maps-of-Anywhere/</p>
<h2><strong>Interrupts and kinetic interaction</strong></h2>
<ul>
<li>Interrupts as inputs to state machines</li>
<li>Human interruption as part of a UI</li>
<li>Environmental interruption as part of communication.  How do we interrupt each other (politely!) during conference calls or video sessions?</li>
<li>Interrupts that limit motion — end-stop switches</li>
</ul>
<h2>ASL interpreters and physical communication</h2>
<p>In lecture I was talking about ASL translators for public speakers, but I think interpretations of music  and lyrics are even more dramatic</p>
<p><a href="https://www.youtube.com/watch?v=iWmxrdaA4Qk">ASL Poetry Sign-Off Finals</a></p>
<p>Cardi B, <a href="https://www.youtube.com/watch?v=Hs4BZoTMoJU">Bodak Yellow in ASL</a></p>
<p>Hamilton, &#8220;<a href="https://www.youtube.com/watch?v=ct6GNG8avNM">Wait for it</a>&#8220;, &#8220;<a href="https://www.youtube.com/watch?v=5Z7S1euoGoQ">Guns and Ships</a>&#8220;, and &#8220;<a href="https://www.youtube.com/watch?v=VL6Y5v2Ka64">Alexander Hamilton</a>&#8221; by a group with nice costumes.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://courses.ideate.cmu.edu/48-339/f2020/?feed=rss2&#038;p=1539</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
