Posts by Hyunjee Koo:

Final Project

Final Project – Piano Player

Processing was used to see the motions as the piano is played. Since it is the holiday season, I chose a Christmas carol, Jingle Bell, for the song. Using Jingle Bell’s music note, press the right note on the piano and a motion is played telling a story. The motion does not play if you press the wrong note.

Github Link

Vimeo Link

 

Midterm Project

I made a piano player using processing and iPhone, something that is friendly and easy to play. I chose iPhone so that people can play by tapping on the screen rather than clicking a mouse and a keyboard.

Github Link

OpenFramworks

When I used openFrameworks, it was different from Processing because openFrameWorks is similar to c++ and is divided into draw, update and setup, whereas Processing is closer to Java and uses draw and setup. Because the language used in openFrameworks was different, there were many errors at first. I had to find everything which took me a long time but overall it was a good experience.

openprocessing Link

Github Link

Vimeo Link

Week9 / Realtime Data Visualization

I made Realtime Data visualization using an arduino, processing and sensor input. I try to tested flex sensor,force sensitive resistor, photocell and tilt sensor. Finally, I used force sensitive resistor and other sensors are sensitive so did not work very well.
- Instruction -
Circle automatically be drawn center of stage.when you pressed force sensitive resistor, circle shape draw little bigger and when mouse is clicked, it will reset to new start.

Week8 / Rube Goldberg Machine

vimeo link

github mov link

github code link

I made a small Rube Goldberg machine using pressure sensor and servo motor. I needed something that had movement so I bought two kinds of DC Motor and also a Motor shield kit. But it was still not easy to do and I changed to servo motor. For pressure sensor, I just wanted to try it and chose two kinds of sensor to play with.
1. Press pressure sensor
2. When the servo motor pushes the blue car forward, the blue toy starts to shake its arms and feet
3. Small blue car knocks down the wood piece

Week7 – animal

I made an animal using Arduino and Arduino Uno for the first time. When I got the assignment, I had no idea what to make. But after seeing other classmates’ posts, I figured it out and made a crocodile. Actually, I saw crocodile character on the webpage so I used this character on my project.  I used 12 LED (3 red and 9 green) and I tried to connect ground, 9, 11 and 12. For next time, I would like to make one using a speaker.

Github(mov)

Github(Arduino Code)

Vimeo(mov)

 

int ledPinA = 12;
int ledPinB = 13;
int ledPinC = 9;
int brightness = 0;
int fadeAmount = 5;
void setup()
{
pinMode(ledPinA, OUTPUT);
pinMode(ledPinB, OUTPUT);
pinMode(ledPinC, OUTPUT);
}
void loop()
{
  analogWrite(ledPinC, brightness);
  brightness = brightness + fadeAmount;
  if (brightness == 0 || brightness == 255) {
    fadeAmount = -fadeAmount ;
  }
  digitalWrite(ledPinC, HIGH);
  delay(2000);
  digitalWrite(ledPinA, HIGH);
  digitalWrite(ledPinB, HIGH);
  digitalWrite(ledPinC, HIGH);
  delay(100);
  digitalWrite(ledPinC, HIGH);
  delay(300);
  digitalWrite(ledPinA, LOW);
  digitalWrite(ledPinB, LOW);
  digitalWrite(ledPinC, LOW);
  delay(100);
  digitalWrite(ledPinC, HIGH);
  delay(2000);
  digitalWrite(ledPinA, HIGH);
  digitalWrite(ledPinB, HIGH);
  digitalWrite(ledPinC, HIGH);
  delay(100);
  digitalWrite(ledPinC, HIGH);
  delay(2000);
  digitalWrite(ledPinA, LOW);
  digitalWrite(ledPinB, LOW);
  digitalWrite(ledPinC, LOW);
  delay(100);
  digitalWrite(ledPinC, HIGH);
  delay(100);
}

Assignment 3 + 4 – Music Player

for last week, my assignment3(music player) was did’t work correctly and Liza told me to finish it for assignment4 (using one library and class).
I’m using a minim and 2 classes to make music player!!  Here is the link to the code on github.

 

Instruction
- Choose Song and Artist (same as iPhone player)
1. Christina Aguilera – What A Girl Want
2. Bruno Mars – It Will Rain
3. Carly Rae Jepsen – Call Me Maybe
- Play / Stop : Control music to play and stop
- Playlists : Go back to main page

Assignment 3 – Music Player

Upload failed 4 times

Instruction
- Choose Song and Artist (same as iPhone player)
1. Christina Aguilera – What A Girl Want
2. Bruno Mars – It Will Rain
3. Carly Rae Jepsen – Call Me Maybe
- Play / Stop : Control music to play and stop
- Playlists : Go back to main page

I made a music player. First, I made three sections which are: Main (setup page), Artist (picked artist) and Music (picked music). Then I used two classes and an array.  In the Main page, there are three songs listed. When you select a song, it takes you to a page with the Artist and Music. On that page, you can control the buttons to play and pause the song. Playlists button that can take you back to the Main page is located on top of the page.  For this project, it took me a long time to come up with an idea of what I can create using two classes and one array. Once I practice processing and work more with it, I will be able to create more advanced player with multiple playlists and songs (at least more than three songs.)