TEAMuP-dev / HARP

A sample editing application allowing for hosted, asynchronous, remote processing of audio with machine learning by routing through Gradio endpoints.
BSD 3-Clause "New" or "Revised" License
27 stars 1 forks source link

Undo #181

Closed NathanPruyne closed 1 month ago

NathanPruyne commented 2 months ago

Undo/redo functionality via temp files generated by processing.

NathanPruyne commented 2 months ago

For #167 and somewhat #108

netlify[bot] commented 2 months ago

Deploy Preview for harp-plugin canceled.

Name Link
Latest commit 73ab02519272333dae176b6293410b84dbfcf258
Latest deploy log https://app.netlify.com/sites/harp-plugin/deploys/669794063280f6000836fbd3
oreillyp commented 1 month ago

I'm testing on an M1 ARM 2022 MacBook Pro. Everything seems to be working OK, but there's one change we might want to make.

Currently, once a processed file is saved, we lose the undo stack within HARP. I think it would be nice if we maintained the undo stack until we load a new file or close HARP, so that we could potentially revert changes to the original file by undoing in the plugin and then saving again. This is akin to how the undo flow works in digital audio workstations.

Otherwise, I think this is ready to merge -- it's already an improvement.