MusicKit  0.0.0
Public Member Functions | Static Public Member Functions
Mul1add2UG Class Reference

Mul1add2UG adds two patchpoints and multiplies the result by a third. More...

#import <Mul1add2UG.h>

Inheritance diagram for Mul1add2UG:
MKUnitGenerator

List of all members.

Public Member Functions

(id) - setInput1:
 Sets the input 1 patchpoint to aPatchPoint.
(id) - setInput2:
 Sets the input 2 patchpoint to aPatchPoint.
(id) - setInput3:
 Sets the input 3 patchpoint to aPatchPoint.
(id) - setOutput:
 Sets the output patchpoint to aPatchPoint.

Static Public Member Functions

(BOOL) + shouldOptimize:
 Specifies that all arguments are to be optimized if possible.

Detailed Description

Mul1add2UG adds two patchpoints and multiplies the result by a third.

Mul1add2UG adds one signal to the product of two others:

output = input1 + (input2 * input3)

Memory Spaces

Mul1add2UGabcd a output b input1 c input2 d input3


Member Function Documentation

- (id) setInput1: (id)  aPatchPoint

Sets the input 1 patchpoint to aPatchPoint.

Parameters:
aPatchPointis an id.
Returns:
Returns an id. Returns nil if the argument isn't a patchpoint; otherwise returns self.
- (id) setInput2: (id)  aPatchPoint

Sets the input 2 patchpoint to aPatchPoint.

Parameters:
aPatchPointis an id.
Returns:
Returns an id. Returns nil if the argument isn't a patchpoint; otherwise returns self.
- (id) setInput3: (id)  aPatchPoint

Sets the input 3 patchpoint to aPatchPoint.

Parameters:
aPatchPointis an id.
Returns:
Returns an id. Returns nil if the argument isn't a patchpoint; otherwise returns self.
- (id) setOutput: (id)  aPatchPoint

Sets the output patchpoint to aPatchPoint.

Parameters:
aPatchPointis an id.
Returns:
Returns an id. Returns nil if the argument isn't a patchpoint; otherwise returns self.
+ (BOOL) shouldOptimize: (unsigned)  arg

Specifies that all arguments are to be optimized if possible.

Parameters:
argis an unsigned.
Returns:
Returns an BOOL.

The documentation for this class was generated from the following file: