Thanks for the kind words! I'm really glad if it could help.
I think I was about to learn OOP when writing this package 😺
And I have looked at your blog post again. Super nice to see you using these packages and pivoting notes on your own and got something working out!! (this was my main motivation writing these packages: I thought having note_on & _off events on the same line in a dataframe could help wrangling with #midi data..)
Regarding the silence at the end of the track, I checked the R code and everything seems right. I also guess it has to do something with the python code.