Midi input now works. Sample pan can be specified in the configuration
file. Midi velocity determines volume of played sample.