Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

log()

Calculates and returns the natural logarithm of the passed number.

That base e is also available as built-in constant ~NI_MATH_E.

Function Prototype

log(number)

Arguments

Argument Name Data Type Description
number Real Number Input value.
[required]

Return Value

Data Type Description
Real Number Natural logarithm of originally passed number.

Remarks

This functions accepts any standard unit and finalness for its argument number. The return value's standard unit and finalness is identical to the passed number's one.

Examples

None yet.

See also

log2(), log10(), round(), sqrt(), exp(), pow(), sin()

Availability

Since LinuxSampler 2.1.1.svn14.

Document Updated:  2019-09-24  |  Author:  Christian Schoenebeck