FSM works for small midi files -> up to ~40 notes

TODO: restructure FSM so it receives a manageable chunk, processes it,
then requests another chunk