Hi!, i have been making a program this whole semester; but when i updated to processing 2b07, it started giving me a "cannot find a class or type named "file" " even using the code from the examples. i googled a lot but didnt find anyone with the same problem; instead i found that the class File, supposedly comes with the Java API. i reinstalled processing, but the problem wasnt solved.
PLZ i need help because im going to show up this program on friday
Hi; just starting to learn about threading; & im using midibus and serial. before i used a lot this code:
myBus = new MidiBus(this, CB, CPORT);
without understanding what the first expression (this) is for. then, when i started using thread, i wanted the midibus objects to be created iside the thread class (because is a class thread). midibus lib is loaded in the main thing, anyway.
my problem is that this refers to the thread class, which gives an error. i loked a lot on how to give like the parent in that argument, without success. happens with both; serial and midibus library.
who can explain what that first argument is for, and how to make these weird objects work inside a class?
i made with much effort a way to get from arduino, serial signals that are sent to processing in 8bits chunks, which is supposed to have a midi modulation interface, which sends midi signals; but, guess what: i get a horrid latency. is there a way to lower the latency, or im now obliged to rework all the interface to use puredata?
Maybe there could be like two instances; one translating to midi fast and the other one making the graphics; but i have never made intercommunicating applets...
Hi, im very amateur in processing. i loved the object oriented thing, but i was wondering if there is any way to create objects for example in a while loop (because in that case all the objects would be stored under the same name , isnt it?), making multiple instances by batch