Hey,
I used to work with promidi, midiox and midiyoke in processing. Now I am switching over to eclipse and since it is 64 bit the virtual midiYoke drivers are not working anymore :(
Does anyone know about a good alternative to midiYoke, that does the same thing, but works on a 64 bit system?
Thanks!
there are some tools (mostly apps, I guess) out there, that claim to be able to detect the mood or emotion of a person by face analyzing. While I assume, that most of those tools are rubbish, I have heard about some more sophisticated approaches to this. Unfortunately, I have forgotten the source of this information and my google search didn't help much.
So I actually have 2 questions:
1.) Does anyone know of a somewhat usable face-recognition based emotion detection software? It does not need to be perfect, as long as its not total trash.
2.) Is there a way to combine an external software like this with processing? Or are there actually allready existing wrappers, librarys, hacks?
Hi all,
I am working on a big game project, with lots of different objects. Right now I am using static arrays for them.
For example I have 100 arrays of the object "house". I probably don't need all 100, but I have to estimate it a bit, so there is some first unelegance. Then some houses disappear during the game, so their array is no longer needed. I set it to "null" in this case. And now everytime I cycle through the houses I have code like this:
HouseObject[] house = new HouseObject[100];
...
for( int i = 0; i < house.length; i++)
if( house[i] != null)
house[i].draw();
This works, but is somewhat unelegant. Now I am thinking about replacing all my static arrays with ArrayLists. I have just recently discovered ArrayLists, that is why I started off with static arrays.
The question I have is, is there a difference in performance between ArrayLists and static Arrays? Because performance is really an issue for my project, I would rather go with unelegant Arrays if they are faster. But when there is no difference I would replace them with ArrayLists. Because my code is allready huge, 10000 lines easily, I can not simply try it out.
So I hope someone here has some experience with this and can give me an advise.
Thank you!
i just bought myself a kinect and i want to use it with processing.
i have found two different libraries for kinect implementation: openKinect and dLibs.
Can someone tell me which one I should opt to learn?
Are there differences in performance and handling?
By the way, I am still using processing version 1.2.1.
hi,
i was wondering, if you can take a string and parse it into code that processing executes.
so that you can take a string like this one
String a = "println("this works");"
and processing executes the println method
i am thinking about this, because i am working on a proejct that is getting pretty large, and i would like to take some segments of the code and put them in a txt file, so i can keep my processnig sketch a bit cleaner.
hey,
i stumbled across the reserved data type "Object". i haven't found it in the documentation and my tries to figure out what you can do with it have somewhat been useless. yet it looks like a very practicable data type.
can somebody explain me what you can do with the Object data type and how to use it please?
i am working on a processing project together with a friend. to avoid running into problems due to working on different versions of the project i was thinking about including a version counter into the project (sth like "current version: 0.143").
to avoid manually adjusting this counter (because that would be source of errors just as much as having no version counter at all) i want this counter to increase automatically by i.e. 0.001 every time the project is saved.
is there a way to catch the editors save process?
Hi everyone,
i want to create an object that creates 4 objects of another class.
problem is, that i don't seem to have access to that secondary class
("Cannot find anything named "Point")
i know i could make the Point class a nested class to solve this, but this would mess up large parts of my other code.
is there any way to do it otherwise?
thank you!
hello,
i want to access seperately on my webcam the pure isolated infrared signal and the normal signal containing all color informations. is that even possible? because i need to be able to switch dynamically between "infrared mode" and "normal color mode" i cannot simply apply physical filters in front of the webcam
thank you
is there an easy way to get the volume output from another program (in this case ableton live) in processing?
i use processing with promidi to trigger sounds in ableton and i would like to use the actual acoustic sound output from ableton to take an influence on my processing animation.
i know you can use minim and fft to get the volume, but i think that is only for sound that is played back with a minim output.
i am working on a sound installation that uses the minim library to create synthesizer sound.
i would like to add some vst effects to the minim output like reverb, distortion etc.
and i want to control the effect parameters with the code, so that i can dynamically transform the sound.
when i open the applets there, they work for me. but my friends who tried to open them get a "class not found" error
concerning the main sketch class.
i did change the applet/index.html a little bit, but i did not edit the references. i only replaced the head <part> and took out the source code and processing link.
i implement the applet/index.html with the <iframe> tag, i dont know if that does anything to the references.
but then again, for me the references are all working, so it doesnt make any sense.
maybe i am missing something very obvious here.
the only guess i have left is that i maybe need to set the file authorization to allow "write" for everybody. unfortunately i cant just try that, because my ftp programm doesnt seem to let me alter that parameter.
i am using the GLGraphicsOffScreen class from the glgraphics library to render to an offscreen buffer.
now i want to move all the buffer stuff to a class and call it from there.
inside my class constructor i call the constructor for GLGraphicsOffScreen like this:
"buffer = new GLGraphicsOffScreen( this, width, height );"
then i get the error:
"The constructor GLGraphicsOffScreen(sketchname.pde.ClassName, int, int) is undefined".
i feel like i have to replace the "this" keywoard with something else, but i don't know with what.
or must i somehow implement the GLGraphicsOffScreen Class to my class?
hey there,
i was wondering if there is an easy and clean way to draw a filled rectangle that has a circular hole in the middle?
for my case it is important that nothing gets drawn to this hole at all. so i cannot work around it with first drawing a rect and than an ellipse which overdraws that and creates a hole, i need the exact geometric shape
thank you
when i access the color information of a certain pixel with the pixel[] method i get a negative value between -16777216 and -1.
- how does this value arise?
- and can i converrt it into rgb and hsb?