zerox
Detect zero crossings
new zerox()Methods
next(x): out1
Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| x | number |
Returns
| Name | Type | Description |
|---|---|---|
| out1 | number | Outputs a 0 when the last two received values do not cross the zero point or a 1 when they do. |
Detect zero crossings
new zerox()| Name | Type | Default | Description |
|---|---|---|---|
| x | number |
| Name | Type | Description |
|---|---|---|
| out1 | number | Outputs a 0 when the last two received values do not cross the zero point or a 1 when they do. |