CompositeInstr:
Filter:
crucial-library/Classes (extension) | Libraries > crucial > Instr

CompositeInstr
ExtensionExtension

two Instr combined together with function composition

Description

Two Instr chained one into the next.

In mathematics, function composition is the application of one function to the results of another. For instance, the functions f: X → Y and g: Y → Z can be composed by computing the output of g when it has an argument of f(x) instead of x.

In audio this is most often thought of as filtering. An Instr can be filtered through another Instr and this results in a CompositeInstr. This CompositeInstr has inputs and outputs and can be used like any Instr. It is a still a function.

Class Methods

.new

Arguments:

a
b
index

Instance Methods

.b

.index

.storeArgs

.init

.findUniqueNameForArg

Arguments:

argName
argNames

.valueArray

Arguments:

args

.outSpec

.guiClass