We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm kinda new to Processing, I got into it almost a month ago because I saw people did crazy graphical stuff with it. Then a musician saw some of the trippy things I did and asked me how could I make that react to his music. He has these MIDI keyboards, and with no problem I was able to make a sketch that using theMIDIbus got input from those keyboards and painted trippy stuff with it.
Now came a very tricky part. I had the idea of perhaps taking it further, and also receiving parameters different than MIDI keystrokes to make more complex visualizations.
I had the thought of using an Android device (like a phone), which has a constant detection of values from its Gyroscope/Accelerometer, so that after strapping it to his guitar, while he moved it around, it would also control the sketch running on the computer. In the Sketch that runs on the Android device, I have with no problem been able to use the Ketai Library to get these values. The problem now that has got me stuck for quite some time is that I haven't been able to find anything on how to send values from an Android Processing Sketch directly to a Desktop Computer Processing Sketch (all I find is stuff on how to connect Android Processing Sketches and Arduino via WiFi or Bluetooth)
Any idea on what library could I use to achieve this sending of Gyroscope/Accelerometer values from an Android Processing Sketch to a Desktop Computer Processing Sketch (running on the same wifi network)? Thanks!
Comments
You could probably connect the sketches over the network with something like
oscP5
, which works in both Java and Android modes. Of course, there may be other approaches.