CutPan1:
Filter:
BBCut/Classes (extension) | Libraries > BBCut > Cut FX

CutPan1
ExtensionExtension

CutMixer panning algorithm

Description

CutPan1 is intended to be used in the panfunc parameter of CutMixer. It pans repeats in each block in an arithmetic sequence starting from 0. The pan is automatically clipped if it goes outside of the range [-1, 1].

Class Methods

.new

Arguments:

directfunc

A function, called every block, that determines the direction to change the pan. If nil, defaults to a function that randomly returns -1 or 1.

outrate

The common difference of the arithmetic sequence. Defaults to 0.2. This can also be a function, in which case it is called every repeat.

Examples