Twitter/M&M/Arduino Machine

Uncategorized — alan_herman @ 8:20 pm

I had some trouble with my twitter account connecting to my Processing app. The video shows almost everything except when I get M&Ms which failed this time. We saw it in class though. I would fix the problem but I do have a lot of time constraints this weekend so here is the documentation for everything else.

Face Controlled Game – FaceOSC/Processing/MaxMsp

Uncategorized — alan_herman @ 2:12 am

Video Documentation:

Link to Download FaceOSC:
FaceOSC Download URL

Processing Code:

/**
* oscP5parsing by andreas schlegel
* example shows how to parse incoming osc messages "by hand".
* it is recommended to take a look at oscP5plug for an
* alternative and more convenient way to parse messages.
* oscP5 website at http://www.sojamo.de/oscP5
*/

import oscP5.*;
import netP5.*;

int int0;
int int1;
int int2;
int x1 = 600/2-50;
int y1 = 600/2-50;
boolean won = false;

OscP5 oscP5;
NetAddress myRemoteLocation;

void setup() {
size(600,600);
frameRate(25);
oscP5 = new OscP5(this,12000);
myRemoteLocation = new NetAddress("127.0.0.1",12000);
}

void draw() {
if((Math.abs(x1-int0) < 3) && (Math.abs(int1-60) < 3) || won == true) {
background(255);
rect(600/2-int1,600/2-int0,int1,int1);
won=true;
println("hi");
}
else if(won == false){
background(0);
fill(255);
rect(x1, y1, 60, 60);
fill(255,0,0);
rect(int0, y1, int1, int1);
}
}

void oscEvent(OscMessage theOscMessage) {
if(theOscMessage.checkAddrPattern("/number")==true) {
int0 = (int)theOscMessage.get(0).floatValue();
int1 = (int)theOscMessage.get(1).floatValue();
int2 = (int)theOscMessage.get(2).floatValue();
println(int2);
return;
}
}

Max5 Patch:
———-begin_max5_patcher———-
1349.3ocyZt0bhaCE.9YxuBML4oNDhNRVWbeqS+AzG5ic1YGCVAbqwlAL6lr 6r6u8pKFJI0NHGaKXRhYvVXeNem6h786lLcQ4yp8SQ+J5uPSl786lLwdJyIl T+9IS2j77x7j81kMsP80xE+8zYtKUodtxd58KSxUH7bDf0GHlCb8giqq3vlx CU4pJ6MApOaVp8ypueOHiNtT25pdYqxIVSmh9T8kdprnpHYi8BS+scYI4mc+ yJNd64ms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K1U9U+8lv2BdSPrc pAndlbYzHCqUp8UG1o71chIuUbmb6fA.iRYbcud5mnJ6KJjj9pcT6BaZEe3J g+gQizlPJt4Q0sRgcrv27eBh89YN+qo09xC6VdTGNswTH7IsIU6AkUjTkUVb 9pLSpe1pVmklpJNuy3MYoaKyJppEiVrddKUlcU5hRkY9MDIXBk8wcQYhETPQ h7kSgSlD9JRP37mLa61k8xeiW23KU7WQg1h8hCqKEyCTIBqHw8PjHg0Km5Cl n7aPYh1sPOhtzCS27BFruHomdWOkVSKZWz6mGVqJ2m5NllvCoLQ7w6OrdZbe p6PBasPSyrW11E1T7Lexb8FA+lnmAVXyvK7w1Y9GOIfxjzm3NyzDArQFgO1N dXaX3MlkaBYh6S+dVCb3rcLgu9SAz14CmDgMOtvqFPCKm3be8mBX9IexEHw2 by9ICaKcRrut3vskLIgvxIe1HHAOrk67IrSD3VU7RlhtAaepOiHneyOt6eQP Gq0D
———–end_max5_patcher———–

Max/Msp project

Uncategorized — stephanie_shulman @ 3:31 pm

Here is the youtube video:

Here is the audio file that won’t go into it:

Audio Recording 9

Here is the Patch in Max/Msp:


<pre><code>
----------begin_max5_patcher----------
3762.3oc6c8uiihiD9u69oHJ29WmlcD9m.2IcZtWf6EX0oQjD5LrGIjEX5Y1
Y0tO6GXCDnaRnf.DS2kztYZBIjp9b4xk8WU1+wiOrdSz28SVu5er5WV8vC+w
iO7f5sxeiGJt9g0G7991PuD0Ga8Q+uEs4WW+A8sd1K9n2Ae0cdN3G+Hvu7No
9eOU81mV07FOEcLMI3GpuCg9Qqh29jW51uDbb+mi82lpEHB0I61qXx7O0JAI
+Up0GsV8eK9NA6T+BYxyOKsp+7qjo+cbfWX4cN90CAGC8SUJB47aF80zx2sg
z3GWfCE.Q1yNHz+Y+3jfni0dFOr16zoZu8C09J4n2uFodPhOT8VAG0uEo5sh
8eNn766pey+7wxG+YHwwgmiBb0qDlsP8uDaxYTIqAbeXz1+m+tZJzCq24+TO
eLQm7Od9qXk+QZ7Ry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rbasyQxYi.0EifrJ5RV48SV4VJCVlikNdHZ0U2nvRf3.xom
.q1F0RuT4bY0U2pqIHiAILNeSrg4ahox0BdQ2eF+lgOhMj1Z64czFan1ejYs
MsKm3L1v7hqiXUX6Vc0L3EmYOPu3p4dHssptZF7hyICxKNWSVO297Uifv1Uz
4b9fhNmWPRqTVc0LLlC2dPi4v0IJmTvqt5FEVFD23yaLlLPxz7FINChuQAaV
kINj3E3NyqLAYRTBq4Ulfz1wcm2XUfz1I3yqLAY5lhYNlNP9Bjyq8DnPem2X
2dQWpKHSyru.WHxz71uCzzVj2h+orK9yG++fvjuJn
-----------end_max5_patcher-----------
</code></pre>

Motion Tracking

Uncategorized — caroline_record @ 8:35 am

For my last project I used motion tracking from max MSP to control an animation of rotating textured spheres in processing. My goal was to create an interactive, slightly repulsive, highly tactile surface. I succeeded in calibrating the motion in each sector of the screen with the rotation of its corresponding sphere.

 

since then I have made a more malleable program entirely in processing. There are still some kinks I want to work out before I consider it an entirely finished piece; I want to figure out how to alter the images so they are completely seamless when they are applied to the sphere and I also want to add a few modifications to their movement in processing.

Note on Missing Processing Sketch

Uncategorized — caroline_record @ 7:29 am

I am missing the breakout game mod on open processing.org. I did the assignment, but was unable to upload it. Unfortunately I have since deleted the file, so I am unable to provide documentation.

Idios

Uncategorized — max_perim @ 6:10 am

 

Idios is an abstract visualization program made in Max/MSP that responds to movement. Interacting with it creates different patterns, sound, and rare moments of clarity. The samples are from  Mild und Leise, an experimental song made by Paul Lansky in the 1970’s using computer generated sounds.

My OpenProcessing Page

Uncategorized — stephanie_shulman @ 4:23 pm

link to my processing work from the first part of the semester:

http://openprocessing.org/portal/?userID=13132

Enjoy!

Twitter Representative By Caroline Record

Uncategorized — caroline_record @ 8:19 pm

Twitter is an interesting medium to me because it is a way of broadcasting individual news and like any news media it has the capacity to create and destroy reputations. I imagine that if an individual had developed a following they would grow cautious of what they posted to their account. For my arduino-twitter project I wanted  add a level of removal between user input and the content of the tweet. The objective being to transfer the power of reputation intrinsic to posting to twitter and transfer it to an object. My preference was for each individual to post a tweet thats content was defined by the position of a slider to their own individual active accounts. However, I found that this would of necessitated creating an app for each individual participating in the project. I decided instead, I would extend the idea of representation, that was already present in the notion of the positioning of the slider defining the content of the tweet, further by creating a twitter character from scratch through sensor input.  Since I was already exploring the idea of representation I thought I would take that further by exploring a political theme.The arduino interface I designed allowed the user to select the character they wanted to represent them, either “Mary Smith” or “James Smith”, then move a slider along a spectrum to the point which best represents their political views and then finally press a button to post this representation of themselves to twitter.

 

here is a picture of the interface I designed:

Here is a picture of Mary and James Smiths’ twitter acounts:

 

 

 

 

Twittering App: Intruder Alert

Uncategorized — adelaide_agyemang @ 2:06 pm

As humans, we love ownership and when we get attached to things–in particular things that really collectively belong to everyone–we sometimes project imagined notions of ownership that can be completely illogical. For example, in my life, I am emotionally attached to a certain couch that faces the large windows in Hunt Library. This couch has served as a refuge after many all nighters, and I also love the view of the forest it provides. So whenever I go to the library with the intention of studying or sleeping there and I see someone other than myself in that couch, I become irrationally possessive and irritated. So I decided to install an arduino with a capacitive sensor in the middle of the cushion that tweets an alert to me whenever an intruder sits down. A servo sprinkler will simultaneously sprinkle them with water as long as they continue to sit there. The sprinkler should hopefully deter them from sitting too long on my couch, and once they get up, twitter will notify me that they’ve left and the sprinkler will stop. Twitter provides the time they sit down and the time they leave, so I’ll always know when my couch is available to sit on…hahahahaha

twitter stream: https://twitter.com/#!/MrMsAdelaide

hug-doll that tweets!

Uncategorized — stephanie_shulman @ 1:53 pm

via hug-doll that tweets! – YouTube.

Next Page »
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2019 CMU Electronic Media Studio II, Fall 2011, Section A | powered by WordPress with Barecity