Data Generator Euclidean Rhythm

Generates Euclidean rhythms using Bjorklund's algorithm. Given a number of steps and a number of pulses, the algorithm spaces the pulses as evenly as possible across the steps. This simple rule produces many traditional rhythmic patterns found in world music (e.g., 3 pulses in 8 steps gives a Cuban tresillo, 5 in 8 gives a West African bell pattern).

Connect a clock or sequencer to next step and use trigger out to drive drum hits, notes, or any event.

Settings

trigger out

Sends a 1 value each time a new Data or MIDI message is generated or received.

trigger

Sends a 1 value each time a new Data or MIDI message is generated or received.

pattern

Output array representing the current Euclidean pattern (1 = pulse, 0 = rest).

step pos

Current step position in the pattern.

steps

Total number of steps in the pattern (1 to 256).

pulses

Number of active pulses distributed across the steps (0 to 256). The pulses are spread as evenly as possible using Bjorklund's algorithm.

rotation

Rotates the pattern by the specified number of steps. Positive values rotate right, negative values rotate left. Rotation shifts the downbeat, creating variations from the same pulse/step ratio.

next step

Advances the pattern to the next step. If the current step is a pulse, trigger out fires.

reset

Resets the step position to the beginning of the pattern.

Common Settings

info

show manual

Button. Opens the manual page of the selected object (or of its parent module for a control) in the web browser. If no page exists for this object, an error is traced in the trace panel.

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

description

Free multi-line text attached to the module, saved with the patch. It is only meant as an internal note for the patch designer: it is not displayed in the interface.

ID's

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

unique ID

Read-only, not saved. Current private numeric ID of the object, used internally to identify it (for example as the target of a bind ID).

preset ID

Read-only, not saved. Private ID used to store and recall the values of this control in presets.

recreate ID

Button. Generates a new unique ID, original ID and preset ID for the object. Use it if you experience difficulties in Polyphonic mode or if two objects share the same ID. Preset values and binds referring to the old IDs are lost.

Object Remote Address

absolute

Read-only, not saved. Absolute address of the object in the Usine objects tree, built from the workspace root. This is the address to use to reach the object from scripts, the objects panel or remote messages. Only shown for objects that are registered in the objects list. See objects-address.

local

Read-only, not saved. Address of the object relative to the current patch, valid inside that patch only. See objects-address.

user addr

Free user-defined address for the object (empty by default). When set, the object is also registered in the objects tree under this name, so it can be reached independently of its position in the workspace (the value is also reported in the mouse-over and mouse-down chunks). Changing it rebuilds the objects list. Only available on objects that support a user address. See objects-address.

See also

version 7.0.250121

Edit All Pages