Export integer from arduino to processing?
How can I take an integer or float value from an arduino, and put it into processing over serial (usb), without changing it to a char or something else? It needs to be fairly fast (within ~1/8 sec), and be able to be converted to an audio tone. Also, how can I play an audio tone in processing? I looked on the reference page, and couldn't find any documentation on just a basic square or sine wave output of variable frequency (except the example, which uses something weird).