It isnt perfect, but its trying, its using the timer so, dont judge it
i used my very own midi to text converter and put it into this and coded this to read it