I have a sketch made with processing 2.0.1. It involves the oscp5 library and the twitter4j. The sketch was working fine until I upgraded to 2.0.2. Now I get this error
This is a question about open sound control however it is not a matter of the library so I guess I am on the right area of the forum.
I am facing a problem with osc messages. I am trying to connect max/msp and processing.
The concept of the sketch is the following.
I am getting words and compare them . So I have two strings and when those two strings are equal I want to change a the colour of the word on processing (that works) but also want to send an osc message on max. However the messages are not being send all the time on max (only about half of the times)
This is inside my void_draw loop
int i = (frameCount % words.size()); String word1 = words.get(i); String word2="hate";
if (word1.equals(word2)==true){ f=22; fill(255,0,0); textSize(32); text(word1,width/2,random(height/2));}
I can't import the twitter4j library on processing. I googled a lot and everyone is proposing the same solution renaming a file with .jar extension. However I can't find that file anywhere inside the twitter4j unzipped folder. I have tried both with the latest version of twitter4j and with the version 2.2.6 (can't find any older). I am running processing 2.0.1. Any tips?
I am new to processing but I am familiar with programming languages/enviroments such as max/msp and supercollider.
I want to receive osc messages on processing from max msp. I have downloaded the oscp5 library and I can see the data I am sending from max to processing. Now the question is...how can I use the integers,floats whatever that I am receiving as values of variables in processing.
To make myself clear enough, how can for instance draw a rect that has for a coordinate an osc integer that I am receiving from max?