Trigger support

MIDI and ADSR updated with trigger support.