Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

sh_left()

Calculates left bit shifted values. The original value of the 1st argument is bit shifted to the left as many times as requested by the 2nd argument and the result of this bit shift operation is returned by this function.

Function Prototype

sh_left(number, shifts)

Arguments

Argument Name Data Type Description
number Integer Number Original input value to be shifted.
[required]
shifts Integer Number Amount of times the original value should be shifted to the left.
[required]

Return Value

Description Data Type
Bit shifted result. Integer Number

Examples

Availabilty

Since LinuxSampler 2.0.0.svn22.

Document Updated:  2016-07-18  |  Author:  Christian Schoenebeck