fix: remove useless vars
This commit is contained in:
@@ -14,20 +14,6 @@ const LIMITER_SLIDER_PARAMS = [
|
|||||||
{ key: 'release', label: 'Release', min: 10, max: 3000, step: 1, unit: ' ms' },
|
{ key: 'release', label: 'Release', min: 10, max: 3000, step: 1, unit: ' ms' },
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
// ASSUMPTION: output meter indices follow the 4 input channels (0-3), i.e.
|
|
||||||
// Out1 -> 4, Out2 -> 5, etc. Same mapping as CompressorSection — adjust if
|
|
||||||
// dsp.meters.channels ordering differs.
|
|
||||||
const OUTPUT_METER_INDEX: Record<OutputChannel, number> = {
|
|
||||||
[OutputChannel.Out1]: 4,
|
|
||||||
[OutputChannel.Out2]: 5,
|
|
||||||
[OutputChannel.Out3]: 6,
|
|
||||||
[OutputChannel.Out4]: 7,
|
|
||||||
[OutputChannel.Out5]: 8,
|
|
||||||
[OutputChannel.Out6]: 9,
|
|
||||||
[OutputChannel.Out7]: 10,
|
|
||||||
[OutputChannel.Out8]: 11,
|
|
||||||
} as const;
|
|
||||||
|
|
||||||
type LimiterParamKey = 'threshold' | 'attack' | 'release';
|
type LimiterParamKey = 'threshold' | 'attack' | 'release';
|
||||||
|
|
||||||
type LimiterValues = {
|
type LimiterValues = {
|
||||||
|
|||||||
Reference in New Issue
Block a user