Format
This commit is contained in:
parent
0f652e8b5b
commit
a2b76bde14
3 changed files with 25 additions and 18 deletions
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue