# Constant

> A fixed control vector of up to eight lanes, set in the inspector. The number box of the control domain.

Source: https://docs.tune.toys/nodes/ctl.const/

Constant outputs a fixed control vector of up to eight lanes. It is the number box of the control domain.

## What it does

Each lane has its own value from 0 to 1, set in the inspector or from a Frame control. Lane 1 takes Value 1, lane 2 takes Value 2 and so on, up to eight. A lane only exists when the node has at least that many lanes, so values beyond the node's lane count do nothing. The output never changes unless a control is moved.

## When to use it

Use it as a fixed operand for [Math](https://docs.tune.toys/nodes/std.math/), as a base value to scale, or as a source that you can drive from a Frame control and cable into the control graph.

## Ports

<!-- ports:start -->

| Port      | Direction | Signal  | Lanes                   |
| --------- | --------- | ------- | ----------------------- |
| `control` | Output    | Control | Inferred from the cable |

<!-- ports:end -->

## Parameters

<!-- parameters:start -->

| Parameter | Label   | Range  | Default | Unit | Scale  | Notes                                                    |
| --------- | ------- | ------ | ------- | ---- | ------ | -------------------------------------------------------- |
| `value1`  | Value 1 | 0 to 1 | 0       |      | linear | Lane 1 of the output when the node has at least 1 lanes. |
| `value2`  | Value 2 | 0 to 1 | 0       |      | linear | Lane 2 of the output when the node has at least 2 lanes. |
| `value3`  | Value 3 | 0 to 1 | 0       |      | linear | Lane 3 of the output when the node has at least 3 lanes. |
| `value4`  | Value 4 | 0 to 1 | 0       |      | linear | Lane 4 of the output when the node has at least 4 lanes. |
| `value5`  | Value 5 | 0 to 1 | 0       |      | linear | Lane 5 of the output when the node has at least 5 lanes. |
| `value6`  | Value 6 | 0 to 1 | 0       |      | linear | Lane 6 of the output when the node has at least 6 lanes. |
| `value7`  | Value 7 | 0 to 1 | 0       |      | linear | Lane 7 of the output when the node has at least 7 lanes. |
| `value8`  | Value 8 | 0 to 1 | 0       |      | linear | Lane 8 of the output when the node has at least 8 lanes. |

<!-- parameters:end -->

### Values (`value1` to `value8`)

Lane 1 to lane 8 of the output: `value1`, `value2`, `value3`, `value4`, `value5`, `value6`, `value7` and `value8`. Each runs from 0 to 1 and defaults to 0. Only the lanes the node actually has are output.

## Tips

- Use several Constants, or one with more lanes, to hold a set of related values, then pull lanes apart with [Select lanes](https://docs.tune.toys/nodes/ctl.select/).
- For values outside 0 to 1, follow the Constant with [Scale](https://docs.tune.toys/nodes/ctl.scale/).

## See also

[Scale](https://docs.tune.toys/nodes/ctl.scale/), [Math](https://docs.tune.toys/nodes/std.math/), [Combine lanes](https://docs.tune.toys/nodes/ctl.combine/), [Cables](https://docs.tune.toys/concepts/cables/).
