Pianistically wrote:it is a good idea. Now most modern DAWs have a retropective record feature available . So if you use pianoteq in DAW with such feature ( Logic Pro, Reaper, Cubase.. ) this function already exists in the DAW with editing functions as well . Unless I miss something , this is however a useful piece of code for users playing other piano libraries as standalone application outside of a DAW , when the standalone UI doesn’t offer such a functionality. AFAIK pianoteq must be one the rare if not the only to implement such functionality in the standalone UI.
Yes, I think most DAWs have a similar feature. I was using Reaper's "retrospective midi" before this plugin. I still have a custom button in Reaper that dumps the retrospective midi content into a track and starts playing. However it is not as convenient as Pianoteq standalone nor this little plugin. It does not split the midi into pieces automatically according the silences between. It also does not persist the midi content so a bit cumbersome to save the midi into filesystem.
The plugin splits the pieces into different files and saves them into filesystem. It has one button to play the last recorded one. It is also possible to drag&drop the midi from the plugin into the DAW to use the full editing capabilities of the DAW.
Reaper's feature is great for quickly entering midi into the DAW. The plugin or the Pianoteq standalone is more convenient for reviewing the last played pieces.