UnoiseUG Class Reference

UnoiseUG produces white noise at the sampling rate. More...

#import <UnoiseUG.h>

List of all members.

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.


Detailed Description

UnoiseUG produces white noise at the sampling rate.

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.

Memory Spaces

UnoiseUGa a output


Member Function Documentation

- (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.

Returns:
Returns an id.

+ (BOOL) shouldOptimize: (unsigned)  arg  

Specifies that all arguments are to be optimized if possible except seed.

Parameters:
arg is an unsigned.
Returns:
Returns an BOOL.

- (id) setSeed: (DSPDatum)  seedVal  

Sets the seed that's used to prime the random number generator.

Parameters:
seedVal is an DSPDatum.
Returns:
Returns self. To create a unique series of random numbers, you should set the seed itself to a randomly generated number. This is the current value and thus is changed by the unit generator itself.

- (id) setOutput: (id)  aPatchPoint  

Sets the output patchpoint to aPatchPoint.

Returns nil if the argument isn't a patchpoint; otherwise returns self.

Parameters:
aPatchPoint is an id.
Returns:
Returns an id.


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

Generated on Sat Dec 5 17:01:17 2009 for MusicKit by  doxygen 1.5.6