by corytheboyd · 5y ago · 0 comments
I too have been learning piano over the last five months or so, but I found a private teacher through a local music school. Very glad I made that decision, we work well together and it’s amazing having someone for 1hr a week to keep you on track, motivated, correcting you in real time.
Apps cannot do that, but there IS room for technology to assist remote learning. Neither of us has an amazing camera setup that can capture a full 88 key piano, which is tricky for performances that span many octaves... so you know pretty much any song :P We both have MIDI out though, which got me to thinking you could pretty easily stream that MIDI data through a p2p connection to render keys on a remote end in near real time.
I have been working on a prototype on and off for a few months on a prototype and testing it with my teacher. It’s been useful for picking up the slack of not having complex camera rigging, and the cost of entry is buying a midi-to-usb cable.
Anyway I’ve been ramping up to get it ready for letting other people try it out and wanted to hop into this very relevant thread and drop the pitch to see if there is interest in the idea!
Will do! That is of course the focal point of any code I write for this, and it’s very tricky. To perhaps give you a little more confidence that I might figure this out, I know it’s not as simple as forwarding midi data through WebRTC and playing it on receipt on the other end ;)
This gist of how I do it now is conceding to the fact that network latency exists and having a sort of buffer that allows midi note data to arrive out of order but be played back at the original timings (just delayed)
If so send me an email please, jacques@modularcompany.com