Hi, I have a application that uses the TUIO client library that I'm trying to upgrade to Processing 2.0
I get an error saying "cannot find a class or type named Vector". When I change my variable to PVector I get
"Cannot convert from vector to PVector". Obviously the library returns a Vector.
How to fix?
the Library also contains a source folder with a file named TuioProcessing.java in it. Here I can change the vector it returns into a PVector, but I have no Idea how to compile this .java file into the two .jar files the Processing uses.
Is this even the right aproach?
Has anyone else used TUIO client with Processing 2.0?
I was wondering if anyone on this forum has any experience with OSX multi-touch events and processing.
I have this optical touch screen that has some quite obscure but functional drivers for osx. It allows me to
drag and click (of course) but also to use the pinch gesture. I can pinch on the desktop and the icons all respond by resizing.
Now I tried two approaches to get this pinch functionality into processing; both failed...
1. a touchpad library:
http://www.steike.com/code/multitouch/ This works with the touchpad, but fails to recognize the touch events from the optical touchscreens drivers
2. using tongseng (converts touchpad to tuio events) to capture touchevents and a tuio library to receive them in processing.
The problem seems to be that both the multi-touch library and tongseng capture something more high level than the osx touch events that my touch screen driver produces (they register individual fingers for example).
Since I can actually see multi-touch working (resizing icons on the desktop), I can't help thinking it must be possible to get it into processing.
If anyone could point me in the right direction, or just tell me it can't be done (
preferably not), it would be much appreciated.
I've been trying to load and play a MIDI file in processing and adjust the playback volume based on some variable.
I've tried JM-Etude which has a setVolume method but this doesn't seem to work.
I've also tried Soundcypher but that doesn't seem to support a change of volume.
I'm not a musician, and my knowledge of midi is very limited. Is it even possible to adjust the volume of a sequence of notes that is synthesized this way, or is the volume / dynamic hardcoded into the description of the notes?
I was wondering if anyone could point me in the right direction...