Monday, July 6, 2009

Serial to Socket Server

So, to use an Arduino with some computer software, the communication comes in as serial data, which Pd and Max/MSP can use, but which don't work in internety things like Flash and Air. Apparently it's a bad idea to give control over serial ports to things that are internet-hackable. *shrug*

So, to use an Arduino with Flash or Flex/Air, we have to set up a Serial to Socket Server, which doesn't seem to tricky... so yeah, more investigation:
http://www.arduino.cc/playground/Interfacing/SerialNet

Also, I bet the kind of recording/playback we want from the "button" button could be achieved with a combination of Flash and Flex, all the audio stuff happening in Flash. Recording may not be free in Flash, in a really bad way. More investigation:
http://www.tutorialized.com/tutorials/Flash/Audio/1

No comments:

Post a Comment