MusicKit  0.0.0
Public Member Functions
Add2UG Class Reference

Add2UG adds two patchpoints. More...

#import <Add2UG.h>

Inheritance diagram for Add2UG:
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) - setOutput:
 Sets the output patchpoint to aPatchPoint.

Detailed Description

Add2UG adds two patchpoints.

Add2UG produces the sum of two input signals:

output = input1 + input2

You allocate one of the subclasses Add2UGabc, where a is the output space, b is the space of the first input and c is the space of the second input. This unit generator is faster if b is x and c is y.

Memory Spaces

Add2UGabc

a output b input 1 c input 2


Member Function Documentation

- (id) setInput1: (id)  aPatchPoint

Sets the input 1 patchpoint to aPatchPoint.

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

Sets the input 2 patchpoint to aPatchPoint.

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

Sets the output patchpoint to aPatchPoint.

Parameters:
aPatchPointis an id.
Returns:
Returns an id. Returns self or nil if the argument isn't a patchpoint.

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