using some of the code from the blog that inspired this project (http://vigtig.it/blog/blog/2011/04/12/programming-music/) I started to flesh out the basic oscillator