Bitwise Pop Count

Counts the number of bits set to 1 in the input value (the population count or Hamming weight). For example $F0 (11110000 in binary) gives 4, and $FFFFFFFF gives 32. Useful for parity checks, measuring how many flags are active, or computing distances between bit patterns.

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).

count

Number of bits set to 1 (0–32).

Example

in binary (low byte) count
$000000F0 1111 0000 4
$000000FF 1111 1111 8
$FFFFFFFF (all set) 32
$00000000 (none set) 0
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