Nodes

  1. Home
  2. Docs
  3. Nodes
  4. Control Lines
  5. Greater Than Zero Node

Greater Than Zero Node

Simple Node that outputs 1 when its input is greater than zero, and 0 otherwise.

Inputs

Value The Audio/Control line to transform.

Settings

Threshold Sets a non-negative value above which the input is no longer considered zero (inclusive).
For example, if Threshold is set to 0.2, this Node will output 1 when the input is greater than or equal to 0.2, and 0 otherwise.

Outputs

Value The transformed Audio/Control line.

Remarks

Connecting a sine oscillator (with an output range of [-1, 1]) to this Node and setting Threshold to 0 will create a perfect square wave (1 sample rise time and fall time).

Was this article helpful to you? Yes No