midi decoder bug fixed

Signed-off-by: Kazusa Okuda <kazusa@klamath.jp>