CreatorDocumentation 0.3.2 beta
Documentation sectionsIn this article
CREATOR / Math

Linear to dB

linear_to_db · v1

Converts amplitude to dB: 20 × log₁₀(max(1e−9, |x|)). Evaluated for each Number sample.

Linear to dB
Inputs
Outputs
Select a port to see its purpose and an example connection. Its reference row will highlight.

Ports and connections

Port / IDTypeConnection
ValuevaluenumberControls Value with a number stream. Without a wire, the manual value is 0.Manual value when disconnected
OutputoutnumberThe number result of Linear to dB, available to other nodes on every sample.Output

An output can feed multiple inputs of the same type. An input has one source; Function also requires matching signatures. All connection rules →

Parameters

Values describe manual settings. A connected stream replaces a parameter’s manual value; disconnecting restores it.

ParameterRangeDefaultControl
Valuevalue-1000000…10000000Input or manualLinear scale

How to use it

Example: 1 → 0 dB; 0 → −180 dB. Constant / Output → Value; route the result to another node’s parameter.

Things to check

Check required inputs and matching types. Run Compile before auditioning; a validation failure preserves the previous working module. Troubleshooting →