Pgrids:
Filter:
sc-grids/Classes (extension) | Collections | Pattern

Pgrids
ExtensionExtension

Topographic drum pattern sequencer

Description

SuperCollider port of drum sequencer Eurorack module Grids by Mutable Instruments.

Yields the durations between hits. If you want to use it in a Tdef check out the documentation of ScGrids.

For more information check the manual of the module https://mutable-instruments.net/modules/grids/manual/

Class Methods

.new

Calculates the durations between hits according to the parameters of the sequencer. If you also need the levels of the sequences see PgridsValue

Arguments:

instrument

One of 'kick', 'hihat' or 'snare'.

density

Density of drum pattern between [0, 1] where 0 is muted and 1 is the most dense pattern according to the parameters.

x

x position on the drum map - between [0, 1]

y

y position on the drum map - between [0, 1]

bias

adds an offset to the signal and mimics therefore the chaos parameter of the original module.

Examples

Add some basic drum synths to the server and setup a clock.

lets play some drums

lets make them more flexible by chaining some patterns inside

Add some dynamics with PgridsValue which gives us the values of each hit we use Pkey so both patterns have always the same values because otherwise the values would not match anymore

Add chaos to the values by introducing the bias parameter we need to create the random bias outside of the pattern so both patterns Pgrids and PgridsValue work with the same randomness

stop the patterns