-A +A

 

Do We Have Servos?

  • If yes, then let's work with them today. Assignment #6/7 will be due on Feb 17th. Also what do you think about changing assignment #6/7 to 10% of your grade (down from 15%) and assignment #3/4 to 15% (up from 10%)?
  • If not, then let's work with them this Saturday, add another week to assignment #6/7 (due Feb 24rd), and include an installation as a part of the piece.

Artist Presentations

  • If you are doing a presentation instead of a paper, email me the artist you want to present on by next Tuesday (Feb 10th)
  • If there is a conflict (more than one person wants to do a particular artist), the first person who gets me the name of their artist in an email wins. The other person will have to chose someone else.
  • This does not apply if you are doing a written paper

Delusions of Dialog

Jim Campbell's Essay

Rhythms vs. Chaos

Rhythm

rhythm [rith-uhm]

–noun

  1. movement or procedure with uniform or patterned recurrence of a beat, accent, or the like.
  2. Music.
    1. the pattern of regular or irregular pulses caused in music by the occurrence of strong and weak melodic and harmonic beats.
    2. a particular form of this: duple rhythm; triple rhythm.
  3. measured movement, as in dancing.
  4. Art, Literature. a patterned repetition of a motif, formal element, etc., at regular or irregular intervals in the same or a modified form.
  5. the effect produced in a play, film, novel, etc., by the combination or arrangement of formal elements, as length of scenes, speech and description, timing, or recurrent themes, to create movement, tension, and emotional value in the development of the plot.
  6. Prosody.
    1. metrical or rhythmical form; meter.
    2. a particular kind of metrical form.
    3. metrical movement.
  7. the pattern of recurrent strong and weak accents, vocalization and silence, and the distribution and combination of these elements in speech.
  8. Physiology. the regular recurrence of an action or function, as of the beat of the heart, or the menstrual cycle.
  9. procedure marked by the regular recurrence of particular elements, phases, etc.: the rhythm of the seasons.
  10. regular recurrence of elements in a system of motion.

"rhythm." Dictionary.com Unabridged (v 1.1). Random House, Inc. 05 Feb. 2009. link.

Chaos

cha-os [key-os]

-noun

  1. a state of utter confusion or disorder; a total lack of organization or order.
  2. any confused, disorderly mass: a chaos of meaningless phrases.
  3. the infinity of space or formless matter supposed to have preceded the existence of the ordered universe.
  4. (initial capital letter) the personification of this in any of several ancient Greek myths.
  5. Obsolete. a chasm or abyss.

"chaos." Dictionary.com Unabridged (v 1.1). Random House, Inc. 05 Feb. 2009. link.

Servos

Servo Rhythms

BIG TEXT | SMALL TEXT

Download servo_rhythm01.txt file

#include <Servo.h> // Include Servo library
// Create Servo object
Servo myservo ;

// Variables
// pins
int servopin = 10;
// timers
long timer = 0;
int offset = 15;
// servo angle
int angle = 0;
int servodir = 1;

// Setup
void setup(){
  Serial.begin(9600);
  pinMode(servopin,OUTPUT);
  myservo.attach(servopin);
  myservo.write(angle);
}

// Das Loop
void loop() {
  // Check the timer
  if(timer + offset < millis()) {
    // if the timer has passed, do the swing
    doSwing();
    // reset the timer
    timer = millis();
  }
}

void doSwing() {
  //Serial.println(angle);
  if(angle == 180) { servodir = -1; }
  if(angle == 0) { servodir = 1;  }
  myservo.write(angle);
  angle = angle + servodir;
}

Servo Chaos

BIG TEXT | SMALL TEXT

Download servo_chaos01.txt file

#include <Servo.h> // Include Servo library
// Create Servo object
Servo myservo ;

// Variables
// pins
int servopin = 10;
// timers
long timer = 0;
int offset = 15;
// servo angle
int angle = 0;
int targetangle = 180;

// Setup
void setup(){
  Serial.begin(9600);
  pinMode(servopin,OUTPUT);
  myservo.attach(servopin);
  myservo.write(angle);
}

// Das Loop
void loop() {
    // Check the timer
    if(timer + offset < millis()) {
      // if the timer has passed, do the swing
      doSwing();
      // reset the timer
      timer = millis();
    }
}

void doSwing() {
  //Serial.println(angle);
  if(angle == targetangle) { 
    targetangle = random(181); 
    Serial.println(targetangle);
  }
  if (angle < targetangle)  { angle = angle + 1; }
  if (angle > targetangle)  { angle = angle - 1; }
  myservo.write(angle);
}

BIG TEXT | SMALL TEXT

Download servo_chaos02.txt file

#include  // Include Servo library
// Create Servo object
Servo myservo ;

// Variables
// pins
int servopin = 10;
// timers
long timer = 0;
int offset = 10;
// servo angle
int angle = 0;
int targetangle = 180;

// Setup
void setup(){
  Serial.begin(9600);
  pinMode(servopin,OUTPUT);
  myservo.attach(servopin);
  myservo.write(angle);
}

// Das Loop
void loop() {
    // Check the timer
    if(timer + offset < millis()) {
      // if the timer has passed, do the swing
      doSwing();
      // reset the timer
      timer = millis();
  }
}

void doSwing() {
  if (angle == targetangle) { 
    targetangle = random(181); 
    offset = random(1, 50);
    Serial.println(angle);     
    Serial.println(targetangle);  
  }
  if (angle < targetangle)  { angle = angle + 1; }
  if (angle > targetangle)  { angle = angle - 1; }
  myservo.write(angle);
}