changing midi stuff to event stuff to generalize - further isolated the javasound wrapper pieces
debugging wave forms