Data Filter Median Value

Calculates the median value of a data flow. Queues incoming values into an array, sorts them, and returns the middle value. Unlike an average, the median is not affected by extreme outliers, making it effective for rejecting sudden spikes or glitches in sensor data.

Settings

in

Input Data flow(s).

The values must be in the range [0..1].

array len max

Length of the queue array. Larger values consider more history, producing a more stable but slower-reacting output.

clear

Fills the output array with 0, according to the array len max.

reset

Clears the array and sets its length to 0.

force enqueue

Forces the data in value to be enqueued even if it has not changed.

auto enqueue

When On, values are automatically added to the queue even is they have not changed.

median value

Median output value.

sorted array

Output sorted array (contains the queued values in ascending order).

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