I saw this via hack a day this morning and thought I'd post it here in case anyone was interested. http://www.reenigne.org/blog/physical-tone-matrix/
Another implementation: http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2011/jp624_msc247/index.html I prefer the first one.