starting work on refactor that turns this into a stream (midi data)