feat: add delay tab

This commit is contained in:
2026-08-06 20:51:38 +02:00
parent e802067056
commit 470b95ace3
10 changed files with 662 additions and 47 deletions
+11
View File
@@ -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;
}