#import <In1bUG.h>
Public Member Functions | |
(id) | - setScale: |
Sets the factor by which the output signal is scaled. | |
(id) | - runSelf |
If scale has not been set, sets it to 1.0. | |
(id) | - setOutput: |
Sets the output patchpoint to aPatchPoint. | |
Static Public Member Functions | |
(BOOL) | + shouldOptimize: |
Specifies that all arguments are to be optimized if possible. |
In1aUG and In1bUG provide single-channel access to the DSP's stereo input stream, which comes from the DSP serial port; the former reads its input signal from the left channel, and the latter reads from the right.
In order to use an In1aUG or In1bUG, you must first send the message setSerialSoundIn:YES to the MKOrchestra. This must be done before the MKOrchestra is sent the open message.
If you're building a MKSynthPatch subclass, you should note that every MKSynthPatch object should have its own signal-input MKUnitGenerator; in other words, you don't allocate just one such object and then share it amongst the various MKSynthPatches. The input signal is sent to all the In1aUGs and In1bUGs.
In1bUGa a output
+ (BOOL) shouldOptimize: | (unsigned) | arg |
Specifies that all arguments are to be optimized if possible.
arg | is an unsigned. |
Reimplemented from MKUnitGenerator.
- (id) setScale: | (double) | value |
Sets the factor by which the output signal is scaled.
By default, the scaler is set to 1.0. Effective values are between 0.0 and 1.0 (negative values are the same as their absolute values, but with a 180 degree phase shift).
value | is a double. |
- (id) runSelf |
If scale has not been set, sets it to 1.0.
Reimplemented from MKUnitGenerator.
- (id) setOutput: | (id) | aPatchPoint |
Sets the output patchpoint to aPatchPoint.
aPatchPoint | is an id. |