wip, modified algorithm and introduced more instruments in MIDI plugin