MusicKit
0.0.0
|
Add2UG adds two patchpoints. More...
#import <Add2UG.h>
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. |
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.
Add2UGabc
a output b input 1 c input 2
- (id) setInput1: | (id) | aPatchPoint |
Sets the input 1 patchpoint to aPatchPoint.
aPatchPoint | is an id. |
- (id) setInput2: | (id) | aPatchPoint |
Sets the input 2 patchpoint to aPatchPoint.
aPatchPoint | is an id. |
- (id) setOutput: | (id) | aPatchPoint |
Sets the output patchpoint to aPatchPoint.
aPatchPoint | is an id. |