#import <UnoiseUG.h>
Public Member Functions | |
(id) | - idleSelf |
You never send this message. | |
(id) | - setSeed: |
Sets the seed that's used to prime the random number generator. | |
(id) | - setOutput: |
Sets the output patchpoint to aPatchPoint. | |
Static Public Member Functions | |
(BOOL) | + shouldOptimize: |
Specifies that all arguments are to be optimized if possible except seed. |
UnoiseUG produces a series of random values within the range
0.0 <= f < 1.0
A new random value is generated every sample. A similar class, SnoiseUG, produce a new random value every tick.
UnoiseUGa a output
- (id) idleSelf |
You never send this message.
It's invoked by sending the idle message to the object. Sets the output patchpoint to sink, thus ensuring that the object does not produce any output. Note that you must send setOutput: and run again to use the MKUnitGenerator after sending idle.
+ (BOOL) shouldOptimize: | (unsigned) | arg |
Specifies that all arguments are to be optimized if possible except seed.
arg | is an unsigned. |
- (id) setSeed: | (DSPDatum) | seedVal |
Sets the seed that's used to prime the random number generator.
seedVal | is an DSPDatum. |
- (id) setOutput: | (id) | aPatchPoint |
Sets the output patchpoint to aPatchPoint.
Returns nil if the argument isn't a patchpoint; otherwise returns self.
aPatchPoint | is an id. |