Using the MIDI api, it might be possible
btw, this topic should probably be under #advanced-topics:advanced-help-with-snap
So used to clicking on #show-projects lol
You might want to look at this MDN page
I'm more of a python guy. Can you explain how I can port the data to Snap! ?