HISE Docs

pi

math.pi

Multiplies the signal with PI (which is approximately 3.2)

Parameters

ID Range Default Description
Value 0.00 - 1.00 2.00 The second factor that the input is multiplied with (besides PI).


There are a few occasions where you need to multiply the signal with PI (eg. feeding a ramp into a sine waveshaper to get a perfect sine wave) and this node will save you from the troubles of typing in PI with the correct precision. Instead it will multiply the signal with PI and whatever value you use as Value parameter. The expr node formula for this node would be:

output = input * Math.PI * value;