Interactive Installation : Week 7
Mostly this is a work day. But I'm putting the examples for Sound here since we haven't gotten to it yet.
Sound playback is not built in to Processing, but you can do it with an external library. External libraries add features and capabilities to the Processing language; there are libraries for graphics, sound, video, networking, input devices, all sorts of things. You can get them from the Libraries section of the Processing Website. There are two libraries for working with Sound - but we'll just cover the ESS Library.
Setup
- Go to http://www.tree-axis.com/Ess
- Click Download and then click Ess r2 to download ESS.
- This will download a zip file (Ess_R2.zip). Uncompress it to get a folder called Ess
- In the Processing application's folder, there is a folder called Libraries. Put the Ess folder in there.
For instructions on how to use ESS, see Krister's documentation. To play back samples, the main object is the "AudioChannel". Here are a few simple examples using it: