midi: gate bug fix. sample+.