Alright, so this is a joint commlab/physcomp post. I’m supposed to document one of my projects for commlab, so it all worked out.
Here’s the video.
I started toying around with the servo, but I really wanted to play with the piezo. I wanted to create a different sound based on the user’s input. I had a force sensor, so I jury rigged some code up to do interesting stuff. At first there was a problem when I tried to upgrade the arduino program and found that it was broken. Oh well. Back down to version 0011.
So, what i was trying to do is let a user make a 3-note song. But this sound stuff is harder than it seems. I kept having trouble getting the delay right for to seperate the notes, so really what you’re hearing in the video is 3 notes being played very fast, but it sounds like one sound. Still, it’s generally what I was aiming for. I need to figure out the delays more. But not now. Later.
So, read “The Work of Art in the Age of Mechanical Reproduction” by Walter Benjamin. He was a much easier read than the other Walter. There wasn’t much to respond to in reading his paper. The main section gave a fairly accurate and interesting description of what’s happened when moving from older forms of art to more modern forms.
Where the interesting bit comes in is in his preface and epilogue. Let’s start w/ his preface. He presents the idea that ‘creativity and genius’ are no longer usable or practical terms. I’d be forced to disagree there. They both are still valid and indeed, should be used in my opinion. He also says that about ‘eternal value and mystery’. I’m not sure about eternal value. I might have to agree with him on that one. I can’t see anything as having value forever. Mystery, i feel no way about.
The war bit at the end in his epilogue was kind of funny. The Marinetti quote just made me think… “Alright, if war is so beautiful, let’s see you go and enrich a flowering meadow on the front lines.” Sounds like a guy who does alot of talking, but not alot of doing.
Also, I’m not sure I got where he was going with all the Fascist talk. I didn’t quite get that. Felt like just oh-so-much-ranting.
So, tonight, was a Thursday Night Out (TNO). We went to a little old Bvlgarian bar called Mahanut. This place was RAWRSOME. They had awesome live music, and a banging dj/dancefloor downstairs. Oh yea, and they had hookahs.
For most of the night we played a game where the objective was to try and stomp on someone’s foot while not stomping on your own. I think I won a few times, but I know for sure I lost once when some chick Marco was dancing with planted her pointy heel on my toe. Luckily she was light and it didn’t hurt for more than a second.
We also played the make-a-funny-face game. I think he was pretending to be Igor. Or perhaps Quasimodo?
This is actually the first TNO I’ve ever been to where I actually had the urge to dance. The music was that good. They had a nice mix of indie/gypsy/salsa… stuff. Some of the mixes I’d never heard the like of before… and I listen to alot of music. These are times when I’m glad I have an 80gb mp3 player. Time to go on a music hunting spree!
I actually debated going out tonight. I even entered the train stop to head back home. And here’s why. The location sucked for getting back home. I had to do a 4 transfer maneuver. J -> N -> 2 -> Dollar Cab. And it was POURING when I finally exited the subway.
Also, the dollar cab had its window either stuck open or open so that all the windows wouldnt fogged up… on the side where I was sitting. The driver flat out ignored me when I asked him if the window could go up. As a small revenge, I let his $2 fare get as thoroughly soaked as my arm and leg did.
So. Some silly little ideas for physcomp projects.
Standing Pot: A coffee pot that cooks your coffee while vibrating the liquid with a standing wave
Super Strong Alarm: A super strong alarm system. Have it set up to also drop say… textbooks or rocks or knives or naked womenz on you when your alarm goes off in the morning.
Pebble Rock Security System: Have a system, where if you open a door while pressing a secret button, the next person to follow you in gets smashed on the head with a large club while a speaker says “BAM BAM!” Useful for situations where you’re followed into your house by unwanted guests. Also useful for situations where you want to placate angry partners, quiet noisy children, or relax uncomfortable dates.
Stalker Domo-Kun: For a haunted house thing. Make a domo-kun. Mount in on say a wall or something. Give it creepy dangly arms. When someone walks buy, have it decide to follow or not follow that person, but only while that person is moving. OR, have domo-kun be a robot on the floor. Hopefully he won’t get stepped on. He will randomly follow people that are moving, but stop when they stop. If they catch onto his game, they can say… press a button on his head or something and he’ll idle for a bit before going for someone else.
Websites analyzed for organization, consistency, color, and typography. I choose Cooks.com.
They have a consistent color scheme: Green and white. Not sure why they chose it, but it looks nice. They only have 1 or 2 typeface that they use for the most part, though their weblogo is different.
The organization is in a clear, grid hierarchy. This can be seen here . Click on the picture to see the grid breakdown.
My only concern is that it looks as if they try to cram too much on the page.
So here’s my repsonse to the waterfalls:MEH. Frankly, I was underwhelmed. They were just… there. Oh, and at night they lit up.
And my response to Ong: The first thing I have to say about Ong is … Wow, this guy can really talk.. er, write. He somehow manages to take a simple idea and expland it into multiple paragraphs through use of examples. I think this reading would be alot easier to follow if he dispensed with all the references to other texts and such. It’s just waaaay too long winded for my tastes.
Ong says that a literate person can never truly recover a sense of what the word is to purely oral people. I think that he should perhaps have said that they can never capture it. Being literate, they probably learned to read at a young as and never had the sense that pure oral people get. Though if he said that he’d be wrong. My family has a tradition of storytelling to the young children and these stories tend to carry over through the generations w/o being written down.
Really, I had no idea such controversy existed over the Illiad and the Odyssey. I found the idea that Homer’s group was illerate to be a bit interesting. But only a bit. I found Parry’s work to be pretty hilarious though. A couple of the most famous works of literature made up of cliches and literary formulae.
The bit about oral cultures being made up of literary formulae I agree with. Proverbs are far more commonplace in primary oral cultures.
I’m up to chapter 3 and there’s still not much I can say about this. Most of what’s here seems like, “Oh yea, that’s true.” It’s getting more interesting though. I like the case studies.
Overall impression: Very DRY (Kind of like having biscuits w/o tea).
So here’s a retrospective look at my blog setup process. It went fairly smoothly. I just turned my old index.html content into an About page. The instructions on the wordpress site were pretty clear and I really just spent the most time styling the damn thing to match with the rest of my website (which isn’t in php yet). Gonna get cracking on that.
I suppose I should… add links to blogs I like in my sidebar, but I don’t really follow any other blogs. I guess I’ll find a few and put em up later.
Alright, so it’s time for Lab 3. Was gonna do it tomorrow but it was a Sunday night and I was bored. So~ here it is. Let’s skip the boring stuff and go straight to the Luv-O-Meter.
I took the basic concept of a squeeze handle love meter and changed it a bit. Anyone can go up to a meter and squeeze it. But, what if you had to squeeze it a different amount depending on another variable. So basically you have to match up the potentiometer w/ the pressure sensor. Like making love, and unlike your regular luv-o-meter… this requires some skill.
Here’s the video:
Harder than it looks. I had *plenty* of time to practice. And don’t even talk to me about trying to keep the light steady… ugh.
I wanted to call my meter “GUTS!!!”, but after playing around with it a bit, I realized “Soft Touch” fits it better. I also wanted to use 2 force sensors, but only had 1 on hand. That would have made this game really fun.
Also, here’s the Arduino code:
int potPin1 = 0; // Pressure Sensor
int potPin2 = 1; // Potentiometer
int potValue1 = 0; // value read from the pot
int potValue2 = 0;
int led2 = 2; // LEDs
int led3 = 3;
int led4 = 4;
int led5 = 5;
int led6 = 6;
int led7 = 7;
int led8 = 8;
void setup() {
//set up led's as outputs
pinMode(led2, OUTPUT);
pinMode(led3, OUTPUT);
pinMode(led4, OUTPUT);
pinMode(led5, OUTPUT);
pinMode(led6, OUTPUT);
pinMode(led7, OUTPUT);
pinMode(led8, OUTPUT);
// initialize serial communications at 9600 bps:
Serial.begin(9600);
}
void loop() {
potValue1 = analogRead(potPin1); // read the pressure/pot values
potValue2 = analogRead(potPin2);
if(potValue1 < 25 || potValue2 < 25) {lightDown(2);}
else {
//if(potDiff(potValue1, potValue2) >= 300 ){lightDown(2);}
if(potDiff(potValue1, potValue2) < 5)
{lightUp(8);}
else if(potDiff(potValue1, potValue2) < 26 ){lightDown(8); lightUp(7);}
else if(potDiff(potValue1, potValue2) < 50 ){lightDown(7); lightUp(6);}
else if(potDiff(potValue1, potValue2) < 100 ){lightDown(6); lightUp(5);}
else if(potDiff(potValue1, potValue2) < 150 ){lightDown(5); lightUp(4);}
else if(potDiff(potValue1, potValue2) < 200 ){lightDown(4); lightUp(3);}
else if(potDiff(potValue1, potValue2) < 250 ){lightDown(3); lightUp(2);}
else if(potDiff(potValue1, potValue2) < 300 ){lightDown(2);}
}
//Serial.println(potDiff(potValue1, potValue2)); //debugging
delay(10); // wait 10 milliseconds before the next loop
}
/* Difference in numbers between pot and pressure sensors */
int potDiff(int x, int y)
{
return abs(x-y);
}
/* Turn all the led on up to num */
void lightUp(int num)
{
for(int i=2; i<=num; i++)
{
digitalWrite(i, HIGH);
}
}
/* Turn all the led's off down to num */
void lightDown(int num)
{
for( int i=8; i >= num; i--)
{
digitalWrite(i, LOW);
}
}