mirror of
https://codeberg.org/uzu/strudel
synced 2026-08-20 02:46:16 -04:00
Reapply realtimeOptions after export
This commit is contained in:
@@ -4,8 +4,6 @@ import NumberInput from './NumberInput';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { Textbox } from './textbox/Textbox';
|
||||
import {
|
||||
setMultiChannelOrbits as setStrudelMultiChannelOrbits,
|
||||
setMaxPolyphony as setStrudelMaxPolyphony,
|
||||
getAudioContext,
|
||||
} from '@strudel/webaudio';
|
||||
import XMarkIcon from '@heroicons/react/24/outline/XMarkIcon';
|
||||
@@ -201,8 +199,6 @@ export default function ExportModal(Props) {
|
||||
disabled={exporting}
|
||||
onClick={async () => {
|
||||
setExporting(true);
|
||||
setStrudelMaxPolyphony(maxPolyphony);
|
||||
setStrudelMultiChannelOrbits(multiChannelOrbits);
|
||||
setTimeout(refreshProgress, 1000);
|
||||
await handleExport(startCycle, endCycle, sampleRate, maxPolyphony, multiChannelOrbits, downloadName)
|
||||
.then(() => {
|
||||
|
||||
Reference in New Issue
Block a user