feat: add delay tab
This commit is contained in:
@@ -9,6 +9,7 @@ import { DSP408Device } from '../../hooks/useDSP408';
|
||||
import './DspPage.css';
|
||||
import GateSection from '../../components/dsp408/GateSection/GateSection';
|
||||
import LimiterSection from '../../components/dsp408/LimiterSection/LimiterSection';
|
||||
import DelaySection from '../../components/dsp408/DelaySection/DelaySection';
|
||||
import LoadingOverlay from '../../components/LoadingOverlay/LoadingOverlay';
|
||||
import { InputChannel, OutputChannel } from '../../types/dsp408State';
|
||||
|
||||
@@ -187,6 +188,16 @@ function DSPPage({ dsp, dsp408 }: { dsp: DSP; dsp408: DSP408Device }) {
|
||||
case 'limiter':
|
||||
return <LimiterSection dsp={dsp} set_limiter={dsp408.setLimiter} />;
|
||||
|
||||
case 'delay':
|
||||
return (
|
||||
<DelaySection
|
||||
dsp={dsp}
|
||||
setDelay={dsp408.setDelay}
|
||||
setDelayUnit={dsp408.setDelayUnit}
|
||||
setDSPState={dsp408.setDSPState}
|
||||
/>
|
||||
);
|
||||
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user