Animating Your Face

Activity Description

Now that you have your face programmed, we will animate it with sound. Check out this example, to get an idea of what you will be doing.

Topics Covered

Libraries

To Animate our faces we will be using a Sound Library called minim because the Processing sound library is not working on these lab machines. A library is a piece of code that was written by someone else, that is precompiled and ready to be used.

Minim is not downloaded automatically with Processing due to its increasing size. Simply click Sketch on the menu

And then click on Import Library and select Add Library and install it!

Setting up the sound library

Code example with the sound library setup

Walker's code example (main program) with the sound library setup

Walker's code example (sound program) with the sound library setup from the minim Quickstart page

All done? Move to the next activity!