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

RollAmplitude
ExtensionExtension

CutMixer amplitude algorithm

Description

RollAmplitude is intended to be used in the ampfunc parameter of CutMixer. It adds crescendos or diminuendos to rolls. The formula is

Non-rolls are unaffected.

Class Methods

.new

Arguments:

ampdirect

A function, called every block, that determines whether to crescendo or diminuendo. Crescendo if positive, dim if nonpositive.

ampexp

A float value that determines the exponent of the crescendo or diminuendo. 1 is linear, 2 is parabolic, 3 is cubic, etc. The default is 2. This can also be a function, in which case it is called every block.

Examples