#import <Scl1add2UG.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. | |
(id) | - setScale: |
Sets the constant scaler. | |
(id) | - idleSelf |
You never send this message. | |
Static Public Member Functions | |
(BOOL) | + shouldOptimize: |
Specifies that all arguments are to be optimized if possible. |
Scl1add2UG adds two input signals, the first of which is scaled:
output = (input1 * scaler) + input2
Scl1add2UGabc a output b input 1 (scaled input) c input 2 (unscaled input)
- (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. |
- (id) setScale: | (double) | value |
Sets the constant scaler.
Effective values are between 0.0 and 1.0 (a negative scaler is the same as its absolute value, but with a 180 degree phase shift).
value | is a double. |
+ (BOOL) shouldOptimize: | (unsigned) | arg |
Specifies that all arguments are to be optimized if possible.
arg | is an unsigned. |
- (id) idleSelf |
You never send this message.