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

CutPBS1
ExtensionExtension

CutBuf playback rate algorithm

Description

CutPBS1 is intended to be used in the pbsfunc (playback speed func) parameter of CutBuf2 and CutBuf3. The first repeat of each block has rate 1, and the following repeats follow a geometric sequence.

All arguments can be constant values, but they can also be anything that responds to .value. In the latter case, .value is called every blockt.

Class Methods

.new

Arguments:

pbm

The common ratio of the geometric sequence. This should be between 0 and 1.

directfunc

If this is nonpositive, the pitch will go down. If positive, the pitch will go up. If nil, this defaults to a function that decides between -1 and 1.

Examples