control_function
Public method `telion_api.Model.control_function(label: 'str' = 'Control Function', function_name: 'str' = 'control', arguments: 'str' = 'i, n, v0, v1, ...', expression: 'Any' = 'control(i, n, v0, v1)', source: 'str' = '0, 0\n1, 90\n2, 180\n3, 270', description: 'str' = 'Discrete control palette. control(i, n, v0, v1, ...) rounds i, clamps it to n choices, and returns the selected value.', enabled: 'bool' = True, **fields: 'Any') -> 'FunctionDefinition'`.
Reference contract
| Field | Value | Description |
|---|---|---|
| symbol | telion_api.Model.control_function | — |
| signature | (label: 'str' = 'Control Function', function_name: 'str' = 'control', arguments: 'str' = 'i, n, v0, v1, ...', expression: 'Any' = 'control(i, n, v0, v1)', source: 'str' = '0, 0\n1, 90\n2, 180\n3, 270', description: 'str' = 'Discrete control palette. control(i, n, v0, v1, ...) rounds i, clamps it to n choices, and returns the selected value.', enabled: 'bool' = True, **fields: 'Any') -> 'FunctionDefinition' | — |
| return | FunctionDefinition | — |
Public method telion_api.Model.control_function(label: 'str' = 'Control Function', function_name: 'str' = 'control', arguments: 'str' = 'i, n, v0, v1, ...', expression: 'Any' = 'control(i, n, v0, v1)', source: 'str' = '0, 0\n1, 90\n2, 180\n3, 270', description: 'str' = 'Discrete control palette. control(i, n, v0, v1, ...) rounds i, clamps it to n choices, and returns the selected value.', enabled: 'bool' = True, **fields: 'Any') -> 'FunctionDefinition'.
Contract
| Property | Value |
|---|---|
| symbol | telion_api.Model.control_function |
| signature | (label: 'str' = 'Control Function', function_name: 'str' = 'control', arguments: 'str' = 'i, n, v0, v1, ...', expression: 'Any' = 'control(i, n, v0, v1)', source: 'str' = '0, 0\n1, 90\n2, 180\n3, 270', description: 'str' = 'Discrete control palette. control(i, n, v0, v1, ...) rounds i, clamps it to n choices, and returns the selected value.', enabled: 'bool' = True, **fields: 'Any') -> 'FunctionDefinition' |
| return | FunctionDefinition |
Signature
telion_api.Model.control_function(label: 'str' = 'Control Function', function_name: 'str' = 'control', arguments: 'str' = 'i, n, v0, v1, ...', expression: 'Any' = 'control(i, n, v0, v1)', source: 'str' = '0, 0\n1, 90\n2, 180\n3, 270', description: 'str' = 'Discrete control palette. control(i, n, v0, v1, ...) rounds i, clamps it to n choices, and returns the selected value.', enabled: 'bool' = True, **fields: 'Any') -> 'FunctionDefinition'