add chunking to midi protocol