Data

Usine provides a comprehensive set of data processing modules for generating, filtering, scaling, mixing, and analyzing control signals. These modules operate on data flows (float values, triggers, arrays) and are the building blocks for modulation, sequencing, and control logic.

Categories

Category Modules Description
Generators 23 LFOs, step sequencers, random generators, chaos attractors, Euclidean rhythms, envelopes, Perlin noise, and more
Filters 7 Smooth, moving average, median, Kalman, hysteresis, attack/release, and spring physics
Scaling & Mapping 6 Linear remapping, curve/lookup-table mappers, auto-scale, wrap, and fold
Mix & Routing 4 Mixer, selector, dispatch, and dispatch with crossfade
Utilities & Analysis 8 Counter, delay, accumulation, probability gate, slope detector, quantizer, DTW distance, and gesture recognition

Generators

Create data signals from scratch: oscillators, sequencers, random sources, and envelope generators.

Oscillators & Envelopes

Module Description
Data Generator LFO Low Frequency Oscillator with 7 waveforms (sine, triangle, rectangle, impulse, sawtooth, random). Audio-rate capable
Data Generator ADSR Classic Attack-Decay-Sustain-Release envelope for data flows
Data Generator Ramp Simple ramp (up, down, up&down) with configurable width in ms
Data Generator Grain Single grain or grain cloud generator with adjustable density and width
Data Generator Perlin Noise 1D Perlin noise with octaves and persistence for smooth, organic randomness
Data Generator Pattern Generate arrays from math formulas: sine, cosine, triangle, sawtooth, square, gaussian, noise, ramps

Step Sequencers

Module Description
Data Generator Sequenced Steps Classic bar-based step sequencer with drawn values
Data Generator Sequenced Lines Step sequencer with freely drawn continuous curves
Data Generator Sequenced Points Curve Step sequencer with point-based X/Y curve editing
Data Generator Sequenced Switches Binary ON/OFF step sequencer with trigger output
Data Generator Sequenced Triggers Button-based trigger sequencer

Random & Stochastic

Module Description
Data Generator Random General-purpose random generator (curves or steps), audio-rate capable, with MIDI output
Data Generator Random Walk Drunk walk: each step moves by a random amount within a configurable range
Data Generator Random Urn Non-repeating random (urn model): each value drawn once before pool refills
Data Generator Random Pattern Array Generate random 0/1 arrays for switch sequencer patterns (script)
Data Generator Burst Emit a rapid burst of N triggers from a single input trigger, with acceleration control

Algorithmic & Chaos

Module Description
Data Generator Euclidean Rhythm Euclidean rhythm generator (Bjorklund algorithm) distributing pulses evenly across steps
Data Generator Turing Machine Shift register sequencer with random bit-flip probability, producing evolving semi-random patterns
Data Generator Chaos Lorenz Lorenz strange attractor generating 3 chaotic outputs (butterfly trajectory)
Data Generator Chaos Rossler Rossler strange attractor generating 3 chaotic outputs (spiral pattern)

Filters

Smooth, stabilize, and clean up noisy or jittery data signals.

Module Description
Data Filter Smooth Exponential smoother with configurable transition time in ms. Can convert data-rate to audio-rate
Data Filter Smooth Attack Release Independent attack/release smoother with separate rise and fall times. Works on arrays
Data Filter Moving Average FIR-type smoother averaging N recent values (rolling average)
Data Filter Median Value Sorts queued values and returns the middle one to reject outliers
Data Filter Kalman Statistical prediction-based Kalman filter for optimal noise filtering
Data Filter Hysteresis Dead-zone threshold filter: only passes changes larger than the hysteresis value
Data Filter Spring Spring physics model: output follows input with inertia, overshoot, and oscillation

Scaling & Mapping

Remap, reshape, and constrain data values to different ranges and curves.

Module Description
Data Scaling Change Scale Linear remapping from [minIn..maxIn] to [minOut..maxOut]
Data Scaling Mapper Curves Non-linear mapping with log, expo, power, linear, wave shaper, or user-drawn curves
Data Scaling Mapper Values Lookup table mapping specific input values to specific output values
Data Scaling Auto Scale Automatically adapts to input range by tracking min/max over a time window
Data Scaling Wrap Wraps values using modulo arithmetic at boundaries (cyclic behavior)
Data Scaling Fold Folds (reflects) values at boundaries creating mirrored zigzag behavior

Mix & Routing

Combine, select, or dispatch data flows between multiple inputs and outputs.

Module Description
Data Mix Mixer N-input, 1-output mixer: weighted sum of all inputs
Data Mix Selector N-input, 1-output selector with smooth crossfade between adjacent inputs
Data Mix Dispatch 1-input, N-output dispatcher: routes input to one output by index (hard switch)
Data Mix Dispatch Crossfade 1-input, N-output dispatcher with smooth crossfade between adjacent outputs

Utilities & Analysis

Counters, delays, probability gates, detectors, quantizers, and machine-learning tools.

Module Description
Data Counter Configurable counter with loop, wrap, bounce, ceiling, and unlimited modes
Data Delay Delay a data or array flow by configurable time
Data Accumulation Running sum, average, and count of incoming values
Data Probability Gate Bernoulli gate: route each trigger to output A or B based on probability
Data Slope Detector Detect rising, falling, steady states and fire triggers on peaks and troughs
Data Value Quantizer Snap continuous values to nearest step or to values in a defined array
ArrayDistance Dynamic Time Warping (DTW) distance between two arrays for similarity measurement (user module)
MotionRecognition Machine-learning gesture recognition for up to 8 user-defined movements from multi-dimensional data (user module)

See also

version 7.0.250121

Edit All Pages