MiGrids:
Filter:
mi-UGens/Classes (extension) | UGens > Drums

MiGrids
ExtensionExtension

topographic drum sequencer

Description

MiGrids is a 3-channel, algorithmic, rhythmic pattern generator based on data and models extracted from actual drum loops. It is a clone of the 'Grids' eurorack module by https://mutable-instruments.net/modules/grids. Original code by Émilie Gillet, https://github.com/pichenettes/eurorack/tree/master.

NOTE: Please refer to the original Grids manual for indepth information: https://mutable-instruments.net/modules/grids/manual/.

Class Methods

.ar

Arguments:

on_off

Start/stop the sequencer (0/1).

bpm

bpm of internal clock (bpm values between 20 and 511).

map_x

x coordinate of drum map, or number of steps (in euclidean mode), (0..1).

map_y

y coordinate of drum map, or number of steps (in euclidean mode), (0..1).

chaos

choas amount, or 'swing' amount, if swing is enabled (only works in 'drum mode' and with internal clock), or number of steps (in euclidean mode), (0..1).

bd_dens

density of channel 1 triggers, or fill rate (in euclidean mode), (0..1)

sd_dens

density of channel 2 triggers, or fill rate (in euclidean mode), (0..1)

hh_dens

density of channel 3 triggers, or fill rate (in euclidean mode), (0..1)

clock_trig

Trigger or Gate input from external clock source. The number of pulses per quarter note can be adjusted with the 'reso' argument, while 24 ppqn is expected by default.

reset_trig

Trigger or Gate input resets the sequencer.

ext_clock

Choose sequencer clock source: internal (0) or external (1).

mode

mode of operation. 0: drum mode (default), 1: euclidean mode. When euclidean sequencer mode is enabled, the map_x, map_y and chaos params control the length (number of steps) of the sequence; while the density params control the fill rate.

swing

swing mode on/off (0/1). If swing is active, the 'chaos' param sets the swing amount. (swing only works in 'drum mode' and with internal clock).

config

config 0/1, configuration of the 'accent' outputs (4 to 6). 0: normal, outputs 4 to 6 carry accents of the respective channels (1 to 3). 1: clock_info, output 4: global accent, output 5: clock out, 6: reset/bar

reso

set clock resolution (only settable at instantiation time!). 0: 4 ppqn, 1: 8 ppqn, 2: 24 ppqn (default).

Returns:

3 channels of trigger pulses + 3 channels of accents (or clock info)

Examples