refactor: graph to use a set of points instead of taking the whole dsp oobject
This commit is contained in:
@@ -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 ------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user