Bitwise LSB

Returns the position of the least-significant set bit — the index (0–31) of the lowest bit that is 1. For example $01 gives 0, $80 gives 7, and $F0 gives 4. This tells you how many trailing zero bits the value has. If the input is 0 (no bits set) the output is $FFFFFFFF (−1).

Bitwise flows are not directly compatible with data flows. You must use integer-to-bitwise to set bitwise inlets and bitwise-to-integer to retrieve outlet values. Bitwise inputs are in hexadecimal format (0123456789ABCDEF). ie. $FA234B, $FFFF, etc. Bitwise flows are compatible with Color flows.

Settings

in

Value to analyse (bitwise / hexadecimal).

pos

Position of the lowest bit set to 1 (0–31), or −1 if the input is 0.

Example

in binary (low byte) pos
$00000001 0000 0001 0
$00000080 1000 0000 7
$000000F0 1111 0000 4 (lowest bit set)
$00000000 (none set) -1
Common Settings

info

show manual

Opens the web browser to display information or help about the selected object, if it exists.

For more details about information/help creation, see create-help-file.

description

Description of the module for internal help purposes only. The description is not displayed in the interface.

ID's

visible only in god mode, see setup-panel-tab-expert.

unique ID

Current private ID for this control used to identify the object.

preset ID

Current private preset ID for this control used for presets.

recreate ID

If you experience difficulties in Polyphonic mode, try to recreate new id(s) with this button.

repair ID s

Each Patch shared on the local network uses its own ID (identification number). If you experience issues of Patches that don't send information to the good target, this button will rebuild all these id's.

Object Remote Address

absolute

Absolute remote address. see objects-address.

local

Local to the current patch remote address. see objects-address.

user addr

User defined remote address. see objects-address.

See also

version 7.0.250121

Edit All Pages