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

CompositeInstr : PappliedInstr : Instr : Object
ExtensionExtension

two Instr combined together with function composition
Source: Instr.sc

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

CompositeInstr.new(a, b, index: 0)

Arguments:

a
b
index

Inherited class methods

Instance Methods

.b

.b = value

.index

.index = value

.storeArgs

.init

.findUniqueNameForArg(argName, argNames)

Arguments:

argName
argNames

.valueArray(args)

Arguments:

args

.outSpec

.outSpec = value

.guiClass

Inherited instance methods