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
52 stars 3 forks source link

Save As Fixes #195

Closed NathanPruyne closed 3 months ago

NathanPruyne commented 3 months ago

Updates to the save as functionality. Doing a save as without a file extension will autofill a default (.wav or .mid), and saving with an unsupported extension will throw an error (addresses #184). Save as will update the currently viewed file so that later saves will go to the correct location (addresses #191). Save as also now uses a different file browser than open, which both allows more specificity on what extensions to allow (such that MacOS will now natively reject an improper extension), and prevents a crash when trying to do save as before open (addresses #193).

Tested on Windows 10, Ubuntu 20.04, and MacOS 14.5 (ARM).

netlify[bot] commented 3 months ago

Deploy Preview for harp-plugin canceled.

Name Link
Latest commit 87f138fd38b3bae0b2b0a3540cb99266b801eae8
Latest deploy log https://app.netlify.com/sites/harp-plugin/deploys/66ac3127d1fddb0008baf350