Documents
Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

msb()

Calculates the most significant byte of a 14 bit value. High-end bits 8 to 14 of argument are bit-shifted down by 7 bits and returned as result by this function.

Function Prototype

msb(number)

Arguments

Argument Name Data Type Description
number Integer Number Original 14 bit input value.
[required]

Return Value

Data Type Description
Integer Number High-end 7 bits of passed argument.

Remarks

This functions neither allows finalness, nor standard unit types for its argument number.

Examples

See also

lsb(), sh_left(), sh_right()

Availability

Since LinuxSampler 2.1.1.svn26.

Document Updated:  2019-12-30  |  Author:  Christian Schoenebeck