I have provided a simple Makefile you can use to build and run everything here
from the command-line. Simply execute

   make && ./ToneMatrix
   
The ToneMatrix script is just a wrapper that launches

   java tonematrix.gui.ToneMatrixGUI

which contains main. By default you get a 16 x 16 Tone Matrix with lights 50
pixels to a side, but you can override this:

  ./ToneMatrix 20    # 20 x 20 grid
  ./ToneMatrix 20 30 # 20 x 20 grid, lights are 30x30 pixels

You can also run the provided tests by running

   make && ./StringInstrumentTests
   
or

   make && ./ToneMatrixTests

These are just wrappers around

   java tonematrix.StringInstrumentTests
   
and

   java tonematrix.ToneMatrixTests
   
respectively.

I owe a huge thanks to Kevin Wayne and the other folks at Princeton for
developing the wonderful StdAudio wrapper around Java's real-time
audio subsystem. Thank you!
