lsb()
Calculates the least significant byte of a 14 bit value. Low-end bits 1 to 7 of argument are returned as result by this function.
Function Prototype
lsb(number)
Arguments
Argument Name | Data Type | Description |
---|---|---|
number |
Integer Number | Original 14 bit input value. [required] |
Return Value
Data Type | Description |
---|---|
Integer Number | Low-end 7 bits of passed argument. |
Remarks
This functions neither allows finalness,
nor standard unit types for its argument number
.
Examples
- on init
- message("msb(0) = " & msb(0))
- message("lsb(0) = " & lsb(0))
- message("msb(1) = " & msb(1))
- message("lsb(1) = " & lsb(1))
- message("msb(2) = " & msb(2))
- message("lsb(2) = " & lsb(2))
- message("msb(128) = " & msb(128))
- message("lsb(128) = " & lsb(128))
- message("msb(129) = " & msb(129))
- message("lsb(129) = " & lsb(129))
- end on
See also
Availability
Since LinuxSampler 2.1.1.svn26.
Document Updated: 2019-12-30 | Author: Christian Schoenebeck