diff --git a/docker/frontend/shared/utils/paramDefs.ts b/docker/frontend/shared/utils/paramDefs.ts index 464fa79..133cad8 100644 --- a/docker/frontend/shared/utils/paramDefs.ts +++ b/docker/frontend/shared/utils/paramDefs.ts @@ -105,6 +105,30 @@ export const PARAM_DEFS: { get: (a) => a.shadow ?? 0, set: (v) => ({ shadow: v }), }, + { + // The end points of the tone curve: WHITE lifts/crushes the top, BLACK the + // toe. Same range as the CREATE form's rows, so a look round-trips. + key: 'whites', + label: 'WHITE', + min: -10, + max: 10, + step: 1, + defaultValue: 0, + display: sign, + get: (a) => a.whites ?? 0, + set: (v) => ({ whites: v }), + }, + { + key: 'blacks', + label: 'BLACK', + min: -10, + max: 10, + step: 1, + defaultValue: 0, + display: sign, + get: (a) => a.blacks ?? 0, + set: (v) => ({ blacks: v }), + }, ], wb: [ {