We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a4beb commit 0fd329aCopy full SHA for 0fd329a
js/utils/synthutils.js
@@ -972,7 +972,13 @@ function Synth() {
972
}
973
chunks = [];
974
const url = URL.createObjectURL(blob);
975
- download(url, "");
+ // Prompt the user for the file name
976
+ const fileName = window.prompt("Enter file name", "recording");
977
+ if (fileName) {
978
+ download(url, fileName + (platform.FF ? ".wav" : ".ogg"));
979
+ } else {
980
+ alert("Download cancelled.");
981
+ }
982
};
983
// this.recorder.start();
984
// setTimeout(()=>{this.recorder.stop();},5000);
0 commit comments