Skip to main content

Type Alias: DynamicOperation

DynamicOperation = Operation & object

Defined in: operations/types.ts:66

A container operation that takes drafts with some parameter assigned to them

Type Declaration

dynamic_param_id

dynamic_param_id: number

dynamic_param_type

dynamic_param_type: "number" | "notation" | "system" | "color" | "static" | "draft" | "profile" | "null"

onParamChange()

onParamChange: (param_vals, static_inlets, inlet_vals, changed_param_id, dynamic_param_val) => OpInletValType[]

Parameters

param_vals

OpParamVal[]

static_inlets

OperationInlet[]

inlet_vals

OpInletValType[]

changed_param_id

number

dynamic_param_val

OpParamValType

Returns

OpInletValType[]

Param

which parameter ids should we use to determine the number and value of parameterized input slots

Param

dynamic parameters convert parameter inputs to inlets of a given type, this specifies the type of inlet created

Param

a function that executes when a dynamic parameter is changed and returns the values for the inlets