midi-parser-js icon indicating copy to clipboard operation
midi-parser-js copied to clipboard

wrong midi channel should be 10, is 9

Open SunboX opened this issue 2 years ago • 1 comments

Hi,

if I parse this midi file: https://just.4be.mobi/index.php/s/XPseCdHKJPpgGE3

It returns 0xB and 0x9 as MIDI channel 9, but actually it should be MIDI channel 10.

SunboX avatar Apr 27 '22 06:04 SunboX

The file you posted has expired and cannot be downloaded. So I write a guess based on my experience. Programs that usually edit and play MIDI files typically count channels from 1. So channel 10 is the drum channel. On the other hand, programs that read and edit hex data in MIDI files count channels from zero. So channel 9 is the drum channel. Have you considered this?

Eggrice62 avatar Jun 24 '22 03:06 Eggrice62