Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

sin()

Calculates and returns the sine of the passed number.

The natural constant π ("pi") is also available as built-in constant ~NI_MATH_PI.

Function Prototype

sin(number)

Arguments

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

Return Value

Data Type Description
Real Number Sine 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

cos(), tan(), asin(), acos(), atan(), round(), log(), exp(), pow()

Availability

Since LinuxSampler 2.1.1.svn14.

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