This commit is contained in:
Nikita
2025-10-20 21:24:54 +03:00
parent 0f652e8b5b
commit a2b76bde14
3 changed files with 25 additions and 18 deletions
+8 -1
View File
@@ -207,7 +207,14 @@ export function useReplContext() {
const handleExport = async (begin, end, sampleRate, downloadName = undefined) => {
await editorRef.current.evaluate();
await renderPatternAudio(editorRef.current.repl.state.pattern, editorRef.current.repl.scheduler.cps, begin, end, sampleRate, downloadName)
await renderPatternAudio(
editorRef.current.repl.state.pattern,
editorRef.current.repl.scheduler.cps,
begin,
end,
sampleRate,
downloadName,
);
editorRef.current.repl.scheduler.stop();
};
const handleShuffle = async () => {