Modular app. including a trick with MidiNotePitch to work around link issue