Better sample loading
This commit is contained in:
parent
92d3fe496d
commit
daea207aff
5 changed files with 33 additions and 15 deletions
|
|
@ -206,7 +206,7 @@ export function useReplContext() {
|
|||
};
|
||||
|
||||
const handleExport = async (begin, end, sampleRate, downloadName = undefined) => {
|
||||
await editorRef.current.evaluate(true);
|
||||
await editorRef.current.evaluate(false);
|
||||
editorRef.current.repl.scheduler.stop();
|
||||
await renderPatternAudio(
|
||||
editorRef.current.repl.state.pattern,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue