First working version. Midi output changed to 4 trigger outs.