midiout example
chapter 5 examples