CutTrig1:
Filter:
BBCut/Classes (extension) | Libraries > BBCut > Cut synths

CutTrig1
ExtensionExtension

Playing samples in BBCut2

Description

This cut synth will trigger a particular sample at each block. There is a user defined probability of whether to play the sample on every cut as a roll, or just once at the beginning of the block. The complete sample is played back, though tempered by the dutycycle parameter and repitched by the pbsfunc.

All the samples must be either mono, or all must be stereo. For stereo you must explicitly set the CutGroup to have 2 channels.

Class Methods

.new

Arguments:

bufarray

Array of BBCutBuffer instances.

buffunc

Something responding to .value (usually a Function) which determines which buffer in the array above is selected.

rollprob

Probability of playing every cut compared to playing just the first of a block. You can pass in a float, in which case the probability is the same for every sample in the bufarray, else pass in an array of the same size as the bufarray.

pbsfunc

Playback speed (rate) control for triggered samples.

dutycycle

Ratio of duration to inter-onset-interval (IOI). 0.5 would mean that the duration of grains is only half the length between cut start times.

Examples