WIP export UI

This commit is contained in:
Nikita 2025-10-19 23:02:20 +03:00
parent 9a47e0f11e
commit b3715dc5df
6 changed files with 134 additions and 17 deletions

View file

@ -203,8 +203,8 @@ export function useReplContext() {
const handleEvaluate = () => {
editorRef.current.evaluate();
};
const handleExport = (begin, end) => {
editorRef.current.exportAudio(begin, end);
const handleExport = async (begin, end) => {
await editorRef.current.exportAudio(begin, end);
};
const handleShuffle = async () => {
const patternData = await getRandomTune();