feat: add peq foor input
This commit is contained in:
@@ -70,13 +70,6 @@ export type GeqCurveOptions = {
|
||||
dimmed?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* Returns a `draw` callback compatible with LinearGraph's `draw` prop:
|
||||
* ({ ctx, toPx }) => void
|
||||
*
|
||||
* Usage:
|
||||
* <LinearGraph ... draw={buildGeqCurveDraw({ values, q: 8.65, xMin, xMax, yMin, yMax })} />
|
||||
*/
|
||||
export function buildGeqCurveDraw({
|
||||
values,
|
||||
bandHz = GEQ_BAND_HZ,
|
||||
|
||||
Reference in New Issue
Block a user