Arduino x Processing

Hi! I’m a Interactive Media Art student, and I have quite some experience with Arduino, and not that much with Processing (I know the basics).

For a project, I need to connect my Arduino to Processing. When, for example, a sensor is triggered, a specific sound is played in processing.

I have successfuly connected Arduino to Processing, and I am able to communicate between them; If a sensor is triggered, a text appears in processing. However, I am not able to use anything else than text!

If anyone knows how to do this or has any examples of this, It would be greatly appreciated!

  • I’ll be using a digital, On/Off magnetic door switch

-I’ll also be using an analog Sound sensor

Thank you so much!

A quick Google found this, which seems to do what you want:

http://cmuems.com/2013/b/sounds-with-ar … rocessing/