refactor: graph to use a set of points instead of taking the whole dsp oobject

This commit is contained in:
2026-08-31 20:14:07 +02:00
parent 21728b5e6d
commit 75ac349790
13 changed files with 717 additions and 823 deletions
+1 -1
View File
@@ -61,7 +61,6 @@ export const DISCRETE_FREQUENCIES: Record<DiscreteFrequency, number> = {
};
// ------ GEQ constants ------
export const GRAPH_GEQ_CURVE_Q = 8.65;
export const GEQ_BANDS_LABEL = [
{ frequency: DiscreteFrequency.F20, label: '20' },
@@ -100,6 +99,7 @@ export const GEQ_BANDS_LABEL = [
export const GEQ_GAIN_MIN = -12;
export const GEQ_GAIN_MAX = 12;
export const GEQ_GAIN_STEP = 0.1;
export const GEQ_CURVE_Q = 8.65 * 0.5;
// ------ Filter constants ------