Bend:
Filter:
Bending/classes (extension) | UGen

Bend
ExtensionExtension

UGen wrapper for code bending

Description

Code bending is, analogous to circuit bending, a way to reuse the internal wiring of a signal flow. This class opens up enclosed UGen inputs for such external modification and allows for interaction with them without explicit change in the code. Different class methods are provided for different ways to do this.

Class Methods

.new

Bend enclosing UGens.

Arguments:

bendFunc

a function that returns a UGen graph

ugenFunc

a function that returns a UGen graph

.time

Bend all time related values.

Arguments:

ugenFunc

a function that returns a UGen graph, like in *new

freqArgNames

Frequency related arg names (apply a bend).

Default: \freq, \rate

durArgNames

Duration related arg names (apply a reverse bend).

Default: \dur, \duration, \delaytime, \decaytime

.controls

Insert control multipliers (see: Control) to all UGen inputs.

Arguments:

ugenFunc

a function that returns a UGen graph, like in *new

applySpecs

if set to true, try to find control specs for the bend points

Examples