I’ve automagically recorded my digital piano musings starting about 28 years ago. Initially, I used a simple C code on a Linux server using select to dump from dev MIDI to a timestamped file per session (a variation of an answering machine I had previously hacked together with a friend). Later, I used pianoteq recording on an iMac, which also detects gaps and records separate timestamped files. The experience has been very positive and helpful for improving technique and composition, so I do recommend this hardware if you dont already record everything. One piece of advice, however: you want to let people who touch your piano know they get recorded, or ask them to wait until you turn off the recording. I tend to forget that I record everything after a while, and an unsuspecting friend might incorrectly assume that their improv does not lead to a permanent record. I had several people be surprised when they first learned about the automatic recording after the fact, and had to remove one or two files at their request (though the last time I needed to remove a file was around 1998; more recently, people didn’t seem to mind).