Bitwise Field

Extracts a contiguous group of bits (a bit field) from the input value. Starting at bit offset, it takes width bits, shifts them down to position 0 and outputs them as a right-aligned value. For example, extracting offset 8, width 8 from $AABBCCDD returns $000000CC. Perfect for decoding packed data such as protocol headers, colour channels or flag groups.

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 extract from (bitwise / hexadecimal).

offset

Position of the lowest bit of the field (integer, 0–31).

width

Number of bits to extract (integer, 1–32). Defaults to 8.

out

The extracted field, right-aligned (shifted down to bit 0).

Example

Decoding bytes packed into $AABBCCDD (each byte is 8 bits wide):

in offset width out
$AABBCCDD 0 8 $000000DD (byte 0)
$AABBCCDD 8 8 $000000CC (byte 1)
$AABBCCDD 24 8 $000000AA (byte 3)
$AABBCCDD 0 4 $0000000D (low nibble)
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